]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: cn10k: Initialise NIX context
authorGeetha sowjanya <gakula@marvell.com>
Thu, 11 Feb 2021 15:58:25 +0000 (21:28 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 22:55:03 +0000 (14:55 -0800)
commit52a03ab6a906ad90acfb7cc2c98c556d149eece1
tree8cba201312e9977e57845654daa0920bcb37d5a7
parent6b106d5b68f4384f38b96ffdcd62e91039210891
octeontx2-pf: cn10k: Initialise NIX context

On CN10K platform NIX RQ and SQ context structure got changed.
This patch uses new mbox message "NIX_CN10K_AQ_ENQ" for NIX
context initialization on CN10K platform.

This patch also updates the nix_rx_parse_s and nix_sqe_sg_s
structures to add packet steering bit feilds.

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/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_struct.h