Re: [PATCH net-next 5/8] ice: move skb pointer from rx_buf to rx_ring

2020-12-14 Thread Maciej Fijalkowski
On Fri, Dec 11, 2020 at 08:23:15PM -0800, Jakub Kicinski wrote: > On Fri, 11 Dec 2020 17:49:53 +0100 Maciej Fijalkowski wrote: > > @@ -864,14 +865,12 @@ ice_reuse_rx_page(struct ice_ring *rx_ring, struct > > ice_rx_buf *old_buf) > > * for use by the CPU. > > */ > > static struct ice_rx_buf *

Re: [PATCH net-next 5/8] ice: move skb pointer from rx_buf to rx_ring

2020-12-11 Thread Jakub Kicinski
On Fri, 11 Dec 2020 17:49:53 +0100 Maciej Fijalkowski wrote: > @@ -864,14 +865,12 @@ ice_reuse_rx_page(struct ice_ring *rx_ring, struct > ice_rx_buf *old_buf) > * for use by the CPU. > */ > static struct ice_rx_buf * > -ice_get_rx_buf(struct ice_ring *rx_ring, struct sk_buff **skb, > -

[PATCH net-next 5/8] ice: move skb pointer from rx_buf to rx_ring

2020-12-11 Thread Maciej Fijalkowski
Similar thing had been done in i40e, as there is no real need for having the sk_buff pointer in each rx_buf. Non-eop frames can be simply handled on that pointer moved upwards to rx_ring. Signed-off-by: Maciej Fijalkowski --- drivers/net/ethernet/intel/ice/ice_txrx.c | 28 ++-