diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-03-14 10:15:22 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-03-29 02:15:06 -0700 |
commit | d57c0e08c70162feab9ccab085fc34095d2dfd11 (patch) | |
tree | bcb9e56e6dc5bdcd7d5e4c0ed6ac62161259f07a /mm | |
parent | 3a104f8df2ca87d6d116eae5f2442b57dc3baec4 (diff) |
i40e/i40evf: Use length to determine if descriptor is done
This change makes it so that we use the length of the packet instead of the
DD status bit to determine if a new descriptor is ready to be processed.
The obvious advantage is that it cuts down on reads as we don't really even
need the DD bit if going from a 0 to a non-zero value on size is enough to
inform us that the packet has been completed.
Change-ID: Iebdf9cdb36c454ef092df27199b92ad09c374231
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions