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 9C30EA054F; Wed, 17 Mar 2021 01:14:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FFEF40689; Wed, 17 Mar 2021 01:14:10 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 70BB540040 for ; Wed, 17 Mar 2021 01:14:08 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id n17so14184956plc.7 for ; Tue, 16 Mar 2021 17:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2WJSf6XsgfTH2Dc61DVIYcACm7GjUlE1rWqkxkcS9BQ=; b=Ip81sGjoykUrdkx27MS3OP151mYeeBIaJWf45KiPkvob/1pJIE9DO5cCeZ4u97xML9 UsO9egCPmNjeNuUxIlr09ODTxtNAubRT17EFNfQE8phznHSBKHLCzbulbxzjxrJYUqOF SkznOicF5u7QDoz+SGYIoO87bcj/HQAqsO/eRtu7/LNBr3WsEulOVEmImK+i0fvahufY wKRID6rs4K/feeEN5NyQsdAwPvq2rmqcWyEsTRH39HupmzM0uUqo1Z+GUxiPIRsFw5LN XJaa42AT30d2yak5tyL/PzvWTA4yOihawVXPcPVh8pO0RONixrtyWe0d4+TkP3k5q6dY yNZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2WJSf6XsgfTH2Dc61DVIYcACm7GjUlE1rWqkxkcS9BQ=; b=XKLgNVuoaolckFSPWulR5i1OHbU4b2zokI29XygG9vnF6dYvd91T7gUqopLpGu4cby GTBkqca4IkO2O8s4HwER5CQwUdd67PASMF45mmfQMboRmCtTraC+f145N+oMAYKBybK6 hNizQxlpTlk56NTwKNYi0rHCA+INUT3fEZ2Fnd8/QOmL3RP5fazVXgWEw/O1ra2yxMVy I37btY/fXwtodTo6UcyIjYUsIUKgXP261pD9HyVrSXDE5suDshUa7drQMUn8Sib5MF0R cadiqZog+LOFA9Oi1nJ+u15uvThqexF+Dm0XQNmzRzPSzzJe9HbNbjoWv6DGPisWzeSC 4Dpg== X-Gm-Message-State: AOAM532OaQSnKJwbitrCQHfdYSHGYQ/4bPIkjmMp/SlRe8SOyJSCB8hv KU5BJTtJMzxPw2GPTZ0YLXWLyQ== X-Google-Smtp-Source: ABdhPJyXeV/Y27LjPlDOv+VWq/AUlD10kdB2kFO45YoTxxAmimQnBq9pSVd//S9THJD61q6iVSl8Vg== X-Received: by 2002:a17:90a:cf8f:: with SMTP id i15mr1624392pju.22.1615940047461; Tue, 16 Mar 2021 17:14:07 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id a144sm18811343pfd.200.2021.03.16.17.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 17:14:07 -0700 (PDT) Date: Tue, 16 Mar 2021 17:13:59 -0700 From: Stephen Hemminger To: Suanming Mou Cc: "dev@dpdk.org" Message-ID: <20210316171359.76f0b68e@hermes.local> In-Reply-To: References: <20210315192722.35490-1-stephen@networkplumber.org> <20210315192722.35490-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: make flow API primary/secondary process safe 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 Tue, 16 Mar 2021 23:48:57 +0000 Suanming Mou wrote: > Hi Stephen, > > > -----Original Message----- > > From: Stephen Hemminger > > Sent: Tuesday, March 16, 2021 3:27 AM > > To: dev@dpdk.org > > Cc: Stephen Hemminger ; Suanming Mou > > > > Subject: [PATCH 1/2] ethdev: make flow API primary/secondary process safe > > > > Posix mutex are not by default safe for protecting for usage from multiple > > processes. The flow ops mutex could be used by both primary and secondary > > processes. > > Process safe is something more widely scope. I assume it should be another feature but not a bugfix for thread-safe? > And the fag RTE_ETH_DEV_FLOW_OPS_THREAD_SAFE we have added is just thread safe. > OK, that makes sense. Is this in the documentation?