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

Thomas Monjalon thomas at monjalon.net
Wed Feb 14 18:10:44 CET 2018


> >>> 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>
> >>> ---
> >>> +* 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>
> > 
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>

Applied


More information about the dev mailing list