Re: [RFC, net-next] net: qos: introduce a redundancy flow action

2020-11-17 Thread Joergen Andreasen
is used (Section 10.4.1.6). Configure reset timeout (Section 10.4.1.7). Adding an individual recovery function (Section 7.5). Counters to be used for latent error detection (Section 7.4.4). I would prefer to use the term 'frer' instead of 'red' or 'redundancy' in all definitions and functions except for 'redundancy-tag'. -- Joergen Andreasen, Microchip

Re: [EXT] Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index

2020-07-17 Thread Joergen Andreasen
The 07/16/2020 17:45, Vladimir Oltean wrote: > Hi Vladimir, > > On Thu, Jul 16, 2020 at 10:37:40AM +, Xiaoliang Yang wrote: > > Hi Joergen, > > > > > > -Original Message- > > From: Joergen Andreasen > > Sent: 2020年7月16日 16:51 > &g

Re: [EXT] Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index

2020-07-16 Thread Joergen Andreasen
"dst_ip #{DIP} "\ "action goto chain #{IS1_L2} " t_i "Insert in chain IS1_L1" $ts.dut.run "tc filter add dev #{$dp[0]} ingress protocol ip prio 12 handle 0x201 chain #{IS1_L1} flower #{$skip} "\ "dst_ip #{DIP} "\ "action goto chain #{IS1_L2} " t_i "Insert in chain IS1_L2" $ts.dut.run "tc filter add dev #{$dp[0]} ingress protocol 802.1ad prio 11 handle 0x300 chain #{IS1_L2} flower #{$skip} "\ "vlan_id 10 "\ "vlan_prio 1 "\ "vlan_ethtype 802.1q "\ "cvlan_id 20 "\ "cvlan_prio 2 "\ "action pass " # TODO: goto IS2! # TODO: Add IS2 t_i "Test invalid inserts that must fail" $ts.dut.run_err "tc filter add dev #{$dp[0]} ingress protocol ip chain #{IS1_L0} flower #{$skip} "\ "src_ip 10.10.0.0/16 "\ "action drop" $ts.dut.run_err "tc filter add dev #{$dp[0]} ingress protocol ip chain #{IS1_L1} flower #{$skip} "\ "dst_mac aa:11:22:33:44:55/00:00:ff:00:00:00 "\ "action drop" $ts.dut.run_err "tc filter add dev #{$dp[0]} ingress protocol ip chain #{IS1_L2} flower #{$skip} "\ "ip_proto udp "\ "action drop" end -- Joergen Andreasen, Microchip

[PATCH net-next v3 0/1] Add hw offload of TC police on MSCC ocelot

2019-05-28 Thread Joergen Andreasen
nd it through the MIPS tree and I will do that. The remaining patch is now the only patch in this series and all suggested changes have been incorporated. Joergen Andreasen (1): net: mscc: ocelot: Implement port policers via tc command drivers/net/ethernet/mscc/Makefile| 2 +- d

[PATCH net-next v3 1/1] net: mscc: ocelot: Implement port policers via tc command

2019-05-28 Thread Joergen Andreasen
\ action police rate 100Mbit burst 1 Show: tc -s -d qdisc show dev eth3 tc -s -d filter show dev eth3 ingress Delete: tc filter del dev eth3 parent : prio 1 tc qdisc del dev eth3 handle : ingress Signed-off-by: Joergen Andreasen --- drivers/net/ethernet

Re: [PATCH net-next v2 1/1] net: mscc: ocelot: Implement port policers via tc command

2019-05-24 Thread Joergen Andreasen
Hi Jakub, The 05/23/2019 11:56, Jakub Kicinski wrote: > External E-Mail > > > On Thu, 23 May 2019 12:49:39 +0200, Joergen Andreasen wrote: > > Hardware offload of matchall classifier and police action are now > > supported via the tc command. > > Supported police

[PATCH net-next v2 1/1] net: mscc: ocelot: Implement port policers via tc command

2019-05-23 Thread Joergen Andreasen
\ action police rate 100Mbit burst 1 Show: tc -s -d qdisc show dev eth3 tc -s -d filter show dev eth3 ingress Delete: tc filter del dev eth3 parent : prio 1 tc qdisc del dev eth3 handle : ingress Signed-off-by: Joergen Andreasen --- drivers/net/ethernet

[PATCH net-next v2 0/1] Add hw offload of TC police on MSCC ocelot

2019-05-23 Thread Joergen Andreasen
", from the series and instead send it through the MIPS tree and I will do that. The remaining patch is now the only patch in this series and all suggested changes have been incorporated. Joergen Andreasen (1): net: mscc: ocelot: Implement port policers via tc command drivers/net/ethernet

[PATCH net-next 3/3] MIPS: generic: Add police related options to ocelot_defconfig

2019-05-02 Thread Joergen Andreasen
Add default support for ingress qdisc, matchall classification and police action on MSCC Ocelot. Signed-off-by: Joergen Andreasen --- arch/mips/configs/generic/board-ocelot.config | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/configs/generic/board-ocelot.config b/arch

[PATCH net-next 0/3] Add hw offload of TC police on MSCC ocelot

2019-05-02 Thread Joergen Andreasen
This patch series enables hardware offload of ingress port policing on the MSCC ocelot board. Joergen Andreasen (3): net/sched: act_police: move police parameters into separate header file net: mscc: ocelot: Implement port policers via tc command MIPS: generic: Add police related