net/iavf: fix default RSS hash for IP fragments
authorWenjun Wu <wenjun1.wu@intel.com>
Tue, 17 Aug 2021 08:44:01 +0000 (16:44 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Sun, 29 Aug 2021 11:46:06 +0000 (13:46 +0200)
commit54d78462344e2b3ec0a54cb6f13af0bf3da47032
tree4d79b487871353f8c7f7aa374e2417b5f449efbf
parentfc299d7348f04bbe834aedd12b4a900f986b4eb9
net/iavf: fix default RSS hash for IP fragments

Previously, hash value is calculated by src IP address, dst IP address
and IP ID. However, default RSS field only needs src and dst IP address.

This patch removes IP ID from default RSS field for IP fragment packets
to improve default RSS configuration.

Fixes: 9e29a278bc0c ("net/iavf: support default RSS for IP fragment")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_hash.c