On Mon, Feb 25, 2019 at 1:06 PM <xiangxia.m....@gmail.com> wrote: > When max modify header action is zero, we return -EOPNOTSUPP > directly. In this way, we can ignore wrong message info (e.g. > "mlx5: parsed 0 pedit actions, can't do more"). > > This happens when offloading pedit actions on mlx VFs.
this command should work, we support header re-write (pedit offload) for tc NIC rules Is this CX5 VF? if yes, something broke > For example: > $ tc filter add dev mlx5_vf parent ffff: protocol ip prio 1 \ > flower skip_sw dst_mac 00:10:56:fb:64:e8 \ > dst_ip 1.1.1.100 src_ip 1.1.1.200 \ > action pedit ex munge eth src set 00:10:56:b4:5d:20