[dpdk-dev] [PATCH v3 2/2] vhost: call rte_pktmbuf_alloc_bulk in vhost dequeue
Xie, Huawei
huawei.xie at intel.com
Wed Dec 23 12:39:05 CET 2015
On 12/23/2015 7:25 PM, linhaifeng wrote:
>
>>
>> + if (unlikely(alloc_err)) {
>> + uint16_t i = entry_success;
>> +
>> + m->nb_segs = seg_num;
>> + for (; i < free_entries; i++)
>> + rte_pktmbuf_free(pkts[entry_success]); -> rte_pktmbuf_free(pkts[i]);
>> + }
>> +
>> rte_compiler_barrier();
>> vq->used->idx += entry_success;
>> /* Kick guest if required. */
Very sorry for silly typo. Thanks!
>>
>
>
More information about the dev
mailing list