]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit899ca69dacd327616b29ef3449edc3474c8caf73
tree5fe4b7932d8d8266858da615ecede00b2ab6d132
parentd0be24786f56d6539d981401acf0b3fceb30f6ee
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