From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13D4442CA8 for ; Tue, 13 Jun 2023 12:12:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0EF5B40A8A; Tue, 13 Jun 2023 12:12:52 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 9D7AC40698; Tue, 13 Jun 2023 12:12:49 +0200 (CEST) Received: from loongson.cn (unknown [10.20.42.90]) by gateway (Coremail) with SMTP id _____8Cx+ekgQYhkiJgEAA--.9814S3; Tue, 13 Jun 2023 18:12:48 +0800 (CST) Received: from [10.20.42.90] (unknown [10.20.42.90]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxbMofQYhkEugYAA--.62593S3; Tue, 13 Jun 2023 18:12:47 +0800 (CST) Subject: Re: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions To: Jiawen Wu , 'Thomas Monjalon' , 'Ruifeng Wang' , "'Zhang, Qi Z'" Cc: dev@dpdk.org, mb@smartsharesystems.com, konstantin.v.ananyev@yandex.ru, "'Yang, Qiming'" , "'Wu, Wenjun1'" , drc@linux.vnet.ibm.com, roretzla@linux.microsoft.com, stable@dpdk.org, maobibo@loongson.cn, 'nd' , david.marchand@redhat.com, honnappa.nagarahalli@arm.com, 'Tyler Retzlaff' , konstantin.ananyev@huawei.com References: <20230424090532.367194-1-zhoumin@loongson.cn> <3202143.AJdgDx1Vlc@thomas> <38333053.10thIPus4b@thomas> <63d8f649-b718-a2f8-52b5-270747157413@loongson.cn> <03ed01d99da7$6260ca70$27225f50$@trustnetic.com> From: zhoumin Message-ID: <77c7af7c-3021-16c9-86b1-dace61822258@loongson.cn> Date: Tue, 13 Jun 2023 18:12:47 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <03ed01d99da7$6260ca70$27225f50$@trustnetic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-CM-TRANSID: AQAAf8DxbMofQYhkEugYAA--.62593S3 X-CM-SenderInfo: 52kr3ztlq6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrurW7WrW8CF43Zr4fCw4Utrc_yoWDArb_Za yxCr9rK3s8Zryktr1DJF1kJrn0qa4kAr4YqFnrGw4kW34kXF9rGFn5urWrZryxJF4rJFnr Kw1YyFyYyr1avosvyTuYvTs0mTUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUbI8YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAF wI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2xFo4 CEbIxvr21l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG 67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r4a6rW5MI IYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E 14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JV WxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUcyxR UUUUU X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi Jiawen, On Tues, June 13, 2023 at 11:30PM, Jiawen Wu wrote: > On Tuesday, June 13, 2023 9:43 AM, zhoumin wrote: >> On Mon, June 12, 2023 at 8:44PM, Thomas Monjalon wrote: >>> 12/06/2023 13:58, zhoumin: >>>> On Mon, June 12, 2023 at 6:26PM, Thomas Monjalon wrote: >>>>> 15/05/2023 04:10, Zhang, Qi Z: >>>>>> From: Ruifeng Wang >>>>>>> From: Min Zhou >>>>>>>> --- >>>>>>>> v3: >>>>>>>> - Use rte_smp_rmb() as the proper memory barrier instead of rte_rmb() >>>>>>>> --- >>>>>>>> v2: >>>>>>>> - Make the calling of rte_rmb() for all platforms >>>>>>>> --- > Hi zhoumin, > > I recently learned that Loongson is doing tests with Wangxun NICs on 3C5000, and also > found this problem on Wangxun NICs. I'm wondering if it would also be fixed on txgbe/ngbe. I'm sorry. I have not tested the Wangxun NICs on LRO receiving mode. The previous test results for Wangxun NICs were normal. I will do additional tests for Wangxun NICs to verify this problem. > Thanks.