[dpdk-dev] [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset failed
Ouyang, Changchun
changchun.ouyang at intel.com
Mon Jun 1 08:14:57 CEST 2015
> -----Original Message-----
> From: Wei li [mailto:liw at dtdream.com]
> Sent: Monday, June 1, 2015 2:12 PM
> To: dev at dpdk.org
> Cc: Ouyang, Changchun; liw at dtdream.com
> Subject: [PATCH v2] lib_vhost:reset secure_len when rte_atomic16_cmpset
> failed
>
> when rte_atomic16_cmpset return 0 in first loop, secure_len should be
> reset to 0 in second loop, otherwise (pkt_len > secure_len) always be false,
> the num of desc maybe not enough
>
> Signed-off-by: Wei li <liw at dtdream.com>
Acked-by: Changchun Ouyang<changchun.ouyang at intel.com>
More information about the dev
mailing list