linux/drivers/net/ethernet/intel/ixgbevf
Emil Tantilov 24bff091d7 ixgbevf: use length to determine if descriptor is done
Based on:
commit 7ec0116c91 ("igb: 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.

In addition we only reset the Rx descriptor length for descriptor zero when
resetting a ring instead of having to do a memset with 0 over the entire
ring. By doing this we can save some time on initialization.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-01-26 07:46:50 -08:00
..
defines.h ixgbevf: add VF support for new hardware 2016-07-22 01:27:47 -07:00
ethtool.c ixgbevf: Check for RSS key before setting value 2017-04-29 20:01:04 -07:00
ixgbevf_main.c ixgbevf: use length to determine if descriptor is done 2018-01-26 07:46:50 -08:00
ixgbevf.h ixgbevf: Check for RSS key before setting value 2017-04-29 20:01:04 -07:00
Makefile
mbx.c ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val 2016-06-29 09:18:06 -07:00
mbx.h ixgbevf: Add support for VF promiscuous mode 2017-01-03 13:03:40 -08:00
regs.h ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
vf.c ixgbevf: Fix kernel-doc format warnings 2018-01-12 08:20:47 -08:00
vf.h locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:01:08 +02:00