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 D5A7645B97; Tue, 22 Oct 2024 03:52:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6A2F4066D; Tue, 22 Oct 2024 03:52:41 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 171A14065A for ; Tue, 22 Oct 2024 03:52:30 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-20cbca51687so51412875ad.1 for ; Mon, 21 Oct 2024 18:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729561949; x=1730166749; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=l3F9PRccmMjJ+MzjFtL/q2UEfP4GA3JTdq9Zbs2dV/0=; b=t2uLOVgdlo53fQzcFQ60yuj+UEq/BWXD67N+zSY9f7RNLpPfIzbIuLLkJOfaY0A1P6 AM19OjGLkUf9+voNCtrY4NyWg5pCrhh4r0XXJQV5ZYtLCSvKy2gjw9JOA5avrLV8Ueeg rl+5QvnTfBMfCh2NVZnjVIDvUzLlZVDr1mkOQIoia2zZp7T87F/4ApQfEgsg/yUJKsFe 9NoPXT5S8hQCCmmWmZ4yiRbB+YDRV4YvRy9Kfb+ZngWLAxDeMG0ED0+DtM+ogYY0DMKw Zs/JwvqHKbFQjg15yJeWY/z91W6YzlIsSBjRB57HIZu3YDy/5gcsa7ucxKAB269002yH M4ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729561949; x=1730166749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l3F9PRccmMjJ+MzjFtL/q2UEfP4GA3JTdq9Zbs2dV/0=; b=hYnu8ZzNKf6NgSWJeZaDG0UZw5ZrRmiyZlK7navFblZx71wHGM9NLGpOtojG7CN+Za drzZf5bsE3gg05lKDt2IK+erWB1pveATURyXwp/UctpiZ5Lh+ApfAKAgEMaxzKDTZSrv OH6zSIU3IUB6a9dtU1KtQ4DvsmkM1mGWDGCd/A5k1QYCRLK3DoCrnkkSlnCtFbnx3DdG LnRqb8DsvFJAUVgtS7cRA4IzHM2mvZKKfACp9spv/koYCj6aAWE3DOl6sqx7jpg2GRQp R1bNyaB5ulMIxBlP5nF24CxYXwDdeQaA9eaTNc/EdTxn5RfQ63Bl8IAYDo79DzxrR68a xboQ== X-Forwarded-Encrypted: i=1; AJvYcCVYFx4fzA3q4qMHwebGgRobQgKrrho8LY7c0RLqSbjtYw47cybeJmMgCj1eqRsz3N8abgQ=@dpdk.org X-Gm-Message-State: AOJu0YxrU+TezP++7mBeHMlgVYBq+qQa3xXlCeO+nMpDI+XnHpx6V0CC FTENS/F1qNiLQey73pb9Ixx+We0lUEnGNktpq4B5COrHntgxrQcKeihIB3ng6Xc= X-Google-Smtp-Source: AGHT+IFe5CqjAll2oLuKSXn5M26O6kL/p+255M+SICrvsIbOF7F9LWJxYG8ftaMi00aXqTcNBq6rzQ== X-Received: by 2002:a17:903:94f:b0:20b:59be:77b with SMTP id d9443c01a7336-20e5a70d647mr207851915ad.6.1729561949221; Mon, 21 Oct 2024 18:52:29 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0e0104sm32578935ad.234.2024.10.21.18.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 18:52:29 -0700 (PDT) Date: Mon, 21 Oct 2024 18:46:12 -0700 From: Stephen Hemminger To: Cc: , "Shijith Thotton" , Anatoly Burakov , Subject: Re: [PATCH 06/20] event/cnxk: add CN20K SSO enqueue fast path Message-ID: <20241021184612.2d944494@hermes.local> In-Reply-To: <20241003132237.20193-6-pbhagavatula@marvell.com> References: <20241003132237.20193-1-pbhagavatula@marvell.com> <20241003132237.20193-6-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 3 Oct 2024 18:52:23 +0530 wrote: Fix this in next version. Warning in drivers/event/cnxk/cn20k_worker.c: Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx > + > +static inline int32_t > +sso_read_xaq_space(struct cn20k_sso_hws *ws) > +{ > + return (ws->xaq_lmt - __atomic_load_n(ws->fc_mem, rte_memory_order_relaxed)) * 352; > +}