commit | 3e3aa21fe9265bdc45ff795dbcc90bcdd2f1017c | [log] [tgz] |
---|---|---|
author | Helin Zhang <helin.zhang@intel.com> | Wed Oct 21 19:47:13 2015 -0400 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Nov 25 10:05:58 2015 -0800 |
tree | 586ec495d14c16639d21ae607a1ec9224f4a7bb4 | |
parent | 1418c3458118c6969d08e23aa377da7e2a7be36c [diff] |
i40e: return the number of enabled queues for ETHTOOL_GRXRINGS This patch fixes a problem where using ethtool rxnfc command could let RX flow hash be set on disabled queues. This patch fixes the problem by returning the number of enabled queues before setting rxnfc. Change-ID: Idbac86b0b47ddacc8deee7cd257e41de01cbe5c0 Signed-off-by: Helin Zhang <helin.zhang@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>