qeth: optimize IP handling in rx_mode callback
In layer3 mode of the qeth driver, multicast IP addresses from struct net_device and other type of IP addresses from other sources require mapping to the OSA-card. This patch simplifies the IP address mapping logic, and changes imple- mentation of ndo_set_rx_mode callback and ip notifier events. Addresses are stored in private hashtables instead of lists now. It allows hardware registration/removal for new/deleted multicast addresses only. Signed-off-by:Lakhvich Dmitriy <ldmitriy@ru.ibm.com> Signed-off-by:
Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by:
Evgeny Cherkashin <Eugene.Crosser@ru.ibm.com> Reviewed-by:
Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/s390/net/qeth_core.h 6 additions, 14 deletionsdrivers/s390/net/qeth_core.h
- drivers/s390/net/qeth_core_main.c 0 additions, 10 deletionsdrivers/s390/net/qeth_core_main.c
- drivers/s390/net/qeth_l2.h 7 additions, 0 deletionsdrivers/s390/net/qeth_l2.h
- drivers/s390/net/qeth_l2_main.c 6 additions, 6 deletionsdrivers/s390/net/qeth_l2_main.c
- drivers/s390/net/qeth_l3.h 27 additions, 4 deletionsdrivers/s390/net/qeth_l3.h
- drivers/s390/net/qeth_l3_main.c 398 additions, 384 deletionsdrivers/s390/net/qeth_l3_main.c
- drivers/s390/net/qeth_l3_sys.c 38 additions, 40 deletionsdrivers/s390/net/qeth_l3_sys.c
Loading
Please register or sign in to comment