sfc: move common rx code
The moved code deals with managing rx buffers and queues. A tiny bit of refactoring was required in other files to stitch the code together. Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
5f99925632
commit
1751cc365f
@@ -128,17 +128,6 @@ static int efx_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **xdpfs,
|
||||
ASSERT_RTNL(); \
|
||||
} while (0)
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
* Channel handling
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue)
|
||||
{
|
||||
mod_timer(&rx_queue->slow_fill, jiffies + msecs_to_jiffies(10));
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
* Port handling
|
||||
|
Reference in New Issue
Block a user