Re: [PATCH net-next 3/4] net: flow_offload: mangle action at byte level

2019-08-30 Thread Vlad Buslov
On Fri 30 Aug 2019 at 03:53, Pablo Neira Ayuso wrote: > The flow mangle action is originally modeled after the tc pedit action, > this has a number of shortcomings: > > 1) The tc pedit offset must be set on the 32-bits boundaries. Many >protocol header field offsets are not aligned to 32-bit

[PATCH net-next 3/4] net: flow_offload: mangle action at byte level

2019-08-29 Thread Pablo Neira Ayuso
The flow mangle action is originally modeled after the tc pedit action, this has a number of shortcomings: 1) The tc pedit offset must be set on the 32-bits boundaries. Many protocol header field offsets are not aligned to 32-bits, eg. port destination, port source and ethernet destination.