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 8C38AA0C53; Wed, 3 Nov 2021 15:55:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DC8F41134; Wed, 3 Nov 2021 15:55:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 2074940E5A for ; Wed, 3 Nov 2021 15:55:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635951346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IgrE4vIOTacn7KH2dWGbSBxPAUqbYVdONJ1mlx9KWNY=; b=Y1OWBpOcKDVLRaxAxPNN4K/x/TzG3nJFXsPRhn1xDagAroas+jvwxt6LF/83kpPskMhOMW RHjTHjfrIsHSgXStf3t8vAk4jVKWP3PiavstFv8aWisy+wXQ7kud1gqMxWFHwJNwLkwe0s SmUEhF01XW1e+HaTWDF8cysuijRKBtY= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-372-ZNoecYXxOF68Ma9rVk_Ohw-1; Wed, 03 Nov 2021 10:55:45 -0400 X-MC-Unique: ZNoecYXxOF68Ma9rVk_Ohw-1 Received: by mail-lf1-f70.google.com with SMTP id x7-20020a056512130700b003fd1a7424a8so729573lfu.5 for ; Wed, 03 Nov 2021 07:55:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IgrE4vIOTacn7KH2dWGbSBxPAUqbYVdONJ1mlx9KWNY=; b=Nf2xoh4VeM9Q8Ca7fGTDg2YCbbuyzJuYRE1MFj0hV18I14sIdObEaIwRpp5UTJL9m8 Qtw1nTbPbpEnrEUxoYuP38451B3BSztiJZgqBLiCPSLG51+QwElABQT7TRGW4sita3Zb tplSkCLEmly5FpC+nXGdu1jkN6obgZYYjySDl5tax0O9WeV+Z7oGnFGw2cFwl+lW5x2A EQT+mwyIbf0B3MWW0sGavXiGNTMld5NGMeGozcyxvK2K4sOxUjXjcEL4RtZXUZbQOnGY PuBIZAy0ZJsyKgjoHsKP3I4KcqhwmPdLtVEac/HbE/dJE9dMt5oXk9zmwebhCyVQUbtw yTOg== X-Gm-Message-State: AOAM533NIE/RyDXIyc31Wy7/glW23ejxOwlW4CljTPluawOrH9Gw2pQx 6yrm2Dj5Jy+RpK/3gU7e5IPgl3aTWggMNczmpCPJ3K5DVUjCUkqnTy3IKmdoDyKqGQ3NPskROam yWhkVynqat4bzbA4uMi4= X-Received: by 2002:a2e:83c6:: with SMTP id s6mr31662872ljh.477.1635951343821; Wed, 03 Nov 2021 07:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxveyA5j56f7SwnyURHz87cIo0MycHnM8dWOUrA1JtcGcpxwDzMtfU5lToLJ8on2PTLvplxg2LcfFu3cBIFNUE= X-Received: by 2002:a2e:83c6:: with SMTP id s6mr31662847ljh.477.1635951343643; Wed, 03 Nov 2021 07:55:43 -0700 (PDT) MIME-Version: 1.0 References: <20210902053253.3017858-1-feifei.wang2@arm.com> <20211101060007.2632418-1-feifei.wang2@arm.com> In-Reply-To: <20211101060007.2632418-1-feifei.wang2@arm.com> From: David Marchand Date: Wed, 3 Nov 2021 15:55:32 +0100 Message-ID: To: Feifei Wang Cc: dev , nd , Jerin Jacob , Stephen Hemminger , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v9 0/5] add new helper for wait scheme X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Nov 1, 2021 at 7:00 AM Feifei Wang wrote: > > Add new helper for wait scheme, and apply this new definitions into > lib to replace rte_pause. > > v2: > 1. use macro to create new wait scheme (Stephen) > > v3: > 1. delete unnecessary bug fix in bpf (Konstantin) > > v4: > 1. put size into the macro body (Konstantin) > 2. replace assert with BUILD_BUG_ON (Stephen) > 3. delete unnecessary compiler barrier for bpf (Konstantin) > > v5: > 1. 'size' is not the parameter (Konstantin) > 2. put () around macro parameters (Konstantin) > 3. fix some original typo issue (Jerin) > 4. swap 'rte_wait_event' parameter location (Jerin) > 5. add new macro '__LOAD_EXC' > 6. delete 'undef' to prevent compilation warning > > v6: > 1. fix patch style check warning > 2. delete 'bpf' patch due to 'const' limit > > v7: > 1. add __RTE_ARM to to fix the namespace (Jerin) > 2. use 'uintptr_t *' in mcslock for different > architecture(32/64) (Mattias) > 3. add a new pointer 'next' in mcslock to fix > compiler issue > 4. add bpf patch and use 'uintptr_t' to fix const > discard warning (Konstantin) > > v8: > 1. add __LOAD_EXC_128 (Jerin) > 2. use BUILD_BUG_ON to replace assert (Jerin) > > v9: > 1. rename 'wait_event' as 'wait_until' (David) > 2. change commit message (David) > > Feifei Wang (5): > eal: add a new generic helper for wait scheme > pflock: use wait until scheme for read pflock > mcslock: use wait until scheme for mcslock > bpf: use wait until scheme for Rx/Tx iteration > distributor: use wait until scheme Series applied, thanks. -- David Marchand