diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-08-21 06:23:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-21 23:40:14 -0700 |
commit | 739a91ef0625e0e4a40b835f4f891313c47915df (patch) | |
tree | bfcb025c8b446a81e82f0b57ad76168996ce49bc /include/linux/pkt_cls.h | |
parent | 81ce790bd75d49a0d119f5d7b27405e1d9b1bd57 (diff) |
net_sched: cls_flow: add key rxhash
We can use rxhash to classify the traffic into flows. As rxhash maybe
supplied by NIC or RPS, it is cheaper.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_cls.h')
-rw-r--r-- | include/linux/pkt_cls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h index 7f6ba8658abe..defbde203d07 100644 --- a/include/linux/pkt_cls.h +++ b/include/linux/pkt_cls.h @@ -332,6 +332,7 @@ enum { FLOW_KEY_SKUID, FLOW_KEY_SKGID, FLOW_KEY_VLAN_TAG, + FLOW_KEY_RXHASH, __FLOW_KEY_MAX, }; |