Skip to content

Commit 9ace230

Browse files
committed
Merge branch 'prestera-next'
Volodymyr Mytnyk says: ==================== net: prestera: acl: migrate to new vTcam/counter api 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. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 4c897cf + adefefe commit 9ace230

14 files changed

+1706
-658
lines changed

drivers/net/ethernet/marvell/prestera/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ obj-$(CONFIG_PRESTERA) += prestera.o
33
prestera-objs := prestera_main.o prestera_hw.o prestera_dsa.o \
44
prestera_rxtx.o prestera_devlink.o prestera_ethtool.o \
55
prestera_switchdev.o prestera_acl.o prestera_flow.o \
6-
prestera_flower.o prestera_span.o
6+
prestera_flower.o prestera_span.o prestera_counter.o
77

88
obj-$(CONFIG_PRESTERA_PCI) += prestera_pci.o

drivers/net/ethernet/marvell/prestera/prestera.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ struct prestera_switch {
248248
u32 mtu_max;
249249
u8 id;
250250
struct prestera_lag *lags;
251+
struct prestera_counter *counter;
251252
u8 lag_member_max;
252253
u8 lag_max;
253254
};

0 commit comments

Comments
 (0)