summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorLakhvich Dmitriy <ldmitriy@ru.ibm.com>2015-10-06 15:12:28 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-07 04:52:04 -0700
commitfe5c802882f2eaaf5475b072f16066038754782a (patch)
tree2f16f8c86917ab8d242100ac09720de75da6a4bc /CREDITS
parent9abfa8cb201b2167872654b92f567f8bff6016f4 (diff)
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 <ldmitriy@ru.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Reviewed-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com> Reviewed-by: Thomas Richter <tmricht@de.ibm.com> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions