diff options
author | Ariel Elior <ariele@broadcom.com> | 2012-01-26 06:01:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 13:39:51 -0500 |
commit | 8d7b02783bc2b05974f6e47c2be8157f3a9cd89e (patch) | |
tree | 09df8af0cc714abb5e3e8df907e1b2eec1ecf84c /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | |
parent | d6cb17d5f8015717f6963d24d52b06292a4cb40a (diff) | |
download | op-kernel-dev-8d7b02783bc2b05974f6e47c2be8157f3a9cd89e.zip op-kernel-dev-8d7b02783bc2b05974f6e47c2be8157f3a9cd89e.tar.gz |
bnx2x: Support Queue Per Cos in 5771xx devices
Enable the use of up to three hardware queues for transmission. The queues
are always dequed round robin (i.e. strict priority, PFC and ETS are not
supported). This does allow the allocation of a seperate HW queue for low
volume, high priority traffic which will be serviced more promptly.
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h index 66da39f..f33bc57 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h @@ -803,10 +803,10 @@ enum bnx2x_q_type { }; #define BNX2X_PRIMARY_CID_INDEX 0 -#define BNX2X_MULTI_TX_COS_E1X 1 +#define BNX2X_MULTI_TX_COS_E1X 3 /* QM only */ #define BNX2X_MULTI_TX_COS_E2_E3A0 2 #define BNX2X_MULTI_TX_COS_E3B0 3 -#define BNX2X_MULTI_TX_COS BNX2X_MULTI_TX_COS_E3B0 +#define BNX2X_MULTI_TX_COS 3 /* Maximum possible */ struct bnx2x_queue_init_params { |