netdev: simple_tx_hash shouldn't hash inside fragments
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sun, 21 Sep 2008 05:05:50 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Sep 2008 05:05:50 +0000 (22:05 -0700)
commitad55dcaff0e34269f86975ce2ea0da22e9eb74a1
tree9fdf5c6c3feaf0197e684eab9eb84b4333284962
parente7272403d2f9be3dbb7cc185fcc390e781b1af6b
netdev: simple_tx_hash shouldn't hash inside fragments

Currently simple_tx_hash is hashing inside of udp fragments.  As a result
packets are getting getting sent to all queues when they shouldn't be.
This causes a serious performance regression which can be seen by sending
UDP frames larger than mtu on multiqueue devices.  This change will make
it so that fragments are hashed only as IP datagrams w/o any protocol
information.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c