]> git.baikalelectronics.ru Git - kernel.git/commit
net: convert bonding to use rx_handler
authorJiri Pirko <jpirko@redhat.com>
Wed, 23 Feb 2011 09:05:42 +0000 (09:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 07:29:01 +0000 (23:29 -0800)
commitd5789c20824c18d1f9d41c88b51e35c18531fc30
tree281cf5e006d738d5121153c564d9b1f48171a366
parent7a59fe855e713c007949adacce3e9ac617646cd9
net: convert bonding to use rx_handler

This patch converts bonding to use rx_handler. Results in cleaner
__netif_receive_skb() with much less exceptions needed. Also
bond-specific work is moved into bond code.

Did performance test using pktgen and counting incoming packets by
iptables. No regression noted.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Reviewed-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c