Re: [dpdk-dev] [PATCH] net/af_xdp: free mbuf when allocate Tx queue fails

2019-04-09 Thread Ye Xiaolong
Hi, David On 04/09, David Marchand wrote: >On Tue, Apr 9, 2019 at 10:27 AM Xiaolong Ye wrote: > >> When we fail to allocate enough slots in tx queue for transmitting >> packets, we need to free the corresponding mbufs. >> > >You'd better let the application retry on its own... Make sense. > > >

Re: [dpdk-dev] [PATCH] net/af_xdp: free mbuf when allocate Tx queue fails

2019-04-09 Thread David Marchand
On Tue, Apr 9, 2019 at 10:27 AM Xiaolong Ye wrote: > When we fail to allocate enough slots in tx queue for transmitting > packets, we need to free the corresponding mbufs. > You'd better let the application retry on its own... > Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") > > Sign