]> 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)
commit62c1a466af22e61560414fc519c0ffbf49331528
tree8cba201312e9977e57845654daa0920bcb37d5a7
parent80ea70019fd88d9d2a6e3b8b406f763d9ae98a6f
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