Commit 069db9c
ixgbe: Fix Tx map failure path
This patch is a partial revert of "ixgbe: Don't bother clearing buffer
memory for descriptor rings". Specifically I messed up the exception
handling path a bit and this resulted in us incorrectly adding the count
back in when we didn't need to.
In order to make this simpler I am reverting most of the exception handling
path change and instead just replacing the bit that was handled by the
unmap_and_free call.
Fixes: ffed21b ("ixgbe: Don't bother clearing buffer memory for descriptor rings")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>1 parent 104ba83 commit 069db9c
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8020 | 8020 | | |
8021 | 8021 | | |
8022 | 8022 | | |
8023 | | - | |
8024 | 8023 | | |
8025 | 8024 | | |
8026 | | - | |
| 8025 | + | |
| 8026 | + | |
8027 | 8027 | | |
8028 | 8028 | | |
8029 | 8029 | | |
8030 | 8030 | | |
8031 | 8031 | | |
8032 | 8032 | | |
8033 | | - | |
8034 | | - | |
| 8033 | + | |
| 8034 | + | |
| 8035 | + | |
8035 | 8036 | | |
8036 | | - | |
| 8037 | + | |
8037 | 8038 | | |
8038 | 8039 | | |
8039 | | - | |
8040 | | - | |
8041 | | - | |
8042 | | - | |
8043 | | - | |
8044 | | - | |
8045 | | - | |
8046 | 8040 | | |
8047 | 8041 | | |
8048 | 8042 | | |
| |||
0 commit comments