Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-30 Thread Ye Xiaolong
On 04/30, Ferruh Yigit wrote: >On 4/30/2019 3:06 AM, Ye Xiaolong wrote: >> Hi, Ferruh >> >> On 04/29, Ferruh Yigit wrote: >>> On 4/26/2019 6:09 AM, Xiaolong Ye wrote: Since 18.11, it is suggested that driver should release all its private resources at the dev_close routine. So all resour

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-30 Thread Ferruh Yigit
On 4/30/2019 8:55 AM, Thomas Monjalon wrote: > 30/04/2019 09:33, Ferruh Yigit: >> On 4/29/2019 11:34 PM, Thomas Monjalon wrote: >>> 30/04/2019 00:28, Ferruh Yigit: On 4/29/2019 9:14 PM, Thomas Monjalon wrote: > 29/04/2019 19:00, Ferruh Yigit: >> On 4/26/2019 6:09 AM, Xiaolong Ye wrote:

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-30 Thread Thomas Monjalon
30/04/2019 09:33, Ferruh Yigit: > On 4/29/2019 11:34 PM, Thomas Monjalon wrote: > > 30/04/2019 00:28, Ferruh Yigit: > >> On 4/29/2019 9:14 PM, Thomas Monjalon wrote: > >>> 29/04/2019 19:00, Ferruh Yigit: > On 4/26/2019 6:09 AM, Xiaolong Ye wrote: > > Since 18.11, it is suggested that drive

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-30 Thread Ferruh Yigit
On 4/30/2019 3:06 AM, Ye Xiaolong wrote: > Hi, Ferruh > > On 04/29, Ferruh Yigit wrote: >> On 4/26/2019 6:09 AM, Xiaolong Ye wrote: >>> Since 18.11, it is suggested that driver should release all its private >>> resources at the dev_close routine. So all resources previously released >>> in remove

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-30 Thread Ferruh Yigit
On 4/29/2019 11:34 PM, Thomas Monjalon wrote: > 30/04/2019 00:28, Ferruh Yigit: >> On 4/29/2019 9:14 PM, Thomas Monjalon wrote: >>> 29/04/2019 19:00, Ferruh Yigit: On 4/26/2019 6:09 AM, Xiaolong Ye wrote: > Since 18.11, it is suggested that driver should release all its private > resou

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-29 Thread Ye Xiaolong
Hi, Ferruh On 04/29, Ferruh Yigit wrote: >On 4/26/2019 6:09 AM, Xiaolong Ye wrote: >> Since 18.11, it is suggested that driver should release all its private >> resources at the dev_close routine. So all resources previously released >> in remove routine are now released at the dev_close routine,

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-29 Thread Thomas Monjalon
30/04/2019 00:28, Ferruh Yigit: > On 4/29/2019 9:14 PM, Thomas Monjalon wrote: > > 29/04/2019 19:00, Ferruh Yigit: > >> On 4/26/2019 6:09 AM, Xiaolong Ye wrote: > >>> Since 18.11, it is suggested that driver should release all its private > >>> resources at the dev_close routine. So all resources p

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-29 Thread Ferruh Yigit
On 4/29/2019 9:14 PM, Thomas Monjalon wrote: > 29/04/2019 19:00, Ferruh Yigit: >> On 4/26/2019 6:09 AM, Xiaolong Ye wrote: >>> Since 18.11, it is suggested that driver should release all its private >>> resources at the dev_close routine. So all resources previously released >>> in remove routine a

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-29 Thread Thomas Monjalon
29/04/2019 19:00, Ferruh Yigit: > On 4/26/2019 6:09 AM, Xiaolong Ye wrote: > > Since 18.11, it is suggested that driver should release all its private > > resources at the dev_close routine. So all resources previously released > > in remove routine are now released at the dev_close routine, and th

Re: [dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-29 Thread Ferruh Yigit
On 4/26/2019 6:09 AM, Xiaolong Ye wrote: > Since 18.11, it is suggested that driver should release all its private > resources at the dev_close routine. So all resources previously released > in remove routine are now released at the dev_close routine, and the > dev_close routine will be called in

[dpdk-dev] [PATCH v1 1/2] net/af_xdp: remove resources when port is closed

2019-04-25 Thread Xiaolong Ye
Since 18.11, it is suggested that driver should release all its private resources at the dev_close routine. So all resources previously released in remove routine are now released at the dev_close routine, and the dev_close routine will be called in driver remove routine in order to support removin