]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Initialize NIX1 block
authorRakesh Babu <rsaladi2@marvell.com>
Thu, 29 Oct 2020 05:15:42 +0000 (10:45 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 21:16:46 +0000 (14:16 -0700)
commit121bc8e1ecc61d3f00bc8e630d9c4864610adc93
treef7ef1d7a23d92a47bcc5dc36adfad21d3e584a79
parent0e146a8db79755a72f706a89cb772dd2e36869d1
octeontx2-af: Initialize NIX1 block

This patch modifies NIX functions to operate
with nix_hw context so that existing functions
can be used for both NIX0 and NIX1 blocks. And
the NIX blocks present in the system are initialized
during driver init and freed during exit.

Signed-off-by: Rakesh Babu <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c