aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/hyperv
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <vmytnyk@marvell.com>2022-04-05 16:20:14 +0300
committerJakub Kicinski <kuba@kernel.org>2022-04-06 22:47:38 -0700
commite8bd70250a821edb541c3abe1eacdad9f8dc7adf (patch)
tree5610fc8121b8f647fb335133cfa808882008a446 /drivers/net/hyperv
parentipv6: fix locking issues with loops over idev->addr_list (diff)
downloadwireguard-linux-e8bd70250a821edb541c3abe1eacdad9f8dc7adf.tar.xz
wireguard-linux-e8bd70250a821edb541c3abe1eacdad9f8dc7adf.zip
prestera: acl: add action hw_stats support
Currently, when user adds a tc action and the action gets offloaded, the user expects the HW stats to be counted also. This limits the amount of supported offloaded filters, as HW counter resources may be quite limited. Without counter assigned, the HW is capable to carry much more filters. To resolve the issue above, the following types of HW stats are offloaded and supported by the driver: any - current default, user does not care about the type. delayed - polled from HW periodically. disabled - no HW stats needed. immediate - not supported. Example: tc filter add dev PORT ingress proto ip flower skip_sw ip_proto 0x11 \ action drop tc filter add dev PORT ingress proto ip flower skip_sw ip_proto 0x12 \ action drop hw_stats disabled tc filter add dev sw1p1 ingress proto ip flower skip_sw ip_proto 0x14 \ action drop hw_stats delayed Signed-off-by: Volodymyr Mytnyk <vmytnyk@marvell.com> Link: https://lore.kernel.org/r/1649164814-18731-1-git-send-email-volodymyr.mytnyk@plvision.eu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions