Files
linux/drivers/s390/net
Lakhvich Dmitriy fe5c802882 s390/qeth: optimize MAC handling in rx_mode callback
In layer2 mode of the qeth driver, MAC address lists
from struct net_device require mapping to the OSA-card.
The existing implementation is inefficient for lists with
more than several MAC addresses, since for every
ndo_set_rx_mode callback it removes all MAC addresses first,
and then registers the current MAC address list.
This patch changes implementation of ndo_set_rx_mode callback
in qeth, only performing hardware registration/removal for
new/deleted addresses. To shorten lookup of MAC addresses
registered addresses are kept in a hashtable instead of a
linear list.

Signed-off-by: Lakhvich Dmitriy <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Reviewed-by: Eugene Crosser <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-10-07 04:52:04 -07:00
..
2015-03-25 11:49:33 +01:00
…
…
2015-02-28 23:38:29 -05:00
2015-05-18 12:14:18 -04:00
2015-02-28 23:38:29 -05:00