From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by dpdk.org (Postfix) with ESMTP id C96B82C8 for ; Tue, 20 Jun 2017 13:37:33 +0200 (CEST) Received: by mail-pg0-f67.google.com with SMTP id u62so15044040pgb.0 for ; Tue, 20 Jun 2017 04:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3uLcPTmXn9p1jNDj6tsJTU+Xl4OQFZvXY8YOjTP+PnU=; b=SVp/Bivya1BYXZTmPrv+F075lV/YIfYyZVE2JAMEs2sUyu3Mi7PloscjohNldD64GM YzV5zctHbTCospaEmvyQqNMMrgNc32j2LO+2Y8iPcRAO+Ux9m9KvYsnI4rlfFrUQ19R4 4Te/oa8sM60gPR4RF5b9Wkauarnbv2908mw+2/5youm4w4V5KwnYklRtBFhbNHcPfMIV m9cHnKbC+tqlr+HsfhKmXoBMAr0aU2O3/dQJDCfktj9V8IA254TciqP5jMOg6cZlS873 aZ1WWnS4UmpIqMGWrQqJlBMEGetQ5epr0idIKZmrGGZqGoxsCd31tAW/jekfySXf7B+N TRIQ== 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=3uLcPTmXn9p1jNDj6tsJTU+Xl4OQFZvXY8YOjTP+PnU=; b=sXhtfo/O4fleLdAdcNUMg8hKzIGSVtuBIjz+4JpV54KYpeBz0hZdJHIuBW0CaQJ/ny YGOLIw+Tx8tnMYshi05INOvFa43lFSFphvCLxL84KS5gjoYsULrokHTR3QlTRlyiDmDz I4ukm/iUnw9Z73px/OJPBDQDzlS0vwMb6VW6esY5k/Ihxtd/SMjQ+HPVmuNtVzLMx4/n VeEwXNxV71jPmjJrJzbHlbtT660mF+Kwwu7M85XdwXNT7/RSZpK0eBurlyvMdtnY0Q2F B7EYo5GXrlgitNnzSz0+4M/zY8G1BwIHoWfkEwYumQbTuRF87OhTgIBuLWVFX6nOa/cj RcLQ== X-Gm-Message-State: AKS2vOxT/JBLj7dW256osRib/dCVLebNlcokCTyVvvXyFPdTJeZP0cQ8 3RaL5/287jwjC/lohXcFTw== X-Received: by 10.98.16.72 with SMTP id y69mr30144230pfi.30.1497958653116; Tue, 20 Jun 2017 04:37:33 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.37.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:37:32 -0700 (PDT) From: Yuanhan Liu To: Chas Williams Cc: Ferruh Yigit , dpdk stable Date: Tue, 20 Jun 2017 19:35:33 +0800 Message-Id: <1497958550-13600-21-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/ring: fix adding MAC addresses' has been queued to stable release 17.05.1 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, 20 Jun 2017 11:37:34 -0000 Hi, FYI, your patch has been queued to stable release 17.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 722e0348154b718857dec6451ca62437343bd989 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Fri, 26 May 2017 09:18:05 -0400 Subject: [PATCH] net/ring: fix adding MAC addresses [ upstream commit 96b00e3a6ab780e0193004c10dbd45511933737a ] When .mac_addr_add() was changed to allow a return code, ring was changed to return -ENOTSUP. This changes the behavior of the rte_ring driver in a way that does not maintain backward compatibility. Additionally, if the intent is to return -ENOTSUP, you could simply not define the stubs. Fixes: 6d01e580ac5d ("ethdev: fix adding invalid MAC address") Signed-off-by: Chas Williams Reviewed-by: Ferruh Yigit --- drivers/net/ring/rte_eth_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index 87d2258..d4dce95 100644 --- a/drivers/net/ring/rte_eth_ring.c +++ b/drivers/net/ring/rte_eth_ring.c @@ -230,7 +230,7 @@ eth_mac_addr_add(struct rte_eth_dev *dev __rte_unused, uint32_t index __rte_unused, uint32_t vmdq __rte_unused) { - return -ENOTSUP; + return 0; } static void -- 2.7.4