]> asedeno.scripts.mit.edu Git - linux.git/commit
octeontx2-af: Support configurable NDC cache way_mask
authorGeetha sowjanya <gakula@marvell.com>
Thu, 14 Nov 2019 05:26:31 +0000 (10:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 02:09:16 +0000 (18:09 -0800)
commitee1e75915f4ff00e125adf98c9684c57cae4a88f
tree52ea9c7c53ffcaa90dd2fa9f4fddab9c6ee5b041
parent561e8752a17bbd0a29c770df3d4c9963c41ae873
octeontx2-af: Support configurable NDC cache way_mask

Each of the NIX/NPA LFs can choose which ways of their respective
NDC caches should be used to cache their contexts. This enables
flexible configurations like disabling caching for a LF, limiting
it's context to a certain set of ways etc etc. Separate way_mask
for NIX-TX and NIX-RX is not supported.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c