bnx2x: handle iSCSI SD mode
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 28 Nov 2011 12:31:49 +0000 (12:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2011 00:02:57 +0000 (19:02 -0500)
commit614c76df1d1224dc2eee8678fab6e0b95b49b7da
treefc69e019e8d5c833ddfe1188ea94fc774707411d
parent7e02e5433e004713a89f5f865a243133b55dcc88
bnx2x: handle iSCSI SD mode

in iSCSI SD mode to bnx2x device assigned single mac address
which is supposted to be iscsi mac. If this mode is recognized
bnx2x will disable LRO, decrease number of queues to 1 and rx ring
size to the minumum allowed by FW, this in order minimize memory use.
It will tranfer mac for iscsi usage and zero primary mac of the netdev.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c