Thread (1 message) 1 message, 1 author, 2019-02-27

Re: [PATCH net-next v2 1/5] net/mlx5e: Return -EOPNOTSUPP when modify header action zero

From: Tonghao Zhang <hidden>
Date: 2019-02-27 11:47:42

On Wed, Feb 27, 2019 at 6:37 AM Or Gerlitz [off-list ref] wrote:
On Mon, Feb 25, 2019 at 1:06 PM [off-list ref] wrote:
quoted
From: Tonghao Zhang <redacted>

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.

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


this command should work, we support header re-write (pedit offload) for tc NIC rules

Is this CX5 VF? if yes, something broke
No, this is cx4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help