be2net: add vlan/rx-mode/flow-control config to be_setup()
authorSathya Perla <sathya.perla@emulex.com>
Mon, 24 Oct 2011 02:45:00 +0000 (02:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c