net/ice: refactor RSS config wrap and fix potential bugs
authorJunfeng Guo <junfeng.guo@intel.com>
Tue, 13 Oct 2020 06:25:55 +0000 (14:25 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:47:58 +0000 (19:47 +0200)
commiteb0285967ce29187c04c75f5fd9ed4b7b53535e2
tree718b643349c8f3815f776343deea4d61e9bb2c6d
parent43eda38f51a87070b65d57f6e4dc1d4ad635d517
net/ice: refactor RSS config wrap and fix potential bugs

Current implementation for PF RSS config wrap function has some
potential bugs about GTPU, e.g., same input set for GTPU inner and
non-TUN have different hash values, which should be same. Thus, we
use extra pre and post processing to re-config GTPU rules.

Fixes: 185fe122f489 ("net/ice: fix GTPU down/uplink and extension conflict")
Cc: stable@dpdk.org
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h