diff options
author | Sai Krishna <saikrishnag@marvell.com> | 2024-06-20 14:29:49 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-06-21 11:28:47 +0100 |
commit | 39c469188b6d20db107c454cac3ddea941718850 (patch) | |
tree | 9268859d4ba54c4a31a353b27bcba327e84c5f53 /net/l2tp/l2tp_core.c | |
parent | 4558645d139c01d5635cac7e3528a3d19bbb6526 (diff) |
octeontx2-pf: Add ucast filter count configurability via devlink.
The existing method of reserving unicast filter count leads to wasted
MCAM entries if the functionality is not used or fewer entries are used.
Furthermore, the amount of MCAM entries differs amongst Octeon SoCs.
We implemented a means to adjust the UC filter count via devlink,
allowing for better use of MCAM entries across Netdev apps.
commands:
To get the current unicast filter count
# devlink dev param show pci/0002:02:00.0 name unicast_filter_count
To change/set the unicast filter count
# devlink dev param set pci/0002:02:00.0 name unicast_filter_count
value 5 cmode runtime
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.c')
0 files changed, 0 insertions, 0 deletions