numam-dpdk/drivers/net/enic
Hyong Youb Kim 3656c30e48 net/enic: fix RSS hash type advertisement
The NIC can hash these RSS packet types, but they are not advertised
via flow_type_rss_offloads. So add them.
- Part of the IPv4 hash:
  ETH_RSS_FRAG_IPV4
  ETH_RSS_NONFRAG_IPV4_OTHER
- Part of the IPv6 hash:
  ETH_RSS_FRAG_IPV6
  ETH_RSS_NONFRAG_IPV6_OTHER
- Part of the UDP hash:
  ETH_RSS_IPV6_UDP_EX

Also, do not use NIC_CFG_RSS_HASH_TYPE_IPV6_EX and
NIC_CFG_RSS_HASH_TYPE_TCP_IPV6_EX, as they are not needed to enable
RSS over IPv6 with extension headers.

Fixes: c2fec27b5c ("net/enic: allow to change RSS settings")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
Reviewed-by: Aaron Conole <aconole@redhat.com>
2018-05-14 22:31:50 +01:00
..
base net/enic: enable RQ first and then post Rx buffers 2018-05-14 22:31:50 +01:00
enic_clsf.c net/enic: avoid strict aliasing warnings 2018-03-30 14:08:43 +02:00
enic_compat.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
enic_ethdev.c net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
enic_flow.c ethdev: add transfer attribute to flow API 2018-04-27 18:00:54 +01:00
enic_main.c net/enic: fix RSS hash type advertisement 2018-05-14 22:31:50 +01:00
enic_res.c net/enic: fix RSS hash type advertisement 2018-05-14 22:31:50 +01:00
enic_res.h net/enic: allow to change RSS settings 2018-03-30 14:08:43 +02:00
enic_rxtx.c net/enic: set rte errno to positive value 2018-05-14 22:31:50 +01:00
enic.h net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
Makefile net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
meson.build net/enic: support meson 2018-03-30 14:08:43 +02:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00