Re: [PATCH net-next,v5 2/4] net: flow_offload: bitwise AND on mangle action value field

2019-10-14 Thread Jiri Pirko
Tue, Oct 15, 2019 at 12:10:49AM CEST, pa...@netfilter.org wrote: >Drivers perform a bitwise AND on the value and the mask. Update >tc_setup_flow_action() to perform this operation so drivers do not need >to do this. > >Remove sanity check for sane value and mask values from the nfp driver, >the fro

[PATCH net-next,v5 2/4] net: flow_offload: bitwise AND on mangle action value field

2019-10-14 Thread Pablo Neira Ayuso
Drivers perform a bitwise AND on the value and the mask. Update tc_setup_flow_action() to perform this operation so drivers do not need to do this. Remove sanity check for sane value and mask values from the nfp driver, the front-end already guarantees this after this patch. Signed-off-by: Pablo