Cleanup some bogus code in the RSS config, and add the include

for the rss option file. And bump the version.

MFC after:	1 week
This commit is contained in:
Jack F Vogel 2015-01-13 22:13:30 +00:00
parent c9c75df48c
commit df1d7a71d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277151
2 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@
/*********************************************************************
* Driver version
*********************************************************************/
char ixl_driver_version[] = "1.3.0";
char ixl_driver_version[] = "1.3.1";
/*********************************************************************
* PCI Device ID Table
@ -3212,12 +3212,12 @@ static void ixl_config_rss(struct ixl_vsi *vsi)
set_hena |= ((u64)1 << I40E_FILTER_PCTYPE_NONF_IPV4_UDP);
if (rss_hash_config & RSS_HASHTYPE_RSS_IPV6)
set_hena |= ((u64)1 << I40E_FILTER_PCTYPE_NONF_IPV6_OTHER);
if (rss_hash_config & RSS_HASHTYPE_RSS_IPV6_EX)
set_hena |= ((u64)1 << I40E_FILTER_PCTYPE_FRAG_IPV6);
if (rss_hash_config & RSS_HASHTYPE_RSS_TCP_IPV6)
set_hena |= ((u64)1 << I40E_FILTER_PCTYPE_NONF_IPV6_TCP);
if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6)
set_hena |= ((u64)1 << I40E_FILTER_PCTYPE_NONF_IPV6_UDP);
if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6_EX)
set_hena |= IXGBE_MRQC_RSS_FIELD_IPV6_EX_UDP;
#else
set_hena =
((u64)1 << I40E_FILTER_PCTYPE_NONF_IPV4_UDP) |

View file

@ -40,6 +40,7 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"
#include "ixl.h"
/* Local Prototypes */