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 ECBAC1B854 for ; Tue, 15 May 2018 15:49:13 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id l1-v6so1269534wmb.2 for ; Tue, 15 May 2018 06:49:13 -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; bh=rdCAPBGqgZPYGjLvnq/6pRkBhWyKd73iMOteWAgXI9k=; b=EqIOQn5vw9Q6KoXafKLkdo1fCRAnhYmHPkxOxVKrEBXn+3eXyt5bbmWeCNNJb+7nXN vRbTsRHvvOrkgwfjGiHBJklBYyBrr8lpj+LDpL5kSzc6x8cqwHlnFxSalQHdYBoScztv 79IfqnlwxwdxUZj7Yd8wxdgfhutGU3ewUqe6cXBLxsr6F1fu92SpgNmT+X3KqYE1VO3q pmNGI3SCfX2LL7LPdv8/IsTgPGNzfBi12T6xaeiuNlynZ/u9bgY57eit8P33/4Khj1k8 KNA8X6+2ZQu+lb2SD9gRySVTC8O5GvQbAs4oGIe1AzhjgjROIRaghUvR6f8lTvLkzLvS kFLg== 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; bh=rdCAPBGqgZPYGjLvnq/6pRkBhWyKd73iMOteWAgXI9k=; b=WrMnTFdhmPaagOwIKhmIMZjwsov3KnymvyPnQCg5YEFDva7VGBRS+WnG/DFHo3uqGZ kSyD47flXQOiAgYmmzWx24IPim2e3wSsF4Zsjbi2SFQx4FDRyFKf1Fm2+dLiYv5nNVdJ 5kTcqHLrQ4d8FoamMU0fOg4KtwCkYTRPLJ8UokQVioCYcR6ISCeNPVvxm+8JwgesCYRK AavD2HfmPCz7H8199oiOjjbfBPjqYqwi3g+7Q9k5K1O5mk4hk87rIW51fuaDZNJwCVTy zK9bZIMZG8KV22QjEkmkDAYUYUBuISVC906CWlT/fr9H1V1fdkMBtjQVUPUGJkGXjvul ybCQ== X-Gm-Message-State: ALKqPwdduWFytH64OzUXhg7T9OPf19+VrNp8L8H5A77oGgY8N75BxyZV Or3qg6GsM2myHL7KdMQIuQF8AIaXal0= X-Google-Smtp-Source: AB8JxZqlSAj8dajpoHFI/1sj1SRwU0EOxaD/gdF7acPWZOWh6G5gV/JaMyURUHOD/ygH7K0tLkJVDQ== X-Received: by 2002:a1c:5d4f:: with SMTP id r76-v6mr7959442wmb.55.1526392153679; Tue, 15 May 2018 06:49:13 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id 194-v6sm709378wml.20.2018.05.15.06.49.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:12 -0700 (PDT) From: luca.boccassi@gmail.com To: John Daley Cc: Hyong Youb Kim , Aaron Conole , dpdk stable Date: Tue, 15 May 2018 14:47:06 +0100 Message-Id: <20180515134731.9337-55-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/enic: set rte errno to positive value' 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: Tue, 15 May 2018 13:49:14 -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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 063de84af94a6f0f42613ccc90382e6f674d1918 Mon Sep 17 00:00:00 2001 From: John Daley Date: Thu, 3 May 2018 12:37:10 -0700 Subject: [PATCH] net/enic: set rte errno to positive value [ upstream commit 579cc855af69099d52edd69b96c608254ad5f295 ] Related to d9fff8a31, where rte_errno should always have positive errno values. Technically this is an ABI change since it fixes an error code introduced in 18.02, but is minor and inconsequential. Fixes: 1e81dbb5321b ("net/enic: add Tx prepare handler") Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley Reviewed-by: Aaron Conole --- drivers/net/enic/enic_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_rxtx.c b/drivers/net/enic/enic_rxtx.c index 2fe5a3fa3..736c71d10 100644 --- a/drivers/net/enic/enic_rxtx.c +++ b/drivers/net/enic/enic_rxtx.c @@ -455,7 +455,7 @@ uint16_t enic_prep_pkts(__rte_unused void *tx_queue, struct rte_mbuf **tx_pkts, m = tx_pkts[i]; ol_flags = m->ol_flags; if (ol_flags & ENIC_TX_OFFLOAD_NOTSUP_MASK) { - rte_errno = -ENOTSUP; + rte_errno = ENOTSUP; return i; } #ifdef RTE_LIBRTE_ETHDEV_DEBUG -- 2.14.2