mbox series

[net-next,v2,0/3] net: prestera: acl: migrate to new vTcam/counter api

Message ID 1638268383-8498-1-git-send-email-volodymyr.mytnyk@plvision.eu (mailing list archive)
Headers show
Series net: prestera: acl: migrate to new vTcam/counter api | expand

Message

Volodymyr Mytnyk Nov. 30, 2021, 10:32 a.m. UTC
From: Volodymyr Mytnyk <vmytnyk@marvell.com>

This patch series aims to use new vTcam and Counter API
provided by latest fw version. The advantage of using
this API is the following:

- provides a way to have a rule with desired Tcam size (improves
  Tcam memory utilization).
- batch support for acl counters gathering (improves performance)
- gives more control over HW ACL engine (actions/matches/bindings)
  to be able to support more features in the future driver
  versions

Note: the feature set left the same as was before this patch.

Volodymyr Mytnyk (3):
  net: prestera: acl: migrate to new vTCAM api
  net: prestera: add counter HW API
  net: prestera: acl: add rule stats support

 drivers/net/ethernet/marvell/prestera/Makefile     |   2 +-
 drivers/net/ethernet/marvell/prestera/prestera.h   |   1 +
 .../net/ethernet/marvell/prestera/prestera_acl.c   | 678 +++++++++++++++------
 .../net/ethernet/marvell/prestera/prestera_acl.h   | 213 ++++---
 .../ethernet/marvell/prestera/prestera_counter.c   | 475 +++++++++++++++
 .../ethernet/marvell/prestera/prestera_counter.h   |  30 +
 .../net/ethernet/marvell/prestera/prestera_flow.c  | 101 ++-
 .../net/ethernet/marvell/prestera/prestera_flow.h  |  16 +
 .../ethernet/marvell/prestera/prestera_flower.c    | 283 ++++-----
 .../ethernet/marvell/prestera/prestera_flower.h    |   3 +-
 .../net/ethernet/marvell/prestera/prestera_hw.c    | 491 ++++++++-------
 .../net/ethernet/marvell/prestera/prestera_hw.h    |  62 +-
 .../net/ethernet/marvell/prestera/prestera_main.c  |   8 +
 .../net/ethernet/marvell/prestera/prestera_span.c  |   1 +
 14 files changed, 1706 insertions(+), 658 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/prestera/prestera_counter.c
 create mode 100644 drivers/net/ethernet/marvell/prestera/prestera_counter.h

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 30, 2021, 12:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 30 Nov 2021 12:32:57 +0200 you wrote:
> From: Volodymyr Mytnyk <vmytnyk@marvell.com>
> 
> This patch series aims to use new vTcam and Counter API
> provided by latest fw version. The advantage of using
> this API is the following:
> 
> - provides a way to have a rule with desired Tcam size (improves
>   Tcam memory utilization).
> - batch support for acl counters gathering (improves performance)
> - gives more control over HW ACL engine (actions/matches/bindings)
>   to be able to support more features in the future driver
>   versions
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/3] net: prestera: acl: migrate to new vTCAM api
    https://git.kernel.org/netdev/net-next/c/47327e198d42
  - [net-next,v2,2/3] net: prestera: add counter HW API
    https://git.kernel.org/netdev/net-next/c/6e36c7bcb461
  - [net-next,v2,3/3] net: prestera: acl: add rule stats support
    https://git.kernel.org/netdev/net-next/c/adefefe5289c

You are awesome, thank you!