> -----Original Message----- > From: David Marchand [mailto:[email protected]] > Sent: Tuesday, August 13, 2019 17:58 > To: Stephen Hemminger <[email protected]>; Wang, Haiyue > <[email protected]> > Cc: dev <[email protected]>; Neil Horman <[email protected]> > Subject: Re: [dpdk-dev] [RFC v2 1/3] ethdev: add the API for getting trace > information > > On Tue, Aug 13, 2019 at 5:24 AM Stephen Hemminger > <[email protected]> wrote: > > > > On Tue, 13 Aug 2019 11:06:10 +0800 > > Haiyue Wang <[email protected]> wrote: > > > > int rte_eth_tx_queue_info_get(uint16_t port_id, uint16_t queue_id, > > > struct rte_eth_txq_info *qinfo); > > > > > > +int > > > +rte_eth_trace_info_get(uint16_t port_id, uint16_t queue_id, > > > + enum rte_eth_trace type, char *buf, int sz); > > > + > > > > You didn't run checkpatch, otherwise you would have seen complaints > > about not listing API as experimental. > > The checks in checkpatches.sh won't catch this. > But trying to build dpdk as a shared library will. > > Example: https://travis-ci.com/david-marchand/dpdk/jobs/224737320 > >
Got it, thanks for sharing, just for a quick RFC, missed something in detail for making an API. > -- > David Marchand

