diff options
author | Maor Dickman <[email protected]> | 2020-12-14 13:53:03 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-01-07 12:22:50 -0800 |
commit | e13ed0ac064dd6ee964155ba9fdc2f3c3785934c (patch) | |
tree | 1e3076b4799a6a96d1eeffb8ebd4c95f7901e567 /scripts/gdb/linux/utils.py | |
parent | 25c904b59aaf4816337acd415514b0c47715f604 (diff) |
net/mlx5e: In skb build skip setting mark in switchdev mode
sop_drop_qpn field in the cqe is used by two features, in SWITCHDEV mode
to restore the chain id in case of a miss and in LEGACY mode to support
skbedit mark action. In build RX skb, the skb mark field is set regardless
of the configured mode which cause a corruption of the mark field in case
of switchdev mode.
Fix by overriding the mark value back to 0 in the representor tc update
skb flow.
Fixes: 8f1e0b97cc70 ("net/mlx5: E-Switch, Mark miss packets with new chain id mapping")
Signed-off-by: Maor Dickman <[email protected]>
Reviewed-by: Raed Salem <[email protected]>
Reviewed-by: Oz Shlomo <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions