]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bna: Fix Ucast Failure Handling
authorRasesh Mody <rmody@brocade.com>
Mon, 20 May 2013 10:08:02 +0000 (10:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 21:07:59 +0000 (14:07 -0700)
commitf489a4ba769ca1d7dd4657a4f68ea93746dd669b
treed6a295e2cafd3578b0fcd0ced9217fd6ec2c38ff
parent4b2305826ccd57a8b22d3daff543837ba27cfd43
bna: Fix Ucast Failure Handling

Failure of the UCAST set for base mac address fails when user configures a
duplicate mac address that matches that of another vNIC on the same port.
The bna does not handle the ucast failure and keeps this address in cache.
On disable of the vNIC, bna tries to delete the failed base mac address and the
fw asserts.

On failure of ucast address, mark ucast address set to false.

Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bna.h
drivers/net/ethernet/brocade/bna/bna_enet.c
drivers/net/ethernet/brocade/bna/bna_tx_rx.c