From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by dpdk.org (Postfix) with ESMTP id AD2D0324B for ; Tue, 28 Aug 2018 12:25:30 +0200 (CEST) Received: by mail-wr1-f45.google.com with SMTP id u12-v6so1055888wrr.4 for ; Tue, 28 Aug 2018 03:25:30 -0700 (PDT) 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=hEtMAi8C3HcBjZDqmlJ+R7SN/uOxuHdte5Qs042tU8Y=; b=HhQGrpsGJQn8xnG4s0IF2NA6hGRH7QI2TMcKhOhJLHZsYKskro7a8ZT4CAI3Jf3pQ1 h/NKyUlEzKmCs8M3eoYeKppcxw5kp+sEd1gQs6hoUXaMuI2+D6xSWihKhoh792Ic6Mj5 7Z9trW2IwtJV3ArhTI16XG8d2q4FC1MkAeTuVkW3jyeXxf09X3KUjJTJw3BU+CuSlkUs IM4ZjaTtvHy3/aOAJJ6euMHNDsjJf1K526BtCvWrLo+hIkD79RnMJEE8UllW/7GulYU/ AZnGYlBVxYzf57zeYd9E0w0hyARNz26OKSyXGPzuP66nhY7dQHBkKkG0aLG+M/m+Vp+c NCng== X-Gm-Message-State: APzg51B7+enuLgXaKQULqAcHruPKVhN1SOf0oOYNVF0R1+kqPT3xD/s8 Ku4wiAFMKOo7tJgx7Dpcd0s= X-Google-Smtp-Source: ANB0VdayJBJ7Q3fGm6iTVb4uQVu+X2aqjzOXdFjCuVRqgqtzRqKQq2doubr6PTtX0wGA4CK/Sa4KUg== X-Received: by 2002:a5d:4d82:: with SMTP id b2-v6mr691628wru.80.1535451930463; Tue, 28 Aug 2018 03:25:30 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:41aa:5bfa:6cf3:7531]) by smtp.gmail.com with ESMTPSA id z14-v6sm1094423wma.18.2018.08.28.03.25.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 03:25:29 -0700 (PDT) From: Luca Boccassi To: Radu Nicolau Cc: Ferruh Yigit , dpdk stable Date: Tue, 28 Aug 2018 11:25:21 +0100 Message-Id: <20180828102522.14500-3-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180828102522.14500-1-bluca@debian.org> References: <20180810090627.28295-1-luca.boccassi@gmail.com> <20180828102522.14500-1-bluca@debian.org> Subject: [dpdk-stable] patch 'test/bonding: assign non-zero MAC to null devices' has been queued to LTS release 16.11.8 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, 28 Aug 2018 10:25:30 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/29/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Luca Boccassi --- >>From 9a334025ba6241b9692bf428c2d747122866c95a Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Thu, 1 Feb 2018 11:06:18 +0000 Subject: [PATCH] test/bonding: assign non-zero MAC to null devices [ backported from commit e8df563bac263e55b7dd9d45a00417aa92ef66cb ] Prevent failure in rte_eth_dev_default_mac_addr_set() that results in bonding add slave failure. Fixes: aa7791ba8de0 ("net/bonding: fix setting slave MAC addresses") Signed-off-by: Radu Nicolau Reviewed-by: Ferruh Yigit --- app/test/test_link_bonding_rssconf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/test/test_link_bonding_rssconf.c b/app/test/test_link_bonding_rssconf.c index 23052a2cb7..e7a565001b 100644 --- a/app/test/test_link_bonding_rssconf.c +++ b/app/test/test_link_bonding_rssconf.c @@ -533,6 +533,7 @@ test_setup(void) int port_id; char name[256]; struct slave_conf *port; + struct ether_addr mac_addr = { .addr_bytes = {0} }; if (test_params.mbuf_pool == NULL) { @@ -565,6 +566,10 @@ test_setup(void) TEST_ASSERT_SUCCESS(retval, "Failed to configure virtual ethdev %s\n", name); + /* assign a non-zero MAC */ + mac_addr.addr_bytes[5] = 0x10 + port->port_id; + rte_eth_dev_default_mac_addr_set(port->port_id, &mac_addr); + rte_eth_dev_info_get(port->port_id, &port->dev_info); } -- 2.18.0