caviumnetworks.com
> Subject: Re: [dpdk-dev] [PATCH] eventdev: set rte errno in port link/unlink
> functions
> User-Agent: Mutt/1.9.1 (2017-09-22)
>
> -Original Message-
> > Date: Tue, 14 Nov 2017 16:44:10 -0600
> > From: Gage Eads
> > To: dev@dpdk.org
&g
-Original Message-
> Date: Tue, 14 Nov 2017 16:44:10 -0600
> From: Gage Eads
> To: dev@dpdk.org
> CC: jerin.ja...@caviumnetworks.com, harry.van.haa...@intel.com,
> bruce.richard...@intel.com, hemant.agra...@nxp.com, nipun.gu...@nxp.com,
> santosh.shu...@caviumnetworks.com, pbhagavat...@c
The return value for rte_event_port_{link, unlink}() is defined as the
"number of {links, unlinks} actually established." However, the eventdev
layer's error checking returns negative error values. This commit aligns
the eventdev code with the API definition by having it set rte_errno and
return 0
3 matches
Mail list logo