summaryrefslogtreecommitdiff
path: root/net/ethtool
diff options
context:
space:
mode:
authorAmritha Nambiar <amritha.nambiar@intel.com>2020-02-24 21:56:00 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-26 22:14:10 +0300
commit6e11d1578fba8d09d03a286740ffcf336d53928c (patch)
tree28dd117c6d920b22221c937220d1b10ce734d2b4 /net/ethtool
parenta8e41f6033a0c5633d55d6e35993c9e2005d872f (diff)
downloadlinux-6e11d1578fba8d09d03a286740ffcf336d53928c.tar.xz
net: Fix Tx hash bound checking
Fixes the lower and upper bounds when there are multiple TCs and traffic is on the the same TC on the same device. The lower bound is represented by 'qoffset' and the upper limit for hash value is 'qcount + qoffset'. This gives a clean Rx to Tx queue mapping when there are multiple TCs, as the queue indices for upper TCs will be offset by 'qoffset'. v2: Fixed commit description based on comments. Fixes: 1b837d489e06 ("net: Revoke export for __skb_tx_hash, update it to just be static skb_tx_hash") Fixes: eadec877ce9c ("net: Add support for subordinate traffic classes to netdev_pick_tx") Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com> Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions