net/i40e: forbid two RSS flow rules
authorWei Zhao <wei.zhao1@intel.com>
Thu, 9 May 2019 02:59:30 +0000 (10:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 May 2019 16:40:06 +0000 (18:40 +0200)
commitb2319e4c015c1f216d23b1bbec0dfbd644e433f3
tree02605c225acc4fe62162cc353608447d956ba2db
parentf0e1ba5e9505a0497059a6166cfbed33a8f71648
net/i40e: forbid two RSS flow rules

Refuse to create the second RSS flow rule as only one RSS key and
HASH register for each PF port. Users should delete the first rule
before setup the second rule.

Fixes: ecad87d22383 ("net/i40e: move RSS to flow API")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Wenjie Li <wenjiex.a.li@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_flow.c