Re: [PATCH net-next v3] net: openvswitch: Set OvS recirc_id from tc chain index

2019-09-04 Thread Paul Blakey
On 9/4/2019 12:47 PM, Davide Caratti wrote: > On Tue, 2019-09-03 at 16:23 +0300, Paul Blakey wrote: >> Offloaded OvS datapath rules are translated one to one to tc rules, >> for example the following simplified OvS rule: >> >> recirc_id(0),in_port(dev1),eth_type(0x0800),ct_state(-trk) >> actions:

Re: [PATCH net-next v3] net: openvswitch: Set OvS recirc_id from tc chain index

2019-09-04 Thread Davide Caratti
On Tue, 2019-09-03 at 16:23 +0300, Paul Blakey wrote: > Offloaded OvS datapath rules are translated one to one to tc rules, > for example the following simplified OvS rule: > > recirc_id(0),in_port(dev1),eth_type(0x0800),ct_state(-trk) > actions:ct(),recirc(2) > > Will be translated to the follo

Re: [PATCH net-next v3] net: openvswitch: Set OvS recirc_id from tc chain index

2019-09-04 Thread Paul Blakey
On 9/3/2019 5:56 PM, Edward Cree wrote: > On 03/09/2019 14:23, Paul Blakey wrote: >> Offloaded OvS datapath rules are translated one to one to tc rules, >> for example the following simplified OvS rule: >> >> recirc_id(0),in_port(dev1),eth_type(0x0800),ct_state(-trk) >> actions:ct(),recirc(2) >>

Re: [PATCH net-next v3] net: openvswitch: Set OvS recirc_id from tc chain index

2019-09-03 Thread Edward Cree
On 03/09/2019 14:23, Paul Blakey wrote: > Offloaded OvS datapath rules are translated one to one to tc rules, > for example the following simplified OvS rule: > > recirc_id(0),in_port(dev1),eth_type(0x0800),ct_state(-trk) > actions:ct(),recirc(2) > > Will be translated to the following tc rule: >

[PATCH net-next v3] net: openvswitch: Set OvS recirc_id from tc chain index

2019-09-03 Thread Paul Blakey
Offloaded OvS datapath rules are translated one to one to tc rules, for example the following simplified OvS rule: recirc_id(0),in_port(dev1),eth_type(0x0800),ct_state(-trk) actions:ct(),recirc(2) Will be translated to the following tc rule: $ tc filter add dev dev1 ingress \ prio 1