diff options
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_txrx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c index 5a2218762db1..1fe28ca18296 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c +++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.c | |||
| @@ -458,13 +458,13 @@ static void i40e_fd_handle_status(struct i40e_ring *rx_ring, | |||
| 458 | */ | 458 | */ |
| 459 | if (fcnt_prog >= (fcnt_avail - I40E_FDIR_BUFFER_FULL_MARGIN)) { | 459 | if (fcnt_prog >= (fcnt_avail - I40E_FDIR_BUFFER_FULL_MARGIN)) { |
| 460 | /* Turn off ATR first */ | 460 | /* Turn off ATR first */ |
| 461 | if (pf->flags | I40E_FLAG_FD_ATR_ENABLED) { | 461 | if (pf->flags & I40E_FLAG_FD_ATR_ENABLED) { |
| 462 | pf->flags &= ~I40E_FLAG_FD_ATR_ENABLED; | 462 | pf->flags &= ~I40E_FLAG_FD_ATR_ENABLED; |
| 463 | dev_warn(&pdev->dev, "FD filter space full, ATR for further flows will be turned off\n"); | 463 | dev_warn(&pdev->dev, "FD filter space full, ATR for further flows will be turned off\n"); |
| 464 | pf->auto_disable_flags |= | 464 | pf->auto_disable_flags |= |
| 465 | I40E_FLAG_FD_ATR_ENABLED; | 465 | I40E_FLAG_FD_ATR_ENABLED; |
| 466 | pf->flags |= I40E_FLAG_FDIR_REQUIRES_REINIT; | 466 | pf->flags |= I40E_FLAG_FDIR_REQUIRES_REINIT; |
| 467 | } else if (pf->flags | I40E_FLAG_FD_SB_ENABLED) { | 467 | } else if (pf->flags & I40E_FLAG_FD_SB_ENABLED) { |
| 468 | pf->flags &= ~I40E_FLAG_FD_SB_ENABLED; | 468 | pf->flags &= ~I40E_FLAG_FD_SB_ENABLED; |
| 469 | dev_warn(&pdev->dev, "FD filter space full, new ntuple rules will not be added\n"); | 469 | dev_warn(&pdev->dev, "FD filter space full, new ntuple rules will not be added\n"); |
| 470 | pf->auto_disable_flags |= | 470 | pf->auto_disable_flags |= |
