[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240124055014.32694-1-gakula@marvell.com>
Date: Wed, 24 Jan 2024 11:20:11 +0530
From: Geetha sowjanya <gakula@...vell.com>
To: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <kuba@...nel.org>, <davem@...emloft.net>, <pabeni@...hat.com>,
<edumazet@...gle.com>, <sgoutham@...vell.com>, <gakula@...vell.com>,
<sbhatta@...vell.com>, <hkelam@...vell.com>
Subject: [net-next PATCH 0/3] Dynamically allocate BPIDs
Current hw support 512 backpressure(BP) Ids. These BPIDs are
statically reserved among 4 interface types based on number
of channels supported. Latest HW support configuring
multiple BPIDs per channel. To support this feature, the
patch set creates BPIDs free pool from the BPIDs reserved for
LBK channel as, LBK uses single BPIDs across multiple channels
and on request it dynamically allocates N number of bpids
from the free pool. This patch also reworks the LBK device id
checks.
Geetha sowjanya (3):
octeontx2-af: Create BPIDs free pool
octeontx2-af: Add mbox to alloc/free BPIDs
octeontx2-af: Cleanup loopback device checks
.../ethernet/marvell/octeontx2/af/common.h | 1 +
.../net/ethernet/marvell/octeontx2/af/mbox.h | 32 ++
.../net/ethernet/marvell/octeontx2/af/rvu.c | 14 +-
.../net/ethernet/marvell/octeontx2/af/rvu.h | 21 +-
.../ethernet/marvell/octeontx2/af/rvu_nix.c | 387 +++++++++++++++---
.../ethernet/marvell/octeontx2/af/rvu_npc.c | 8 +-
.../ethernet/marvell/octeontx2/af/rvu_sdp.c | 6 +-
7 files changed, 404 insertions(+), 65 deletions(-)
--
2.25.1
Powered by blists - more mailing lists