]> 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)
commit6e0f8f944491b50ae01691ff8e9ed15b4576f527
treef7ef1d7a23d92a47bcc5dc36adfad21d3e584a79
parent2f1c25f38742450b527e84bb13c07a89b3f08b3c
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