net/nfp: configure default RSS reta table
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 24 Nov 2017 15:31:49 +0000 (15:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitf92e94478803c2307e68bf1023e6b49106bc843d
tree19f9b00b319c1334be502c61ab419fa977257662
parentd4abcc55c5c6922ab24bb62358b6ba54fb14df87
net/nfp: configure default RSS reta table

Some apps can enable RSS but not update the reta table nor the hash.
This patch adds a default reta table setup based on total number of
configured rx queues. The hash key is dependent on how the app
configures the rx_conf struct.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c