aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <[email protected]>2024-03-01 11:54:14 +0000
committerTony Nguyen <[email protected]>2024-03-25 20:09:36 +0000
commit4498159a509328e903a692504a0ba1624754bc3e (patch)
treef03d4f07fac485239d913dfbe68c51198ec360fd /drivers/net/ethernet/intel/ice/ice_dcb_lib.c
parentice: do switchdev slow-path Rx using PF VSI (diff)
downloadkernel-4498159a509328e903a692504a0ba1624754bc3e.tar.gz
kernel-4498159a509328e903a692504a0ba1624754bc3e.zip
ice: count representor stats
Removing control plane VSI result in no information about slow-path statistic. In current solution statistics need to be counted in driver. Patch is based on similar implementation done by Simon Horman in nfp: commit eadfa4c3be99 ("nfp: add stats and xmit helpers for representors") Add const modifier to netdev parameter in ice_netdev_to_repr(). It isn't (and shouldn't be) modified in the function. Reviewed-by: Marcin Szycik <[email protected]> Signed-off-by: Michal Swiatkowski <[email protected]> Tested-by: Sujai Buvaneswaran <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions