virtchnl: Fix layout of RSS structures
authorNorbert Ciosek <norbertx.ciosek@intel.com>
Thu, 28 Jan 2021 18:17:02 +0000 (10:17 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 25 Mar 2021 16:28:32 +0000 (09:28 -0700)
commit22f8b5df881e9f1302514bbbbbb8649c2051de55
treea5717ed106d4122ce01760a1c5441e4f69f62046
parente43accba9b071dcd106b5e7643b1b106a158cbb1
virtchnl: Fix layout of RSS structures

Remove padding from RSS structures. Previous layout
could lead to unwanted compiler optimizations
in loops when iterating over key and lut arrays.

Fixes: 65ece6de0114 ("virtchnl: Add missing explicit padding to structures")
Signed-off-by: Norbert Ciosek <norbertx.ciosek@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
include/linux/avf/virtchnl.h