be2net: add vlan/rx-mode/flow-control config to be_setup()
authorSathya Perla <[email protected]>
Mon, 24 Oct 2011 02:45:00 +0000 (02:45 +0000)
committerDavid S. Miller <[email protected]>
Mon, 24 Oct 2011 22:40:14 +0000 (18:40 -0400)
commita54769f51b9495f8313224fea670ab6fe720f4b1
tree5fe4b7932d8d8266858da615ecede00b2ab6d132
parent859c20123a6f4bac3fad6506f224908834fe3f68
be2net: add vlan/rx-mode/flow-control config to be_setup()

When a card is reset due to EEH error recovery or due to a suspend,
rx-mode config (promisc/mc) is not being sent to the FW. be_setup() is
called in these flows and is the best place for such config/re-config
cmds. Hence include rx-mode, vlan and flow-control config in
be_setup().

Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/emulex/benet/be_main.c