Re: [PATCH nf] testing: selftests: nft_flowtable.sh: check ingress/egress chain too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 09, 2023 at 04:47:24PM +0200, Florian Westphal wrote:
> Make sure flowtable interacts correctly with ingress and egress
> chains, i.e. those get handled before and after flow table respectively.
> 
> Adds three more tests:
> 1. repeat flowtable test, but with 'ip dscp set cs3' done in
>    inet forward chain.
> 
> Expect that some packets have been mangled (before flowtable offload
> became effective) while some pass without mangling (after offload
> succeeds).
> 
> 2. repeat flowtable test, but with 'ip dscp set cs3' done in
>    veth0:ingress.
> 
> Expect that all packets pass with cs3 dscp field.
> 
> 3. same as 2, but use veth1:egress.  Expect the same outcome.
> 
> Signed-off-by: Florian Westphal <fw@xxxxxxxxx>
> ---
>  This is on top of Boris changes to nft_flowtable.sh script.

This applies cleanly to nf.git, are you fine if I place this on that tree?

Thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux