[PATCH net-next v3 0/2] net: ravb: Fix SoC-specific configuration

Prabhakar posted 2 patches 3 months, 2 weeks ago
drivers/net/ethernet/renesas/ravb.h      |  2 +-
drivers/net/ethernet/renesas/ravb_main.c | 16 +++++++++++-----
2 files changed, 12 insertions(+), 6 deletions(-)
[PATCH net-next v3 0/2] net: ravb: Fix SoC-specific configuration
Posted by Prabhakar 3 months, 2 weeks ago
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This series addresses several issues in the Renesas Ethernet AVB (ravb)
driver related to SoC-specific resource configuration.

The series includes the following changes:

- Make DBAT entry count configurable per SoC
The number of descriptor base address table (DBAT) entries is not uniform
across all SoCs. Pass this information via the hardware info structure and
allocate resources accordingly.

- Allocate correct number of queues based on SoC support
Use the per-SoC configuration to determine whether a network control queue
is available, and allocate queues dynamically to match the SoC's
capability.

Note, these patches were posted previously [0] as fixes but based on the
discussion there, I've reworked them based on feedback from Jakub and
dropped the fixes tag and Cc to stable, hence sending them for net-next.

[0] https://lore.kernel.org/all/20251017151830.171062-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

Cheers,
Prabhakar

Lad Prabhakar (2):
  net: ravb: Make DBAT entry count configurable per-SoC
  net: ravb: Allocate correct number of queues based on SoC support

 drivers/net/ethernet/renesas/ravb.h      |  2 +-
 drivers/net/ethernet/renesas/ravb_main.c | 16 +++++++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.43.0