WSL2-Linux-Kernel/drivers/net/netxen
Narender Kumar 5d09e534bb netxen : fix BOND_MODE_TLB/ALB mode.
o Along with netdev->perm_addr, mac address will be
  maintained in device private structure.

o Device limitation: We need to set mac address when ever
  interface comes up.

In ALB/TAL mode, bonding driver calls set_mac for all slave with bond mac address.
But bonding driver set netdev->dev_addr field to its original value,
after enslaving interfaces.

When ever active slave changes, it swap dev_addr of inactive slave with active.
Yet it doesn't notify driver about change in netdev->dev_addr.

As netxen driver need to set mac addr when ever interface comes up,
it can't rely on netdev->dev_addr field. Specially in case of bonding mode ALB/TLB.

Signed-off-by: Narender Kumar <narender.kumar@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-21 11:37:37 -08:00
..
Makefile netxen: update copyright 2009-09-11 16:58:51 -07:00
netxen_nic.h netxen : fix BOND_MODE_TLB/ALB mode. 2009-11-21 11:37:37 -08:00
netxen_nic_ctx.c netxen: update copyright 2009-09-11 16:58:51 -07:00
netxen_nic_ethtool.c netxen: update copyright 2009-09-11 16:58:51 -07:00
netxen_nic_hdr.h netxen: fix promisc for NX2031. 2009-11-21 11:37:35 -08:00
netxen_nic_hw.c netxen : fix BOND_MODE_TLB/ALB mode. 2009-11-21 11:37:37 -08:00
netxen_nic_hw.h netxen: update copyright 2009-09-11 16:58:51 -07:00
netxen_nic_init.c netxen: fix memory initialization 2009-11-21 11:37:32 -08:00
netxen_nic_main.c netxen : fix BOND_MODE_TLB/ALB mode. 2009-11-21 11:37:37 -08:00