bnx2x: Move the CNIC L2 CIDs to be right after the RSS CIDs
Currently the CNIC-related L2 CIDs (for sending control FCoE / iSCSI packets) were at fixed position, according to the maximal number of RSS queues multiplied by the number of traffic-classes. This change makes the CIDs dynamic, as they are defined to be right after the highest RSS CID. This decreases the memory allocated for the context. Signed-off-by:Merav Sicron <meravs@broadcom.com> Signed-off-by:
Eilon Greenstein <eilong@broadcom.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 9 additions, 10 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x.h
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 1 addition, 0 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 9 additions, 6 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 33 additions, 14 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Please register or sign in to comment