bnx2x: Allow more than 64 L2 CIDs
authorMerav Sicron <meravs@broadcom.com>
Tue, 19 Jun 2012 07:48:25 +0000 (07:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 21:34:34 +0000 (14:34 -0700)
commita052997ea32164b2466daff8db5f783131184dae
treee6bc18edeb5d7e74d2552f738dbdadbbc57158a8
parent5d317c6a9597267643b6ce6593c4d1785eb1b8df
bnx2x: Allow more than 64 L2 CIDs

With increased number of RSS queues, each multiplied by the number of traffic-
classes, we may have up to 64*3=192 CIDs. The current driver scheme with regard
to context allocation supports only 64 CIDs. The new scheme enables scatter-
gatehr list of pages 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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c