From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 256A3A04A5; Wed, 17 Jun 2020 21:02:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 120F01252; Wed, 17 Jun 2020 21:02:58 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 26CA01023 for ; Wed, 17 Jun 2020 21:02:56 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id 9so4228809ljv.5 for ; Wed, 17 Jun 2020 12:02:56 -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; bh=GLJpLeD2FTtbBPrdi+X1vLP6Tq/w31Y/2QKkZGgu0bM=; b=KKZXR8FR+ndvt1LDynRMIjiurOh0//x4iJ5mu3jfh5u1Qo7rq1dWdd7iNRPStjnAnF 2E2+Spb85HcgSJ+NTl76A6wqobSMhoQb13zqh95N4oZfZ2Q0Kf/nwqPlUB/ChTDEbLvH sBn+T3248Ukkb2iH8pdWGuI8l7kXcNFOgWT/c69KoudJwqe2o+VsICz3vQGxddPOkGbx KbP6k+o4Bx6iRnOyhWFc7J0HVpw94YZBJrd6Dt3W6ViN6vj4DOQGtqwh0x4g8RKhd6mT jHdqxLkXRpymN4aYbLMOoH1u8J2074zt35USJ0lSnNLl/6KtvlfBFsmtMQLuhkDLQTYE gVSQ== 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; bh=GLJpLeD2FTtbBPrdi+X1vLP6Tq/w31Y/2QKkZGgu0bM=; b=ojGcYdw1VRJ9gdGboXuILEjXD8g+BzbVKO3EAKyhZjFC+gH0Lfe3ShvoccZHBwyA7V R4YXWY74rvxgWYFBgb8jV6sqg2ETmGVUqYG790aZaOhza+COKyKIl4FI/74jR5iX6p37 K3H6F5ibtMhyvubnewhPb6hYMx9r0U+X8pLNGz0bDUvd3VrwvLvRsPWpMJ/DU5o0nrhp yJplOTU4/et3t7ob6x8Oc42ewUzvoA9rduMqbO4lnzebKJztsq9ZPOMN7M9IH7w2z5QJ nqoeRL7lk1fjxaRyRyD2ONv4XiNubXLdD6nYEH40HeqO8UELKR23uNAatyGf9oQNvLU7 zrkQ== X-Gm-Message-State: AOAM531wWfBaZ1ctXLYaRPau6b+99IDuzycnF8qcajabQkqFYO8texLO 7n2+KPNfJApnGX5ppiLGA/q8sR0d0qn6HA== X-Google-Smtp-Source: ABdhPJx9yd+fp2wXV42FNQlmls+1dvFtKhvDy1L+HeDztodT7SOFTiBLE/INtBxmPB4H1s4Uy2rioQ== X-Received: by 2002:a2e:8184:: with SMTP id e4mr372158ljg.334.1592420575264; Wed, 17 Jun 2020 12:02:55 -0700 (PDT) Received: from localhost.localdomain ([80.246.94.183]) by smtp.gmail.com with ESMTPSA id z15sm120526ljo.102.2020.06.17.12.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 12:02:54 -0700 (PDT) From: Sergey Lvov To: dev@dpdk.org Cc: Sergey Lvov Date: Wed, 17 Jun 2020 22:02:48 +0300 Message-Id: <20200617190248.25858-1-log0div0@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] pmd_bond: fix mac address update for ACTIVE_BACKUP, TLB and ALB modes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" It seems to be a typo Signed-off-by: Sergey Lvov --- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 612a64599..3ef0df84a 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -1533,7 +1533,7 @@ mac_address_slaves_update(struct rte_eth_dev *bonded_eth_dev) if (internals->slaves[i].port_id == internals->current_primary_port) { if (rte_eth_dev_default_mac_addr_set( - internals->primary_port, + internals->current_primary_port, bonded_eth_dev->data->mac_addrs)) { RTE_BOND_LOG(ERR, "Failed to update port Id %d MAC address", internals->current_primary_port); -- 2.17.1