octeontx2-af: Promisc enable/disable through mbox
authorRatheesh Kannoth <rkannoth@marvell.com>
Thu, 6 Jul 2023 04:27:05 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jul 2023 08:06:50 +0000 (09:06 +0100)
commitaf42088bdaf292060b8d8a00d8644ca7b2b3f2d1
tree172702564795bc7b26041d1db3cdd18e54dc2704
parentb61aac027b019155199db1f8580c3d50d417c6d8
octeontx2-af: Promisc enable/disable through mbox

In legacy silicon, promiscuous mode is only modified
through CGX mbox messages. In CN10KB silicon, it is modified
from CGX mbox and NIX. This breaks legacy application
behaviour. Fix this by removing call from NIX.

Fixes: d6c9784baf59 ("octeontx2-af: Invoke exact match functions if supported")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c