linux/drivers/net/ethernet/intel/i40evf
Alexander Duyck a0cfc3130e i40e/i40evf: Pull out code for cleaning up Rx buffers
This patch pulls out the code responsible for handling buffer recycling and
page counting and distributes it through several functions.  This allows us
to commonize the bits that handle either freeing or recycling the buffers.

As far as the page count tracking one change to the logic is that
pagecnt_bias is decremented as soon as we call i40e_get_rx_buffer.  It is
then the responsibility of the function that pulls the data to either
increment the pagecnt_bias if the buffer can be recycled as-is, or to
update page_offset so that we are pointing at the correct location for
placement of the next buffer.

Change-ID: Ibac576360cb7f0b1627f2a993d13c1a8a2bf60af
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>
2017-03-29 02:15:06 -07:00
..
i40e_adminq.c i40e: Implementation of ERROR state for NVM update state machine 2016-10-31 14:26:40 -07:00
i40e_adminq.h i40e: Move NVM variable out of AQ struct 2016-04-06 18:45:11 -07:00
i40e_adminq_cmd.h i40e: fix up recent proxy and wol bits for X722_SUPPORT 2017-03-14 17:52:32 -07:00
i40e_alloc.h
i40e_common.c i40e: use register for XL722 control register read/write 2017-03-29 02:15:06 -07:00
i40e_devids.h i40e: Remove FPK HyperV VF device ID 2017-02-02 22:41:40 -08:00
i40e_hmc.h
i40e_lan_hmc.h
i40e_osdep.h
i40e_prototype.h i40e: Add functions which apply correct PHY access method for read and write operation 2016-12-06 21:09:39 -08:00
i40e_register.h
i40e_status.h
i40e_txrx.c i40e/i40evf: Pull out code for cleaning up Rx buffers 2017-03-29 02:15:06 -07:00
i40e_txrx.h i40evf: enforce descriptor write-back mechanism for VF 2017-03-29 02:15:06 -07:00
i40e_type.h i40e: Save link FEC info from link up event 2017-02-11 20:39:01 -08:00
i40e_virtchnl.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf_client.c i40evf: dereference VSI after VSI has been null checked 2017-03-27 16:47:44 -07:00
i40evf_client.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf_ethtool.c i40evf: use new api ethtool_{get|set}_link_ksettings 2017-03-20 16:43:30 -07:00
i40evf_main.c i40e/i40evf: Change version from 1.6.27 to 2.1.7 2017-03-15 02:01:27 -07:00
i40evf_virtchnl.c i40evf: enforce descriptor write-back mechanism for VF 2017-03-29 02:15:06 -07:00
Makefile i40evf: add client interface 2017-03-15 01:31:38 -07:00