mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Harman Kalra aefaa8c715 octeontx2-af: nix and lbk in loop mode in 98xx
In 98xx, there are 2 NIX blocks and 4 LBK blocks present. The way
these NIX-LBK should be configured depends on the use case. By
default loopback functionality is supported in AF VF pairs which
are attached to NIX0 and NIX1 LFs alternatively to ensure load
balancing. NIX0 transmits a packet to LBK1 which will be received
by NIX1 and packet transmitted by NIX1 will get received by NIX0 via
LBK2.

There are some requirements where only one AF VF is used and respective
NIX is expected to operate in a mode where it can receive it own packet
back. This can be achieved if NIX0 sends packet to LBK0 and not LBK1.
Adding a flag in LF alloc request mailbox which can setup NIX0 to use
LBK0 and NIX1 can use LBK3.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-25 13:39:01 +01:00
..
cgx_fw_if.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
cgx.c octeontx2-pf: Dont enable backpressure on LBK links 2021-07-25 09:25:03 +01:00
cgx.h octeontx2-af: Debugfs support for DMAC filters 2021-07-01 13:02:38 -07:00
common.h octeontx2-af: Use DMA_ATTR_FORCE_CONTIGUOUS attribute in DMA alloc 2021-08-22 21:38:15 +01:00
lmac_common.h octeontx2-af: DMAC filter support in MAC block 2021-07-01 13:02:38 -07:00
Makefile octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
mbox.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
mbox.h octeontx2-af: nix and lbk in loop mode in 98xx 2021-08-25 13:39:01 +01:00
npc_profile.h octeontx2-af: Update the default KPU profile and fixes 2021-05-29 14:16:22 -07:00
npc.h octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces 2021-07-25 09:25:03 +01:00
ptp.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
ptp.h octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
rpm.c octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rpm.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rvu_cgx.c octeontx2-af: add proper return codes for AF mailbox handlers 2021-08-17 10:06:32 +01:00
rvu_cn10k.c octeontx2-af: cn10k: Use FLIT0 register instead of FLIT1 2021-08-22 21:38:16 +01:00
rvu_cpt.c octeontx2-af: Add mailbox for CPT stats 2021-04-21 10:23:17 -07:00
rvu_debugfs.c octeontx2-af: Prepare for allocating MCAM rules for AF 2021-07-19 10:24:25 -07:00
rvu_devlink.c devlink: Set device as early as possible 2021-08-09 10:21:40 +01:00
rvu_devlink.h octeontx2-af: Add devlink health reporters for NIX 2021-01-21 11:57:51 -08:00
rvu_nix.c octeontx2-af: nix and lbk in loop mode in 98xx 2021-08-25 13:39:01 +01:00
rvu_npa.c octeontx2-af: cn10k: Set cache lines for NPA batch alloc 2021-08-25 12:04:34 +01:00
rvu_npc_fs.c octeontx2-pf: Ntuple filters support for VF netdev 2021-08-17 10:06:33 +01:00
rvu_npc.c octeontx2-af: configure npc for cn10k to allow packets from cpt 2021-08-17 10:06:33 +01:00
rvu_reg.c octeontx2-af: enable tx shaping feature for 96xx C0 2021-08-25 13:39:01 +01:00
rvu_reg.h octeontx2-af: cn10k: Set cache lines for NPA batch alloc 2021-08-25 12:04:34 +01:00
rvu_struct.h octeontx2-af: cn10k: Setting up lmtst map table 2021-07-01 11:27:57 -07:00
rvu_switch.c octeontx2-af: Fix uninitialized variables in rvu_switch 2021-07-23 17:43:31 +01:00
rvu_trace.c octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu_trace.h octeontx2-af: Enhance mailbox trace entry 2021-07-23 17:15:04 +01:00
rvu.c octeontx2-af: enable tx shaping feature for 96xx C0 2021-08-25 13:39:01 +01:00
rvu.h octeontx2-af: nix and lbk in loop mode in 98xx 2021-08-25 13:39:01 +01:00