[dpdk-dev] [PATCH] [new]ixgbe:set txep.mbuf to NULL when calling ixgbe_tx_free_bufs
xnhp0320 at icloud.com
Mon Aug 3 11:12:01 CEST 2015
Have to check that because I really had the panic when compile my code with dpdk 2.0.0.
Also I checked the code in the dpdk git repo. It does not check the reference count, it just only calculate
the begin positions of mbufs that really needs to be recycled.
my code is retrieved from git://dpdk.org/dpdk <git://dpdk.org/dpdk>.
Thanks for reviewing.
> 在 2015年8月3日，下午4:42，Lu, Wenzhuo <wenzhuo.lu at intel.com> 写道：
> Hi Peng,
> There’re 2 versions of ixgbe_tx_queue_release_mbufs. One in ixgbe_rxtx.c, the other is in ixgbe_rxtx_vec.c.
> What you shown is the one in ixgbe_rxtx.c. You can find the one in ixgbe_rxtx_vec.c already has the sanity check for reference count.
More information about the dev