summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorOz Shlomo <ozsh@nvidia.com>2023-02-12 15:25:19 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-02-14 11:00:01 +0100
commitd13674b1d14c68339173db5dd39c4ab0949234e7 (patch)
treefa148aa2a40ddad746fa514691fe921ab917412c /init/main.c
parentcca7eac13856e75306bbdefb1673bcd0310d9abc (diff)
downloadlinux-stable-d13674b1d14c68339173db5dd39c4ab0949234e7.tar.gz
linux-stable-d13674b1d14c68339173db5dd39c4ab0949234e7.tar.bz2
linux-stable-d13674b1d14c68339173db5dd39c4ab0949234e7.zip
net/mlx5e: TC, map tc action cookie to a hw counter
Currently a hardware counter is associated with a flow cookie. This does not apply to flows using branching action which are required to return per action stats. A single counter may apply to multiple actions. Scan the flow actions in reverse (from the last to the first action) while caching the last counter. Associate all the flow attribute tc action cookies with the current cached counter. Signed-off-by: Oz Shlomo <ozsh@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions