[dpdk-dev] [PATCH v3] mbuf: decrease refcnt when detaching

2016-05-18 Thread Hiroyuki Mikita
Hi Olivier, Thanks for reviewing. I am fixing the patch to follow your comments. Regards, Hiroyuki 2016-05-18 20:58 GMT+09:00 Olivier Matz : > Hi Hiroyuki, > > Thanks for submitting a new version. > > There are some styling issues in the patch, I highlighted them below > but you can check them

[dpdk-dev] [PATCH v3] mbuf: decrease refcnt when detaching

2016-05-18 Thread Olivier Matz
Hi Hiroyuki, Thanks for submitting a new version. There are some styling issues in the patch, I highlighted them below but you can check them by using checkpatch: DPDK_CHECKPATCH_PATH=/path/to/linux/checkpatch.pl \ scripts/checkpatches.sh file.patch On 05/17/2016 06:35 PM, Hiroyuki Mikit

[dpdk-dev] [PATCH v3] mbuf: decrease refcnt when detaching

2016-05-18 Thread Hiroyuki Mikita
The rte_pktmbuf_detach() function should decrease refcnt on a direct buffer. Signed-off-by: Hiroyuki Mikita --- v3: * fixed rte_pktmbuf_detach() to decrease refcnt. * free the direct mbuf when refcnt becomes 0. * added this issue to Resolved Issues in release notes. v2: * introduced a new functi