]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Set max queue count taking XDP_TX into account
authorSunil Goutham <sgoutham@cavium.com>
Fri, 24 Nov 2017 12:04:03 +0000 (15:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:24:07 +0000 (09:24 -0500)
commit629045ff943dd8068230eecf66165d931b52e64d
tree7ae36497516088c5cd1f834ba6c6c2d6677029f9
parentce2556d2dafce70251f824fcfec5327f83418716
net: thunderx: Set max queue count taking XDP_TX into account

on T81 there are only 4 cores, hence setting max queue count to 4
would leave nothing for XDP_TX. This patch fixes this by doubling
max queue count in above scenarios.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: cjacob <cjacob@caviumnetworks.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c