]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
virtchnl: Fix layout of RSS structures
authorNorbert Ciosek <norbertx.ciosek@intel.com>
Thu, 28 Jan 2021 18:17:02 +0000 (10:17 -0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:33 +0000 (09:53 +0200)
commitfddf51808d53124d4ffe54e0ec66f151bd06e57e
tree544e5f17d14be42349bfae5a1849e9d1bb8b172c
parent76ebe2e98e72c6ede1dd5e8258f37b15e9a2a719
virtchnl: Fix layout of RSS structures

BugLink: https://bugs.launchpad.net/bugs/1926368
[ Upstream commit 22f8b5df881e9f1302514bbbbbb8649c2051de55 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/linux/avf/virtchnl.h