diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2009-10-19 19:46:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-20 21:55:45 -0400 |
commit | e022f0b4a03f4fff9323b509df023b8af635716e (patch) | |
tree | f287633fd72c4f70882b768836101acff7d1bc62 /net/decnet | |
parent | 748879776e3b738d53e64df6dbec7394b829462a (diff) |
net: Introduce sk_tx_queue_mapping
Introduce sk_tx_queue_mapping; and functions that set, test and
get this value. Reset sk_tx_queue_mapping to -1 whenever the dst
cache is set/reset, and in socket alloc. Setting txq to -1 and
using valid txq=<0 to n-1> allows the tx path to use the value
of sk_tx_queue_mapping directly instead of subtracting 1 on every
tx.
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions