linux_dsm_epyc7002/drivers/net/ethernet/marvell/octeontx2
Geetha sowjanya 27150bc428 octeontx2-af: Interface backpressure configuration
Each of the interface receive channels can be backpressured by
resources upon exhaustion or reaching configured threshold levels.
Resources here are receive buffer queues (Auras) and pkt notification
descriptor queues (CQs). Resources and interface channels are mapped
using backpressure IDs (BPIDs).

HW supports upto 512 BPIDs, this patch divides these BPIDs statically
across CGX/LBK/SDP interfaces as follows.
BPIDs 0 - 191 are mapped to LMAC channels, 16 per LMAC.
BPIDs 192 - 255 are mapped to LBK channels.
BPIDs 256 - 511 are mapped to SDP channels.
Also did the needed basic configuration of BPIDs.

Added mbox handlers with which a PF device can request for a BPID which
it will use to configure Auras and CQs.

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>
2020-03-02 11:08:51 -08:00
..
af octeontx2-af: Interface backpressure configuration 2020-03-02 11:08:51 -08:00
nic octeontx2-pf: Fix an IS_ERR() vs NULL bug 2020-02-01 11:32:43 -08:00
Kconfig octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00