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 E6CE748AEF for ; Wed, 12 Nov 2025 17:53:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1BDD40A87; Wed, 12 Nov 2025 17:53:35 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id A0D8C40B95 for ; Wed, 12 Nov 2025 17:53:34 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42b3669ca3dso580243f8f.0 for ; Wed, 12 Nov 2025 08:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762966414; x=1763571214; 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=83xhcX49E4Tb0zlS4cxNsZ1KVaorgoTEF5QVqxCmvzw=; b=YXf1Zy6wz5g+fY/tgDMn557BA7HM98p8ZmPVtL1M7mohO4byL71ddkQDi+bi6JKA0O 2k2LZLORZPGd6U3yUM1KkY6+rEdsNvq33MQKH5RU3psqotmraxSd4zi6Fg05bORqrXcK 9+bEUk0YV4c0RAkRR8Z5UPdmCYAYuKfc78CglemUpuWQO08qUVUb7FGSfPSrqKDSxaUl lTyh6I+5hCQw6vvW5lOX0+5+pLPcxmmi8+z2KyVsHDasCg+Cdnf1/R+Ww3lbeY8VHBkb CqTBPmt6aCmLzapsqFOSMpj1jnQ82OBRnZ69a18E8rDIvEs9lZgV3hB2MFg9Ngw5NgrB S8sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762966414; x=1763571214; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=83xhcX49E4Tb0zlS4cxNsZ1KVaorgoTEF5QVqxCmvzw=; b=orITnCvJKxn2WR1TDi2jdHttkKP7ld3RcFHX1R1EnEJPWdVt0VAK4tgHws5OW2MXe7 enC8jeSF2JWNfZupmg1opKMTTQA9JKct951DH0ywFbytNz/cyhVsriW2sF4F8mvD+MYv y0B2ZR0RWjQK67qBKi30nWgIxqk8ZbbgSrJEqGi1QFLsXfR87kWWGCciE/4TDQTfwspv 4p70rCpLgCHfh0+EMV4ZS1UuNbtLWx9d/uDsMiAo9cuVazsbN+vBpBrU6msQHznzseyo pMMeCatYITKFHVwNxqsI/Ink4pzmWWyDAXkxyFan7b8h5WUIUvcKay2ntetZpk03RcgF ZzZQ== X-Gm-Message-State: AOJu0YyO0I7mYS0Mx5Tt9ieXdPTyzWGS4tgBaqvWgwa2ZZBVW3A14Sud Kjo5gGX6hxkk+rfOnUrWUmXbfTe5AI3MQ20SqsK1sheWC1rE7EbFwU8ixbK8Jw== X-Gm-Gg: ASbGnct9Mv4xIvq8PQhCcQf7IkWxDmIDcud5oGhgQroEOTRBbSDB+m7K2KX9oB+1xt0 YPhLXze4bbAjLo1NFdI6q22c6gWHDsBuJRDwzdcc+VfUcGC7ekCInuNFt+UF3NmwSiH5hTkW6Jw 7ulTJI6FVR4soaNRtBLc3YVsPfunuDf9mDw0cAsYkSqzTiU+Q1cXMuWOgAquLPY3eTw0MiUtix5 /aGkVRqXdapzlBJAWjFNh0CC46esXHRc+PR4Y1PUOW8vBrlRWrGgD9hzIA02RYTevDMMftzFBHw ny6uHREiA0F0VL3+O8zPr9zNX5ARvMopTubW7Ds7DMoKHT7xVD6cdlaoymSl2VOorR13r3W50w+ zfMFJ35lDZq2KpF9TxIzvS/HeyiuEMr6fEUUwm+DJoYtXnpRXzVPI8CbLWyMjxMp4iPPKe1482W dkBfhb6g== X-Google-Smtp-Source: AGHT+IGeNQx0gL+srrz9keBKnJTFL6T8Kl4/5QHChWOFuLXZ9L3tJfLdSR77Qd265EOIJmsqQesxTw== X-Received: by 2002:a5d:5d0a:0:b0:429:d3c9:b889 with SMTP id ffacd0b85a97d-42b4bb8f18dmr3199064f8f.1.1762966414074; Wed, 12 Nov 2025 08:53:34 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:a397:14bc:5982:5745]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-42b30f1cc4esm25658435f8f.36.2025.11.12.08.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Nov 2025 08:53:33 -0800 (PST) From: luca.boccassi@gmail.com To: Thomas Monjalon Cc: dpdk stable Subject: patch 'common/mlx5: remove useless constants' has been queued to stable release 22.11.11 Date: Wed, 12 Nov 2025 16:52:24 +0000 Message-ID: <20251112165308.1618107-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251112165308.1618107-1-luca.boccassi@gmail.com> References: <20251027162001.3710450-79-luca.boccassi@gmail.com> <20251112165308.1618107-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.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/14/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/5b625cccee6408f9c998eb367bd7fc1935c05c98 Thanks. Luca Boccassi --- >From 5b625cccee6408f9c998eb367bd7fc1935c05c98 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 31 Oct 2025 21:38:10 +0100 Subject: [PATCH] common/mlx5: remove useless constants [ upstream commit 5f961fec22ff6903f2a11ffdc5ffef9c8c50cb5b ] All these constants were unused since their introduction: - MLX5_DRV_PROBE_AGAIN - MLX5_NL_BUF_SIZE - MLX5DV_FLOW_TABLE_TYPE_RDMA_RX - IB_QPT_RAW_PACKET Fixes: ad435d320473 ("common/mlx5: add bus-agnostic layer") Fixes: ccdcba53a3f4 ("net/mlx5: use Netlink to add/remove MAC addresses") Fixes: 03e1f7f760d8 ("net/mlx5: create flow matcher object on Windows") Fixes: 358fbb018310 ("net/mlx5: support multi-packet Rx queue on Windows") Signed-off-by: Thomas Monjalon --- drivers/common/mlx5/linux/mlx5_nl.c | 2 -- drivers/common/mlx5/mlx5_common.h | 3 --- drivers/common/mlx5/windows/mlx5_win_defs.h | 1 - 3 files changed, 6 deletions(-) diff --git a/drivers/common/mlx5/linux/mlx5_nl.c b/drivers/common/mlx5/linux/mlx5_nl.c index 4fa2410a81..657cc1437f 100644 --- a/drivers/common/mlx5/linux/mlx5_nl.c +++ b/drivers/common/mlx5/linux/mlx5_nl.c @@ -27,8 +27,6 @@ #endif -/* Size of the buffer to receive kernel messages */ -#define MLX5_NL_BUF_SIZE (32 * 1024) /* Send buffer size for the Netlink socket */ #define MLX5_SEND_BUF_SIZE 32768 /* Receive buffer size for the Netlink socket */ diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h index 02b5d54363..c34385abc3 100644 --- a/drivers/common/mlx5/mlx5_common.h +++ b/drivers/common/mlx5/mlx5_common.h @@ -502,9 +502,6 @@ typedef int (mlx5_class_driver_probe_t)(struct mlx5_common_device *cdev, */ typedef int (mlx5_class_driver_remove_t)(struct mlx5_common_device *cdev); -/** Device already probed can be probed again to check for new ports. */ -#define MLX5_DRV_PROBE_AGAIN 0x0004 - /** * A structure describing a mlx5 common class driver. */ diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 1ddf5c553d..91439d7468 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -184,7 +184,6 @@ enum mlx5dv_flow_table_type { #define MLX5DV_FLOW_TABLE_TYPE_NIC_RX MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX #define MLX5DV_FLOW_TABLE_TYPE_NIC_TX MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX #define MLX5DV_FLOW_TABLE_TYPE_FDB MLX5_IB_UAPI_FLOW_TABLE_TYPE_FDB -#define MLX5DV_FLOW_TABLE_TYPE_RDMA_RX MLX5_IB_UAPI_FLOW_TABLE_TYPE_RDMA_RX struct mlx5dv_flow_match_parameters { size_t match_sz; -- 2.47.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-11-12 16:20:41.356411799 +0000 +++ 0010-common-mlx5-remove-useless-constants.patch 2025-11-12 16:20:40.883715861 +0000 @@ -1 +1 @@ -From 5f961fec22ff6903f2a11ffdc5ffef9c8c50cb5b Mon Sep 17 00:00:00 2001 +From 5b625cccee6408f9c998eb367bd7fc1935c05c98 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5f961fec22ff6903f2a11ffdc5ffef9c8c50cb5b ] + @@ -17 +18,0 @@ -Cc: stable@dpdk.org @@ -23,2 +24,2 @@ - drivers/common/mlx5/windows/mlx5_win_defs.h | 2 -- - 3 files changed, 7 deletions(-) + drivers/common/mlx5/windows/mlx5_win_defs.h | 1 - + 3 files changed, 6 deletions(-) @@ -27 +28 @@ -index 8753d3127c..d53543a113 100644 +index 4fa2410a81..657cc1437f 100644 @@ -30 +31 @@ -@@ -28,8 +28,6 @@ +@@ -27,8 +27,6 @@ @@ -40 +41 @@ -index b49f0c850e..214ddcb8b3 100644 +index 02b5d54363..c34385abc3 100644 @@ -43 +44 @@ -@@ -575,9 +575,6 @@ typedef int (mlx5_class_driver_probe_t)(struct mlx5_common_device *cdev, +@@ -502,9 +502,6 @@ typedef int (mlx5_class_driver_probe_t)(struct mlx5_common_device *cdev, @@ -54 +55 @@ -index d60df6fd37..d98725eea8 100644 +index 1ddf5c553d..91439d7468 100644 @@ -65,7 +65,0 @@ -@@ -263,6 +262,5 @@ enum { - #define MLX5_MIN_SINGLE_STRIDE_LOG_NUM_BYTES 6 - #define MLX5_MAX_SINGLE_STRIDE_LOG_NUM_BYTES 13 - #define MLX5_EXT_MIN_SINGLE_WQE_LOG_NUM_STRIDES 3 --#define IB_QPT_RAW_PACKET 8 - - #endif /* MLX5_WIN_DEFS_H */