Re: [net-next PATCH 4/5] Support to encoding decoding skb hashid on IFE action

2016-02-22 Thread Daniel Borkmann
On 02/22/2016 02:21 PM, Jamal Hadi Salim wrote: [...] diff --git a/net/sched/act_meta_skbhash.c b/net/sched/act_meta_skbhash.c new file mode 100644 index 000..c3140ea --- /dev/null +++ b/net/sched/act_meta_skbhash.c @@ -0,0 +1,87 @@ +/* + * net/sched/act_meta_skbhash.c IFE skb->hash metadata

[net-next PATCH 4/5] Support to encoding decoding skb hashid on IFE action

2016-02-22 Thread Jamal Hadi Salim
From: Jamal Hadi Salim Example usage: allow skb hash to be encoded as metadata sudo tc qdisc add dev $ETH root handle 1: prio sudo tc filter add dev $ETH parent 1: protocol ip prio 10 \ u32 match ip protocol 1 0xff flowid 1:2 \ action ife encode \