]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:10 +0000 (15:36 -0800)
commit414d59cc93fe8dee14d20d5a8cc79c6d5d70e2ad
tree5870944098cd77fa59c9e288c124f8406e52ceb2
parentc3709c947dafed47f1cf2f57de60dc611b3025a1
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/benet/be_main.c