commit | ad50451e9a3a1a99fa94c4955efd43b79a517747 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon May 15 17:55:18 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 16 12:59:02 2017 -0400 |
tree | 3ee760b2502d10112fd7afee5eaee4323ab43622 | |
parent | 28063be693c23340a17164a8e4bb347f0d9d1440 [diff] |
nfp: don't assume RSS and IRQ moderation are always enabled Even if capability for RSS and IRQ moderation are present we may have not initialized them for control vNIC. Depend on selected features mask (ctrl) rather than capabilities (cap) to determine which features should be enabled. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>