Re: [PATCH v1 net-next 2/5] net: mscc: ocelot: set vcap IS2 chain to goto PSFP chain

2020-10-21 Thread joergen.andrea...@microchip.com
The 10/20/2020 23:27, Vladimir Oltean wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Tue, Oct 20, 2020 at 03:23:18PM +0800, Xiaoliang Yang wrote: > > VSC9959 supports Per-Stream Filtering and Policing(PSFP), which is > > processing aft

Re: [PATCH v1 net-next 2/5] net: mscc: ocelot: set vcap IS2 chain to goto PSFP chain

2020-10-20 Thread Vladimir Oltean
On Tue, Oct 20, 2020 at 03:23:18PM +0800, Xiaoliang Yang wrote: > VSC9959 supports Per-Stream Filtering and Policing(PSFP), which is > processing after VCAP blocks. We set this block on chain 3 and > set vcap IS2 chain to goto PSFP chain if hardware support. > > An example set is: > > tc

[PATCH v1 net-next 2/5] net: mscc: ocelot: set vcap IS2 chain to goto PSFP chain

2020-10-20 Thread Xiaoliang Yang
VSC9959 supports Per-Stream Filtering and Policing(PSFP), which is processing after VCAP blocks. We set this block on chain 3 and set vcap IS2 chain to goto PSFP chain if hardware support. An example set is: > tc filter add dev swp0 ingress chain 21000 flower skip_sw ac