[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f358025b-2618-3f22-b593-2e4e70fb7a79@mojatatu.com>
Date: Sun, 23 Apr 2017 13:44:51 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Amir Vadai <amir@...ai.me>,
Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, Or Gerlitz <ogerlitz@...lanox.com>
Subject: Re: [PATCH iproute2 net 3/8] tc/pedit: Introduce 'add' operation
Thanks for the excellent work.
On 17-04-23 08:53 AM, Amir Vadai wrote:
> This command could be useful to increase/decrease fields value.
>
Does this contradict the "retain" feature? Example rule to
retain the second nibble but set the first to 0xA
(essentially it X-ORs):
tc filter add dev lo parent ffff: protocol ip prio 10 \
u32 match ip dst 127.0.0.1/32 flowid 1:1 \
action pedit munge offset 0 u8 set 0x0A retain 0xF0
Mostly curious about hardware handling.
cheers,
jamal
Powered by blists - more mailing lists