From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 542C046423 for ; Wed, 19 Mar 2025 15:21:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AA594060F; Wed, 19 Mar 2025 15:21:55 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id 3C940402E8 for ; Wed, 19 Mar 2025 15:21:54 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-43bb6b0b898so46181815e9.1 for ; Wed, 19 Mar 2025 07:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742394114; x=1742998914; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3D4L8I5wnzstQ1wL5OZIMP49O2/ZH8KnZTnS/cr2eIM=; b=SaSpkQGPpECC/r+730waUUJfO9jYGMQrVnsBMQ2NUYGSphgMqemDj7Q0ay/8a2gEWJ F8SA3u/bqhiN2/nn69n4q9yPNgc4xssmjkF/eOUMIzzIpw0yQLFp1Ako6QrL+1iE21ul JLcvc+/nS+T5xAMLRnScgvKiBmVlY4GmnqXAK4Xh6TwTAh3nj2kbgRVPpY1E4OBessXW W2R//XjuVJuopZuvoAh0JVUlovZrqHW4JG3HqANTpnHwsAqRoXnXZmEP1wFgkkhq172U 3IdyaFPguCzUtpxPBcdbkjUOzgFqjKSV/yO0tOzXibn9pXxvoCxmUvhhoM/oDYJU5cQ6 1T1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742394114; x=1742998914; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3D4L8I5wnzstQ1wL5OZIMP49O2/ZH8KnZTnS/cr2eIM=; b=Qu21bpFqPIdTHX0Hq70Ax81gTdEGR488LeReX+KvEnQi9p7KDPjkPvAJEaPuO02Spx Pc5l9R+M+lkhns31CNnEKnC8+omxoSBnAaH4IwG4RSdiVhl4Omxvwg72UXexBqkLnrCJ vMbN29BJV6s5eTkaFMdJKNUHysYntyAz4qbtHx4ZgdtTcIx5SPrKSjfpM10VJ1N4wUtm jxpSiwELsxRkEUD6+25JkFyDdBsU2tRdOjlXqm7EKNpKuNSmD9cuuoYbaTzHew1RQdvp yNXthUI3ZWSOL3muV0l06/nCsF/1SnPJESMzQ4xpEE31G/aeDRxEq8dvxipnpYO9p/yG YqKA== X-Forwarded-Encrypted: i=1; AJvYcCXnSolOWOtKiihruKO0p8BWCazg7R9ov34/gKgbVaJJh076QCqSS4bZSx7bag71CiDaDxUU9G0=@dpdk.org X-Gm-Message-State: AOJu0YySQEulAKgHViD6qfHDwio9vSyr9mUyqSCADHMBitFHls+DnsY/ dOjGnvvPmcsLnhUZGhrdjvHrPzebFnPdr9TyIneBLUnEV/OP2nE3lU/8gg== X-Gm-Gg: ASbGncttI2SDq+d2FZRbqwEkSddVogKrLVGHuZyRrAmW0r1tIPHeWNPq/X9vRzeg09g 4U8jObd4njKaEeM5EOnTQWqnRVu4R46EmB2QGOOEjEjjmkjyTWorz1aZPnwxriRIyFGXDLvZOdn qSafH3Uq43xt2YrgFD/XQvnxiVVsLWbC2iQH243ZxsgC1JEDl7Rywbar+Hc/+SaM/x1SLY+oobn 4+ZOI1pQ/Ku5vooz1A61zNUv3D9bHiub6o5Edk0anc70f+Hp/3KhGygZ6Jat915OWZskcDAtQqE xxTnvfgTdTobJumXlkBmnEWHLy0eYl/Wx80W3M1JIV7fJrTxNnA= X-Google-Smtp-Source: AGHT+IGS0hxv1J/gyR4yZ+b/uquI/XgRVqf0RKvQia6SX4l9mgClqp9aAjx3oEJmXtz4m1oYohEg2Q== X-Received: by 2002:a05:600c:500f:b0:43c:f78d:82eb with SMTP id 5b1f17b1804b1-43d4379a1fbmr31741315e9.15.1742394113361; Wed, 19 Mar 2025 07:21:53 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:4eab:5a5d:ba39:287e]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-43d43f74c2asm20177865e9.31.2025.03.19.07.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 07:21:52 -0700 (PDT) From: luca.boccassi@gmail.com To: Maayan Kashani Cc: Dariusz Sosnowski , dpdk stable Subject: patch 'net/mlx5: fix LACP packet handling in isolated mode' has been queued to stable release 22.11.8 Date: Wed, 19 Mar 2025 14:21:16 +0000 Message-ID: <20250319142142.439602-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250319142142.439602-1-luca.boccassi@gmail.com> References: <20250307122431.1415551-28-luca.boccassi@gmail.com> <20250319142142.439602-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.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 03/21/25. 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. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/5a26748fd0eadd72670fdbb8d02d274f54ee6351 Thanks. Luca Boccassi --- >From 5a26748fd0eadd72670fdbb8d02d274f54ee6351 Mon Sep 17 00:00:00 2001 From: Maayan Kashani Date: Thu, 27 Feb 2025 12:20:44 +0200 Subject: [PATCH] net/mlx5: fix LACP packet handling in isolated mode [ upstream commit d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 ] Fix an issue with handling LACP packets when the device is operating in isolated mode. The problem was caused by an incorrectly positioned isolated mode check, which led to improper processing of these packets. This ensures that LACP packets are handled correctly in compliance with the expected behavior. Fixes: 87e4384d2662 ("net/mlx5: fix condition of LACP miss flow") Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_trigger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index 13152d488e..786e638f95 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -1524,11 +1524,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev) } else { DRV_LOG(INFO, "port %u FDB default rule is disabled", dev->data->port_id); } - if (priv->isolated) - return 0; if (!priv->sh->config.lacp_by_user && priv->pf_bond >= 0 && priv->master) if (mlx5_flow_hw_lacp_rx_flow(dev)) goto error; + if (priv->isolated) + return 0; if (dev->data->promiscuous) flags |= MLX5_CTRL_PROMISCUOUS; if (dev->data->all_multicast) -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-03-19 14:20:57.262899946 +0000 +++ 0005-net-mlx5-fix-LACP-packet-handling-in-isolated-mode.patch 2025-03-19 14:20:57.057288838 +0000 @@ -1 +1 @@ -From d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 Mon Sep 17 00:00:00 2001 +From 5a26748fd0eadd72670fdbb8d02d274f54ee6351 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -23 +24 @@ -index 79b3d4d982..4ee44e9165 100644 +index 13152d488e..786e638f95 100644 @@ -26 +27 @@ -@@ -1533,11 +1533,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev) +@@ -1524,11 +1524,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev)