diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2025-10-23 14:21:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-25 05:04:34 +0300 |
| commit | 3912e804ff6a03693cc50d801ab840479f7b20ac (patch) | |
| tree | 393c9de3b8a14c05fd2aa9bc68132b3b307c4bcc /scripts/checkpatch.pl | |
| parent | 9078e6c5f1de342ae0c2322c999bbab9c2ad08b7 (diff) | |
| download | linux-3912e804ff6a03693cc50d801ab840479f7b20ac.tar.xz | |
net: ravb: Allocate correct number of queues based on SoC support
Use the per-SoC match data flag `nc_queues` to decide how many TX/RX
queues to allocate. If the SoC does not provide a network-control queue,
fall back to a single TX/RX queue. Obtain the match data before calling
alloc_etherdev_mqs() so the allocation is sized correctly.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://patch.msgid.link/20251023112111.215198-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
