|
@@ -227,6 +227,8 @@ static const struct i40e_priv_flags i40e_gstrings_priv_flags[] = {
|
|
I40E_PRIV_FLAG("veb-stats", I40E_FLAG_VEB_STATS_ENABLED, 0),
|
|
I40E_PRIV_FLAG("veb-stats", I40E_FLAG_VEB_STATS_ENABLED, 0),
|
|
I40E_PRIV_FLAG("hw-atr-eviction", I40E_FLAG_HW_ATR_EVICT_ENABLED, 0),
|
|
I40E_PRIV_FLAG("hw-atr-eviction", I40E_FLAG_HW_ATR_EVICT_ENABLED, 0),
|
|
I40E_PRIV_FLAG("legacy-rx", I40E_FLAG_LEGACY_RX, 0),
|
|
I40E_PRIV_FLAG("legacy-rx", I40E_FLAG_LEGACY_RX, 0),
|
|
|
|
+ I40E_PRIV_FLAG("disable-source-pruning",
|
|
|
|
+ I40E_FLAG_SOURCE_PRUNING_DISABLED, 0),
|
|
};
|
|
};
|
|
|
|
|
|
#define I40E_PRIV_FLAGS_STR_LEN ARRAY_SIZE(i40e_gstrings_priv_flags)
|
|
#define I40E_PRIV_FLAGS_STR_LEN ARRAY_SIZE(i40e_gstrings_priv_flags)
|
|
@@ -4189,8 +4191,9 @@ flags_complete:
|
|
/* Issue reset to cause things to take effect, as additional bits
|
|
/* Issue reset to cause things to take effect, as additional bits
|
|
* are added we will need to create a mask of bits requiring reset
|
|
* are added we will need to create a mask of bits requiring reset
|
|
*/
|
|
*/
|
|
- if ((changed_flags & I40E_FLAG_VEB_STATS_ENABLED) ||
|
|
|
|
- ((changed_flags & I40E_FLAG_LEGACY_RX) && netif_running(dev)))
|
|
|
|
|
|
+ if (changed_flags & (I40E_FLAG_VEB_STATS_ENABLED |
|
|
|
|
+ I40E_FLAG_LEGACY_RX |
|
|
|
|
+ I40E_FLAG_SOURCE_PRUNING_DISABLED))
|
|
i40e_do_reset(pf, BIT(__I40E_PF_RESET_REQUESTED), true);
|
|
i40e_do_reset(pf, BIT(__I40E_PF_RESET_REQUESTED), true);
|
|
|
|
|
|
return 0;
|
|
return 0;
|