summaryrefslogtreecommitdiffstats
path: root/scripts/tags.sh
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-03 14:43:10 -0700
committerDavid S. Miller <davem@davemloft.net>2009-05-03 14:43:10 -0700
commit513de11bba246b7a67df4c314d9fc936b6a75d0e (patch)
tree773f446b9a609e771ff75ebd9bfacd4d3d52f99f /scripts/tags.sh
parentaccc5b4f902b0ba83b2c6c48f2d9e7c204cef4a8 (diff)
downloadop-kernel-dev-513de11bba246b7a67df4c314d9fc936b6a75d0e.zip
op-kernel-dev-513de11bba246b7a67df4c314d9fc936b6a75d0e.tar.gz
net: Avoid modulus in skb_tx_hash() for forwarding case.
Based almost entirely upon a patch by Eric Dumazet. The common case is to have num-tx-queues <= num_rx_queues and even if num_tx_queues is larger it will not be significantly larger. Therefore, a subtraction loop is always going to be faster than modulus. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/tags.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud