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)
commit5b2c4dd2ec12cf0e53b2bd2926f0fe2d1fbb4eda
tree281cf5e006d738d5121153c564d9b1f48171a366
parente3dfa389fd2c79526b4bbf295726b66d21001664
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