net/nfp: support hardware RSS v2
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Wed, 11 Apr 2018 13:10:15 +0000 (14:10 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:43:30 +0000 (00:43 +0200)
commit0e7970c21a4d9d23335b7044461080e320240f00
treee66c56c5f14f41a249c6c16b1244fab1089beb91
parentd14c082f867827cf1e03831b79eacefc7e9fdb68
net/nfp: support hardware RSS v2

Chained metadata instead of prepend metadata was added in
firmware version 4. However, it could be old firmwares evolving
but not supporting chained metadata.

This patch adds support for an old firmware being updated and
getting a firmware version number higher than 4, but it still not
implementing chained metadata.

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