diff options
| author | Alexander Duyck <[email protected]> | 2013-01-26 02:08:14 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-02-16 07:59:32 +0000 |
| commit | 990a3158002ff19b2d665334bc7a21a8887a123d (patch) | |
| tree | 46f0b8155e6032cd410b0dda690f0490c4c08279 /net/unix/af_unix.c | |
| parent | ixgbe: fix Tx timeouts with BQL (diff) | |
| download | kernel-990a3158002ff19b2d665334bc7a21a8887a123d.tar.gz kernel-990a3158002ff19b2d665334bc7a21a8887a123d.zip | |
ixgbe: Update DESC_NEEDED define to adjust for changes to MAX_SKB_FRAGS
Recent changes have made it so that MAX_SKB_FRAGS is now never less than 16.
As a result we were seeing issues on systems with 64K pages as it would
cause DESC_NEEDED to increase to 68, and we would need over 136 descriptors
free before clean_tx_irq would wake the queue.
This patch makes it so that DESC_NEEDED is always MAX_SKB_FRAGS + 4. This
should prevent any possible deadlocks on the systems with 64K pages as we will
now only require 42 descriptors to wake.
Signed-off-by: Alexander Duyck <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
