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 <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>
2015-10-07 04:52:04 -07:00
..
Kconfig
Makefile
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
lcs.c s390/lcs: Fix null-pointer access in msg 2015-05-18 12:14:18 -04:00
lcs.h
netiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
qeth_core.h s390/qeth: optimize MAC handling in rx_mode callback 2015-10-07 04:52:04 -07:00
qeth_core_main.c qeth: add layer 2 RX/TX checksum offloading 2015-09-21 16:03:04 -07:00
qeth_core_mpc.c qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_mpc.h qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_sys.c qeth: move OSA portname into deprecated status 2015-09-21 16:03:04 -07:00
qeth_l2.h
qeth_l2_main.c s390/qeth: optimize MAC handling in rx_mode callback 2015-10-07 04:52:04 -07:00
qeth_l2_sys.c qeth: no write permission for readonly sysattr 2015-09-21 16:03:04 -07:00
qeth_l3.h
qeth_l3_main.c qeth: add layer 2 RX/TX checksum offloading 2015-09-21 16:03:04 -07:00
qeth_l3_sys.c
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h
smsgiucv_app.c