Re: [net-next-2.6 PATCH v4 2/3] Support to encoding decoding skb mark on IFE action

2016-02-27 Thread Cong Wang
On Sat, Feb 27, 2016 at 5:08 AM, Jamal Hadi Salim wrote: > From: Jamal Hadi Salim > > Example usage: > Set the skb using skbedit then allow it to be encoded > > 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 0

[net-next-2.6 PATCH v4 2/3] Support to encoding decoding skb mark on IFE action

2016-02-27 Thread Jamal Hadi Salim
From: Jamal Hadi Salim Example usage: Set the skb using skbedit then allow it to be encoded 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 skbedit mark 17 \ action ife encode \ allow mark