------- Comment From [email protected] 2020-04-23 08:56 EDT-------
Sebastian has supplied me with the following information for reproducing the 
issue and is currently working on a backport:

echo 1 > /sys/class/net/p0/device/sriov_numvfs
echo 0101:00:00.0 > /sys/bus/pci/drivers/mlx5_core/unbind
devlink dev eswitch set pci/0100:00:00.0 mode switchdev
ethtool -K p0 hw-tc-offload on
echo 0101:00:00.0 > /sys/bus/pci/drivers/mlx5_core/bind
tc qdisc add dev p0 ingress
tc qdisc add dev p0v0_r ingress
tc filter add dev p0v0_r protocol ip parent ffff:0 prio 1 flower skip_sw action 
pedit ex munge eth dst set 11:22:33:44:55:66 action goto chain 1

Without the patch the last command would fail with the following output
in dmesg

[ 548.966006] mlx5_core 0100:00:00.0: mlx5_cmd_check:711:(pid 5220):
SET_FLOW_TABLE_ENTRY(0x936) op_mod(0x0) failed, status bad
parameter(0x3), syndrome (0x144b7a)

This was only tested on Z but we suspect that the same problem should
also occur on other Big Endian architectures

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872726

Title:
  [Ubuntu 20.04] net/mlx5e: Fix endianness handling in pedit mask

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872726/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to