[BACK]Return to ixgbe.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pci / ixgbe

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pci/ixgbe/ixgbe.c between version 1.121 and 1.122

version 1.121, 2018/02/14 10:38:28 version 1.122, 2018/02/16 04:50:19
Line 411  ixgbe_initialize_rss_mapping(struct adap
Line 411  ixgbe_initialize_rss_mapping(struct adap
         int             i, j;          int             i, j;
         u32             rss_hash_config;          u32             rss_hash_config;
   
           /* force use default RSS key. */
   #ifdef __NetBSD__
           rss_getkey((uint8_t *) &rss_key);
   #else
         if (adapter->feat_en & IXGBE_FEATURE_RSS) {          if (adapter->feat_en & IXGBE_FEATURE_RSS) {
                 /* Fetch the configured RSS key */                  /* Fetch the configured RSS key */
                 rss_getkey((uint8_t *) &rss_key);                  rss_getkey((uint8_t *) &rss_key);
Line 418  ixgbe_initialize_rss_mapping(struct adap
Line 422  ixgbe_initialize_rss_mapping(struct adap
                 /* set up random bits */                  /* set up random bits */
                 cprng_fast(&rss_key, sizeof(rss_key));                  cprng_fast(&rss_key, sizeof(rss_key));
         }          }
   #endif
   
         /* Set multiplier for RETA setup and table size based on MAC */          /* Set multiplier for RETA setup and table size based on MAC */
         index_mult = 0x1;          index_mult = 0x1;

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.122

CVSweb <webmaster@jp.NetBSD.org>