linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: prestera: acl: migrate to new vTcam/counter api
@ 2021-11-23 16:57 Volodymyr Mytnyk
  2021-11-23 16:58 ` [PATCH net-next 1/3] net: prestera: acl: migrate to new vTCAM api Volodymyr Mytnyk
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Volodymyr Mytnyk @ 2021-11-23 16:57 UTC (permalink / raw)
  To: netdev
  Cc: Taras Chornyi, Mickey Rachamim, Serhiy Pshyk, Volodymyr Mytnyk,
	Taras Chornyi, David S. Miller, Jakub Kicinski, linux-kernel

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   | 699 +++++++++++++++------
 .../net/ethernet/marvell/prestera/prestera_acl.h   | 215 ++++---
 .../ethernet/marvell/prestera/prestera_counter.c   | 474 ++++++++++++++
 .../ethernet/marvell/prestera/prestera_counter.h   |  30 +
 .../net/ethernet/marvell/prestera/prestera_flow.c  | 109 +++-
 .../net/ethernet/marvell/prestera/prestera_flow.h  |  16 +
 .../ethernet/marvell/prestera/prestera_flower.c    | 288 ++++-----
 .../ethernet/marvell/prestera/prestera_flower.h    |  12 +-
 .../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, 1744 insertions(+), 664 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/prestera/prestera_counter.c
 create mode 100644 drivers/net/ethernet/marvell/prestera/prestera_counter.h

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-11-30 12:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 16:57 [PATCH net-next 0/3] net: prestera: acl: migrate to new vTcam/counter api Volodymyr Mytnyk
2021-11-23 16:58 ` [PATCH net-next 1/3] net: prestera: acl: migrate to new vTCAM api Volodymyr Mytnyk
2021-11-25  3:15   ` Jakub Kicinski
2021-11-30 12:26     ` Volodymyr Mytnyk [C]
2021-11-25  3:17   ` Jakub Kicinski
2021-11-23 16:58 ` [PATCH net-next 2/3] net: prestera: add counter HW API Volodymyr Mytnyk
2021-11-25  3:16   ` Jakub Kicinski
2021-11-30 12:28     ` Volodymyr Mytnyk [C]
2021-11-23 16:58 ` [PATCH net-next 3/3] net: prestera: acl: add rule stats support Volodymyr Mytnyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).