]> git.droids-corp.org - dpdk.git/commit
net/mlx5: fix modify field MAC address offset
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Fri, 26 Nov 2021 13:09:45 +0000 (15:09 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 5 Dec 2021 11:24:13 +0000 (12:24 +0100)
commit252b5ae03685e3d4a0a184b7c6a603ea8837419b
tree0d17747069e93d803108c6b9cc30ee0a2dac9457
parent4042dc2037a1509596f7eb48370185434bad39cc
net/mlx5: fix modify field MAC address offset

The MAC addresses fields are 48 bit wide and are processed
by mlx5 PMD as two words. There the bug was introduced for
the offset, causing malfunction of MODIFY_FIELD action
with MAC address fields as source or destination and
with non zero field offset.

Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c