> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Tuesday, September 22, 2015 1:36 AM > To: Azarewicz, PiotrX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1 1/3] port: add mp/mc ring ports > > On Tue, 15 Sep 2015 15:06:33 +0200 > Piotr Azarewicz <piotrx.t.azarewicz at intel.com> wrote: > > > +static inline void > > +send_burst_mp(struct rte_port_ring_writer *p) > > +{ > > compiler will inline static functions anyway. No need to add inline qualifier
Hi Stephen, Using 'static inline' seems to be the standard practice in DPDK and a good practice as well. DPDK> grep 'static inline' `find -name '*.[hc]'` | wc -l 1700 Regards, Cristian