]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add define for number of priority queues NUM_PRIO_QUEUES
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 21 Sep 2022 12:25:35 +0000 (14:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 11:31:26 +0000 (12:31 +0100)
commit33623b84e9057fdc4d762568f15eaddc4d625779
treed9d18dda23a371a774c0760c5e913e9994b00b93
parent4c99c4f7ec9c71bd8eb7fcd4f4869b4538b9aaee
net: lan966x: Add define for number of priority queues NUM_PRIO_QUEUES

Add a define for the number of priority queues on lan966x. Because there
will be more checks for this, so instead of using hardcoded value all
over the place add a define for this.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h