summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2023-01-06 21:15:07 +0100
committerDavid S. Miller <davem@davemloft.net>2023-01-09 08:11:44 +0000
commit76761babaa984fce8ecd87d87a68d920f24df438 (patch)
tree207d36ff93187b34a81264573ca661446c8f055a /tools
parent7871f54e3deed68a27111dda162c4fe9b9c65f8f (diff)
downloadlinux-76761babaa984fce8ecd87d87a68d920f24df438.tar.bz2
net: lan966x: Allow to add rules in TCAM even if not enabled
The blamed commit implemented the vcap_operations to allow to add an entry in the TCAM. One of the callbacks is to validate the supported keysets. If the TCAM lookup was not enabled, then this will return failure so no entries could be added. This doesn't make much sense, as you can enable at a later point the TCAM. Therefore change it such to allow entries in TCAM even it is not enabled. Fixes: 4426b78c626d ("net: lan966x: Add port keyset config and callback interface") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions