]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_ixv: disable RSS configuration on 82599 and X540 VFs
authoravg <avg@FreeBSD.org>
Tue, 5 Nov 2019 06:34:20 +0000 (06:34 +0000)
committeravg <avg@FreeBSD.org>
Tue, 5 Nov 2019 06:34:20 +0000 (06:34 +0000)
commita58fa19a6304b2af5e83968be1421167a1fe5314
tree51eb6078b881071b9022cedca84876cee3005b29
parenta649fd56eb9f18667e1af8b852189c431f9502ca
if_ixv: disable RSS configuration on 82599 and X540 VFs

It is reported that those VFs share their RSS configuration with PF and,
thus, they cannot be configured independently.

Also:
- add missing opt_rss.h to if_ixv.c, otherwise RSS kernel option could
  not be seen
- do not enable IXGBE_FEATURE_RSS on the older VFs
- set flowid / hash type to M_HASHTYPE_NONE or M_HASHTYPE_OPAQUE_HASH
  (based on what the hardware reports) if IXGBE_FEATURE_RSS is not set

Reviewed by: nobody
MFC after: 4 weeks
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D21705
sys/dev/ixgbe/if_ixv.c
sys/dev/ixgbe/ix_txrx.c