summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2023-03-01 01:16:34 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-04-12 06:57:37 +0300
commitcee6484eddc1066f009cc82ad12a1739892172b8 (patch)
tree25ad33f942a9efa6efa91f06fa6bf216ee5c352b /include/linux/mlx5
parent9df839a711aee437390b16ee39cf0b5c1620be6a (diff)
downloadlinux-cee6484eddc1066f009cc82ad12a1739892172b8.tar.xz
net/mlx5: DR, Set counter ID on the last STE for STEv1 TX
In STEv1 counter action can be set either by filling counter ID on STE, in which case it is executed before other actions on this STE, or as a single action, in which case it is executed in accordance with the actions order. FW steering on STEv1 devices implements counter as counter ID on STE, and this counter is set on the last STE. Fix SMFS to be consistent with this behaviour - move TX counter to the last STE, this way the counter will include all actions of the previous STEs that might have changed packet headers length, e.g. encap, vlan push, etc. Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Reviewed-by: Alex Vesker <valex@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions