Re: [PATCH v2 net-next 3/8] net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine

2019-10-10 Thread Lorenzo Bianconi
> Hi Lorenzo, > > On Thu, Oct 10, 2019 at 01:18:33AM +0200, Lorenzo Bianconi wrote: > > Refactor mvneta_rx_swbm code introducing mvneta_swbm_rx_frame and > > mvneta_swbm_add_rx_fragment routines. Rely on build_skb in oreder to > > allocate skb since the previous patch introduced buffer recycling

Re: [PATCH v2 net-next 3/8] net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine

2019-10-10 Thread Ilias Apalodimas
Hi Lorenzo, On Thu, Oct 10, 2019 at 01:18:33AM +0200, Lorenzo Bianconi wrote: > Refactor mvneta_rx_swbm code introducing mvneta_swbm_rx_frame and > mvneta_swbm_add_rx_fragment routines. Rely on build_skb in oreder to > allocate skb since the previous patch introduced buffer recycling using > the

[PATCH v2 net-next 3/8] net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine

2019-10-09 Thread Lorenzo Bianconi
Refactor mvneta_rx_swbm code introducing mvneta_swbm_rx_frame and mvneta_swbm_add_rx_fragment routines. Rely on build_skb in oreder to allocate skb since the previous patch introduced buffer recycling using the page_pool API. This patch fixes even an issue in the original driver where dma buffers a