diff options
author | Brett Creeley <brett.creeley@intel.com> | 2020-02-06 01:20:02 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-02-12 11:48:22 -0800 |
commit | 168983a8e19b89efd175661e53faa6246be363a0 (patch) | |
tree | b310e04fd11ef32130e77af8fd983f41395817d6 /drivers/net/ethernet/i825xx | |
parent | ad9a87bec3d004ce80e9104e3a0aa6a204a15dbf (diff) |
ice: Don't allow same value for Rx tail to be written twice
Currently we compare the value we are about to write to the Rx tail
register with the previous value of next_to_use. The problem with this
is we only write tail on 8 descriptor boundaries, but next_to_use is
updated whenever we clean Rx descriptors. Fix this by comparing the
value we are about to write to tail with the previously written tail
value. This will prevent duplicate Rx tail bumps.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/i825xx')
0 files changed, 0 insertions, 0 deletions