[dpdk-dev] [PATCH v2] doc: update ethdev APIs to return named opaque type

Jerin Jacob jerin.jacob at caviumnetworks.com
Sat Feb 10 13:02:30 CET 2018


-----Original Message-----
> Date: Fri, 9 Feb 2018 13:22:06 +0000
> From: "Ananyev, Konstantin" <konstantin.ananyev at intel.com>
> To: "Yigit, Ferruh" <ferruh.yigit at intel.com>, Neil Horman
>  <nhorman at tuxdriver.com>, "Mcnamara, John" <john.mcnamara at intel.com>,
>  "Kovacevic, Marko" <marko.kovacevic at intel.com>
> CC: "dev at dpdk.org" <dev at dpdk.org>, Stephen Hemminger
>  <stephen at networkplumber.org>, "Richardson, Bruce"
>  <bruce.richardson at intel.com>, Thomas Monjalon <thomas at monjalon.net>
> Subject: Re: [dpdk-dev] [PATCH v2] doc: update ethdev APIs to return named
>  opaque type
> 
> 
> 
> > -----Original Message-----
> > From: Yigit, Ferruh
> > Sent: Friday, February 9, 2018 10:18 AM
> > To: Neil Horman <nhorman at tuxdriver.com>; Mcnamara, John <john.mcnamara at intel.com>; Kovacevic, Marko
> > <marko.kovacevic at intel.com>
> > Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; Ananyev, Konstantin <konstantin.ananyev at intel.com>; Stephen Hemminger
> > <stephen at networkplumber.org>; Richardson, Bruce <bruce.richardson at intel.com>; Thomas Monjalon <thomas at monjalon.net>
> > Subject: [PATCH v2] doc: update ethdev APIs to return named opaque type
> > 
> > Ethdev APIs to add callback return the callback object as "void *",
> > update return type to actual object type
> > "struct rte_eth_rxtx_callback *"
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> > ---
> > Cc: Konstantin Ananyev <konstantin.ananyev at intel.com>
> > Cc: Stephen Hemminger <stephen at networkplumber.org>
> > Cc: Bruce Richardson <bruce.richardson at intel.com>
> > Cc: Thomas Monjalon <thomas at monjalon.net>
> > ---
> >  doc/guides/rel_notes/deprecation.rst | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> > index bbd9456a7..5cb5a00d2 100644
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > @@ -49,6 +49,13 @@ Deprecation Notices
> >    rte_eth_dev_get_sec_ctx() is using uint8_t for port_id, which should be
> >    uint16_t.
> > 
> > +* ethdev: functions add rx/tx callback will return named opaque type
> > +  rte_eth_add_rx_callback(), rte_eth_add_first_rx_callback() and
> > +  rte_eth_add_tx_callback() functions currently return callback object as
> > +  "void \*" but APIs to delete callbacks get "struct rte_eth_rxtx_callback \*"
> > +  as parameter. For consistency functions adding callback will return
> > +  "struct rte_eth_rxtx_callback \*" instead of "void * ".
> > +
> >  * i40e: The default flexible payload configuration which extracts the first 16
> >    bytes of the payload for RSS will be deprecated starting from 18.02. If
> >    required the previous behavior can be configured using existing flow
> > --
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

> 
> > 2.14.3
> 


More information about the dev mailing list