Re: mlx5e uplink hairpin forwarding

2020-06-22 Thread Eli Cohen
On Tue, Jun 23, 2020 at 09:24:25AM +0800, Tonghao Zhang wrote: > Hi Eli > Still not work > > $ tc filter add dev enp130s0f0 protocol ip prio 1 root flower skip_sw > dst_ip 11.12.13.14 action mirred egress redirect dev enp130s0f0 > Error: mlx5_core: devices are both uplink, can't offload forwarding

Re: mlx5e uplink hairpin forwarding

2020-06-22 Thread Tonghao Zhang
On Sun, Jun 21, 2020 at 2:36 AM Eli Cohen wrote: > > On Sat, Jun 20, 2020 at 08:02:19PM +0800, Tonghao Zhang wrote: > > Hi Eli > > > > I review your patches and try to test it. > > $ tc filter add dev enp130s0f0 protocol ip prio 1 root flower dst_ip > > 11.12.13.14 skip_sw action mirred egress re

Re: mlx5e uplink hairpin forwarding

2020-06-20 Thread Eli Cohen
On Sat, Jun 20, 2020 at 08:02:19PM +0800, Tonghao Zhang wrote: > Hi Eli > > I review your patches and try to test it. > $ tc filter add dev enp130s0f0 protocol ip prio 1 root flower dst_ip > 11.12.13.14 skip_sw action mirred egress redirect dev enp130s0f1 > or > $ tc filter add dev enp130s0f0 pr

mlx5e uplink hairpin forwarding

2020-06-20 Thread Tonghao Zhang
Hi Eli I review your patches and try to test it. $ tc filter add dev enp130s0f0 protocol ip prio 1 root flower dst_ip 11.12.13.14 skip_sw action mirred egress redirect dev enp130s0f1 or $ tc filter add dev enp130s0f0 protocol ip prio 1 parent : flower dst_ip 11.12.13.14 skip_sw action mirred