diff options
author | Jacob Keller <[email protected]> | 2018-10-29 10:52:43 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-11-07 10:32:15 -0800 |
commit | d5596fd46770550873ab4c02bcb69f83d3d63f63 (patch) | |
tree | abefc565502a3756133abf625cae5de017ad163c /scripts/bpf_helpers_doc.py | |
parent | ba766b8b99c30ad3c55ed8cf224d1185ecff1476 (diff) |
i40e: enable NETIF_F_NTUPLE and NETIF_F_HW_TC at driver load
The assignment of the feature flag NETIF_F_NTUPLE and NETIF_F_HW_TC
occurs prior to the initial setup of the local hw_features variable.
This means the features are set as user-changeable, but are not set in
the currently active feature list. This results in the features being
disabled at the driver's initial load.
Move the assignment after the initial assignment of hw_features, and
assign to the local variable. This ensures that NETIF_F_NTUPLE and
NETIF_F_HW_TC are marked as user-changeable, and also enables them by
default when the driver loads.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions