summaryrefslogtreecommitdiff
path: root/drivers/net/wan/slic_ds26522.h
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2019-05-14 10:37:09 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-06-17 15:39:26 -0700
commitefa14c3985828da3163f5372137cb64d992b0f79 (patch)
tree3b2fa40bc5029a871cc45ebaf97b772f08edb7b6 /drivers/net/wan/slic_ds26522.h
parent68dfe6348f06945f900bfea803e1e030e7e158e6 (diff)
iavf: allow null RX descriptors
In some circumstances, the hardware can hand us a null receive descriptor, with no data attached but otherwise valid. Unfortunately, the driver was ill-equipped to handle such an event, and would stop processing packets at that point. To fix this, use the Descriptor Done bit instead of the size to determine whether or not a descriptor is ready to be processed. Add some checks to allow for unused buffers. Signed-off-by: Mitch Williams <mitch.a.williams@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/wan/slic_ds26522.h')
0 files changed, 0 insertions, 0 deletions