octeontx2-af: devlink configuration support
authorRatheesh Kannoth <rkannoth@marvell.com>
Fri, 8 Jul 2022 04:41:43 +0000 (10:11 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Jul 2022 17:52:13 +0000 (10:52 -0700)
commitef83e186855df9ebf131dfa74c1e5c198ccdf02a
tree6defdfdc6bd47be8ac1949dd63b01e45f539e629
parent812103edf670247655f8840e7994fc8bd0000af8
octeontx2-af: devlink configuration support

CN10KB silicon supports Exact match feature. This feature can be disabled
through devlink configuration. Devlink command fails if DMAC filter rules
are already present. Once disabled, legacy RPM based DMAC filters will be
configured.

Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h