]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: fix initialization of RSS table
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Fri, 7 Dec 2018 14:00:17 +0000 (14:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:49:09 +0000 (12:49 -0800)
commitb50b0a605aa42cdb79af1b0a19015c0f1c1187ee
treea2d9e8c838e92bb8c2a27ef6735672b9185191d4
parent03784a17950ee9f3d6ca3359cddcc37487bf4e80
net: aquantia: fix initialization of RSS table

Now RSS indirection table is initialized before setting up the number of
hw queues, consequently the table may be filled by non existing queues.
This patch moves the initialization when the number of hw queues is
known.

Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c