From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id CE5D61C0B for ; Mon, 30 Apr 2018 16:43:47 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id x12so11664249wmc.0 for ; Mon, 30 Apr 2018 07:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=foyr4QNQp2das6GWU39PSKEkH3zrm46LSZFqPWyVrkY=; b=lmQFjnPHjQd5RYDsIH4mXhn5Yh70lo9k+5ose7PJqYCQgMVRrNYUwDl5dhtWVGWKgM 8K0Zen4yg/0Jqo4lPhPFBLdWVOwYp/npZtEfu8sIM42/d40GfMJCEyLgkdaotbnZDquh kcTXUx3l+NPIbKsqUYYKTjo6jekJ+OMukXLPRx4w2sxCddV0TqoCxVbJLy88NzVyMIuR bOK+3RcRj/AJ8ONDyCrfO6GKUSDqiTGaV6GB1F/cWQdB3joqDVETvlLG4H9BjmUZi+zs lnRyRN+lCYgps8vTigYUtkTylS6Te8Tt4HRYNZQwbRL29+w++m6undU/DsZ1N0hUebkE zLFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=foyr4QNQp2das6GWU39PSKEkH3zrm46LSZFqPWyVrkY=; b=Zp5/tWtv/NFt5DyF0VSYtY62PjVQqADHNU+5xVJzScnAejsnAJbLzWJphpPRqkemCu TvESHEAMt0csRlI/nS7bSt+nJh6wpvYAKDhT2V9BwUiEg9LU6EfVOGaVK4+IPMlt3Bpt 5BJ+8q9D9vQLZgt9jfp14TThWwg9ZAQOFhNiynSSWGwDOvz/NjtRcuXFFysPCb5GNUfV +9/MiqrPKanvt6ASrlcxjCGNbwlduaFuL5lYEA/fe4vm55rwzHbIzbh0mv0dbC2sYZrm rc2u9luKlDYq1RvLDRXOb4tsXWGGN9DZFgiPHLslTNRPjTscvJIlD4iZqnfkZvWVIkjc RCnQ== X-Gm-Message-State: ALQs6tDoIDDVpjH/scX5PkWdBcLN1Cno9zo+iGeYsoMlO808MYi6PXN3 2dfCnntJvIrJWmd30aQlfx0= X-Google-Smtp-Source: AB8JxZrHrlc6jPdBnuJ48fgrgGrs8ZJYnVpD0pxo2WCph13rAghHP/2OZVTrn91VQnXUjvtIsF84gg== X-Received: by 10.28.113.81 with SMTP id m78mr7775107wmc.150.1525099427517; Mon, 30 Apr 2018 07:43:47 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 132sm1634208wmp.15.2018.04.30.07.43.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:43:46 -0700 (PDT) From: luca.boccassi@gmail.com To: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Cc: Bruce Richardson , dpdk stable Date: Mon, 30 Apr 2018 15:41:06 +0100 Message-Id: <20180430144223.18657-51-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'eventdev: fix MP/MC tail updates in event ring' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:43:48 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 4b55aba99c15faf76a4d9adc036240c08c8dd08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Tue, 3 Apr 2018 10:19:03 +0200 Subject: [PATCH] eventdev: fix MP/MC tail updates in event ring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 463dee906eeee3b2ed1715930083e2be90578de8 ] rte_event_ring enqueue and dequeue tail updates were hardcoded for a SC/SP configuration. Fixes: dc39e2f359b5 ("eventdev: add ring structure for events") Signed-off-by: Mattias Rönnblom Acked-by: Bruce Richardson --- lib/librte_eventdev/rte_event_ring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eventdev/rte_event_ring.h b/lib/librte_eventdev/rte_event_ring.h index 29d4228ab..827a3209e 100644 --- a/lib/librte_eventdev/rte_event_ring.h +++ b/lib/librte_eventdev/rte_event_ring.h @@ -99,7 +99,7 @@ rte_event_ring_enqueue_burst(struct rte_event_ring *r, ENQUEUE_PTRS(&r->r, &r[1], prod_head, events, n, struct rte_event); - update_tail(&r->r.prod, prod_head, prod_next, 1, 1); + update_tail(&r->r.prod, prod_head, prod_next, r->r.prod.single, 1); end: if (free_space != NULL) *free_space = free_entries - n; @@ -140,7 +140,7 @@ rte_event_ring_dequeue_burst(struct rte_event_ring *r, DEQUEUE_PTRS(&r->r, &r[1], cons_head, events, n, struct rte_event); - update_tail(&r->r.cons, cons_head, cons_next, 1, 0); + update_tail(&r->r.cons, cons_head, cons_next, r->r.cons.single, 0); end: if (available != NULL) -- 2.14.2