> -----Original Message----- > From: Stephen Hemminger <step...@networkplumber.org> > Sent: Thursday, November 1, 2018 6:08 AM > To: Gavin Hu (Arm Technology China) <gavin...@arm.com> > Cc: dev@dpdk.org; tho...@monjalon.net; olivier.m...@6wind.com; > chao...@linux.vnet.ibm.com; bruce.richard...@intel.com; > konstantin.anan...@intel.com; jerin.ja...@caviumnetworks.com; > Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/2] ring: synchronize the load and store > of the tail > > On Wed, 31 Oct 2018 18:26:26 +0800 > Gavin Hu <gavin...@arm.com> wrote: > > > -/* > > - * The subtraction is done between two unsigned 32bits > value > > +/* load-acquire synchronize with store-release of ht->tail > > + * in update_tail. > > + */ > > +const uint32_t cons_tail > > Please don't mix declarations and code. Although it is sometimes used in > DPDK, in general the style is to have declarations at the start of the block > scope. Thanks for review, your comment was address in v4. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [dpdk-dev] [PATCH v3 1/2] ring: synchronize the load and store of the tail
Gavin Hu (Arm Technology China) Thu, 01 Nov 2018 02:56:47 -0700
- [dpdk-dev] [PATCH v4 2/2] ring: m... Gavin Hu
- Re: [dpdk-dev] [PATCH v4 2/2]... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v4 ... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [PATC... Honnappa Nagarahalli
- Re: [dpdk-dev] [... Gavin Hu (Arm Technology China)
- Re: [dpdk-dev] [... Thomas Monjalon
- Re: [dpdk-dev] [... Gavin Hu (Arm Technology China)
- [dpdk-dev] [PATCH v4 1/2] ring: s... Gavin Hu
- [dpdk-dev] [PATCH v3 1/2] ring: synch... Gavin Hu
- Re: [dpdk-dev] [PATCH v3 1/2] rin... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v3 1/2]... Gavin Hu (Arm Technology China)
- [dpdk-dev] [PATCH v3 2/2] ring: move ... Gavin Hu
- [dpdk-dev] [PATCH v2 2/2] ring: move the a... Gavin Hu
- Re: [dpdk-dev] [PATCH v2 2/2] ring: m... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 2/2] rin... Gavin Hu (Arm Technology China)
- [dpdk-dev] [PATCH v2 1/2] ring: synchroniz... Gavin Hu
- [dpdk-dev] [PATCH v4 0/2] ring library wit... Gavin Hu
- [dpdk-dev] [PATCH v5 0/2] ring librar... Gavin Hu
- [dpdk-dev] [PATCH v5 1/2] ring: synch... Gavin Hu
- Re: [dpdk-dev] [PATCH v5 1/2] rin... Olivier Matz
- [dpdk-dev] [PATCH v5 2/2] ring: move ... Gavin Hu