From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by dpdk.org (Postfix) with ESMTP id E19DE1B2E5 for ; Fri, 19 Jan 2018 03:22:57 +0100 (CET) Received: by mail-pf0-f177.google.com with SMTP id j3so246868pfh.8 for ; Thu, 18 Jan 2018 18:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=TIwReyS2eDYksEMaTGYu81pmWhcuq5lrjEkwXYwdgDg=; b=GDJyts2s5lu+Wv0jB4nw8zjwAmadvAFtWJBZvOv6gC6xNiRJbvXK7jB+4RPhViPKe+ 5KU/n4+kmLxcAf/78GfJ7/qftJywlSS9Cm1f4f1U0KJg9T82OyL9epzoWYJqDXwnN6pp T635hdh7NANty/KRo8Ry3Dg7gYJy1f33NDic3LKrVB02UlQ+is5b2jRzl5QxDOqCUD0v 8WraTP2xEoZdWsZTMRS5bQeAV1lUxD0dLx76q73+hkUzT98eEWKVXTShnY56CDBcHqVv gJuusGxvGYGzgELZMWSBCC6ik1uZMqzvqepOW9w07LJayMPR+OPlFNIzl++H1ASEm+Vu uNBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=TIwReyS2eDYksEMaTGYu81pmWhcuq5lrjEkwXYwdgDg=; b=AMY0lUuQVvCQx/9APYXvAaej5YP+XAkhp3ce3FV3UnkuE7CZcFlbAz0X2iEdahxGkC c+xm26+XCGSkRrleaL61OCwEBaGZCY+DovEstyLplXDKntaOX3wRmnM3C0p4uPtEqK1Q Xk8kvQ/ryWizZdN9kvOprqaCceU/7dquwpHu2IYIaXusoBakd8JbPTvhNo07csNUF2fO T0oBEwSu8WR9z1Mvb0q59ssiw/h+JqdboD181pZAvo5WH6V9h/3Kbm7Ea3qRIexhfK8M mx8oW1qf7shZcLmAMMlyytpqX4cqzt3/1NFIxJhhsLEFMYOTiZYXH+ELpAnwIthZWJsv pdsg== X-Gm-Message-State: AKGB3mJ55dIIzyUgfx2lQs2L05DuwWfROyFn0GaHz47Dhn2DEw5GjOfC kMS+VgkJkKToBQrYHwPmsDI= X-Google-Smtp-Source: ACJfBotsPY+B4zGdEK/4BXU/dAzEGbEwspHCBtmmJ4hwcI2SExqaf0JxwfahKIxf5VTqdf/u8/ed4w== X-Received: by 10.101.82.205 with SMTP id z13mr39918300pgp.134.1516328577195; Thu, 18 Jan 2018 18:22:57 -0800 (PST) Received: from [0.0.0.0] (67.209.179.165.16clouds.com. [67.209.179.165]) by smtp.gmail.com with ESMTPSA id o69sm15739894pfj.32.2018.01.18.18.22.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 18:22:56 -0800 (PST) To: Thomas Monjalon , Jia He Cc: dev@dpdk.org, Jerin Jacob , Jianbo Liu , Jan Viktorin , Olivier Matz , konstantin.ananyev@intel.com, hemant.agrawal@nxp.com References: <1516161831-28719-1-git-send-email-hejianet@gmail.com> <23810751-921d-4e3a-bac6-95d251cc122f@gmail.com> <3399617.YsM4r4Ydhj@xps> <1629453.JGSeBPTEmg@xps> From: Jia He Message-ID: Date: Fri, 19 Jan 2018 10:22:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1629453.JGSeBPTEmg@xps> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v8 3/3] ring: introduce new header file to support C11 memory model X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2018 02:22:58 -0000 On 1/19/2018 7:52 AM, Thomas Monjalon Wrote: > 17/01/2018 10:09, Thomas Monjalon: >> 17/01/2018 09:47, Jia He: >>> Hi Thomas >>> >>> On 1/17/2018 4:24 PM, Thomas Monjalon Wrote: >>>> 17/01/2018 05:03, Jia He: >>>>> To support C11 memory model barrier, 2 options are suggested by Jerin: >>>>> 1. use rte_smp_rmb >>>>> 2. use load_acquire/store_release(refer to [1]). >>>>> CONFIG_RTE_RING_USE_C11_MEM_MODEL is provided, and by default it is "n" >>>>> on any architectures so far. >>>> In previous patches, it was enabled for ARM. >>>> You decided to not enable it at all? >>> Sorry, maybe I misunderstand your previous mail. >>> >This config option should be added in the common file (as disabled). >>> Do you mean CONFIG_RTE_RING_USE_C11_MEM_MODEL=n in comm_base and >>> "y" in armv8 config? >> Yes, exactly > Please, could you send a v9? > Thanks >>This double license may be an issue. >>Hemant, comment? Ok£¬ should I remove the double license info before Hemant's confirmation? -- Cheers, Jia