octeontx2-af: add option to toggle DROP_RE enable in rx cfg
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Mon, 12 Jun 2023 06:04:23 +0000 (11:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2023 08:54:57 +0000 (09:54 +0100)
commit4ed6387a61fcc96f46859349b7e7696db9988ed6
tree9e9764e85e3358dc52f9f44a8e544fada20144e7
parentb6a072a153277dc590703ada2fd1f53ecb7f8cb9
octeontx2-af: add option to toggle DROP_RE enable in rx cfg

Add option to toggle DROP_RE bit in rx cfg mbox. This helps in
modifying the config runtime as opposed to setting available via
nix_lf_alloc() mbox at NIX LF init time.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@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