]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5db9bdbd7617f08533dcaed655b6f2fe26345655
tree9fdf5c6c3feaf0197e684eab9eb84b4333284962
parent27e18557002f95fe4dd1c0665c3c1d3d4e4c5d75
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