summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc91x.c
diff options
context:
space:
mode:
authorOz Shlomo <ozsh@nvidia.com>2023-02-12 15:25:20 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-02-14 11:00:01 +0100
commit2b68d659a704abaa61fb3255776b5483bdc4eb35 (patch)
tree96f4a2990f970246a9c1cc515fcfa8a0d09f2a72 /drivers/net/ethernet/smsc/smc91x.c
parentd13674b1d14c68339173db5dd39c4ab0949234e7 (diff)
downloadlinux-stable-2b68d659a704abaa61fb3255776b5483bdc4eb35.tar.gz
linux-stable-2b68d659a704abaa61fb3255776b5483bdc4eb35.tar.bz2
linux-stable-2b68d659a704abaa61fb3255776b5483bdc4eb35.zip
net/mlx5e: TC, support per action stats
Extend the action stats callback implementation to update stats for actions that are associated with hw counters. Note that the callback may be called from tc action utility or from tc flower. Both apis expect the driver to return the stats difference from the last update. As such, query the raw counter value and maintain the diff from the last api call in the tc layer, instead of the fs_core layer. 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 'drivers/net/ethernet/smsc/smc91x.c')
0 files changed, 0 insertions, 0 deletions