[dpdk-dev] [PATCH 3/8] virtio: add software rx ring, fake_buf, simple_rxtx into virtqueue

Stephen Hemminger stephen at networkplumber.org
Tue Sep 29 18:15:05 CEST 2015


On Tue, 29 Sep 2015 22:45:48 +0800
Huawei Xie <huawei.xie at intel.com> wrote:

> +		if (vq->sw_ring)
> +			rte_free(vq->sw_ring);

	rte_free of NULL is a nop so conditional here is unnecessary


More information about the dev mailing list