Re: [PATCH net-next 4/4] net: aquantia: add support of RSS configuration

2018-12-07 Thread Igor Russkikh
>> +/* Fill out the redirection table */ >> +if (indir) { >> +/* Verify user input. */ >> +for (i = 0; i < rss_entries; i++) >> +if (indir[i] >= cfg->num_rss_queues) >> +return -EINVAL; > > nit: you shouldn't have to

Re: [PATCH net-next 4/4] net: aquantia: add support of RSS configuration

2018-12-06 Thread Jakub Kicinski
On Thu, 6 Dec 2018 15:02:52 +, Igor Russkikh wrote: > From: Dmitry Bogdanov > > Add support of configuration of RSS hash key and RSS indirection table. > > Signed-off-by: Dmitry Bogdanov > Signed-off-by: Igor Russkikh > --- > .../ethernet/aquantia/atlantic/aq_ethtool.c | 42

[PATCH net-next 4/4] net: aquantia: add support of RSS configuration

2018-12-06 Thread Igor Russkikh
From: Dmitry Bogdanov Add support of configuration of RSS hash key and RSS indirection table. Signed-off-by: Dmitry Bogdanov Signed-off-by: Igor Russkikh --- .../ethernet/aquantia/atlantic/aq_ethtool.c | 42 +++ 1 file changed, 42 insertions(+) diff --git a/drivers/net/ethe