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 0BB11A0093 for ; Wed, 9 Mar 2022 17:32:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05A284068E; Wed, 9 Mar 2022 17:32:24 +0100 (CET) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mails.dpdk.org (Postfix) with ESMTP id A0C7B4013F for ; Wed, 9 Mar 2022 17:32:22 +0100 (CET) Received: by mail-wr1-f46.google.com with SMTP id j26so3958657wrb.1 for ; Wed, 09 Mar 2022 08:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R7sBpj+bVpchAMsaWSM6+Axh3T8zgOF9wOY/NYu0PrA=; b=fkbc2uyKeuN4Z2J5U1eake59g7OibK4366yJbRnoBTKNJT8Wc554xU0SQzjGw+7Mz7 R14zbMg6QPx7VYHHfLtUEznP7AqMW026HFA6MQ1kFshkBMRuxM7EmCvP9GF8Kzp+c/w2 GF3RsIAVY8nPyEi7bEM55NQbC5a6lcm6NtUTB2Ea29V2Yt0nHCe3syrkBmjtwfzmLv+2 oX8ntdqu+WAxf9aUOAhfc3t7kKTf/tq78tBqcXLcq/a/o4H4kp/TDkq/mu5zmLum2Kep MtPptFZl66o03pScK/nhlwerPq43lybG1b+MsywXQOgTFcXai/qIHa1ungQhIMQJicB6 wTlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R7sBpj+bVpchAMsaWSM6+Axh3T8zgOF9wOY/NYu0PrA=; b=aWgMTT3ax3fVgT2cJuauqWsT0y1DuX0iRz/mSoj2BHKtEhXweC70tXvkyyA4iYF+Wy YCZOeR/TXpbF7akvJhoQHI6e7ImHU+KaZDv66Os+c0oaAp1ACSKNOmjte8tksXGpfxGD btqxTbyyeVxMKOJyMdwGHiVJcHfmzHqvJIZLRRcF6ztT4FeQGDhIwRI8n6kzTiIK7jZL Q3G0Jr0iAcRi4ovNVITLlkVHN5BcK/0t16RkXbA0DrEPJLwwaFplwN8Pp+F2+IIwKqZ6 pOHPdlrMb0N7w9xsRKs1zxWYy0nla3XeBDSS2YlEG0vvvXokcl0IWNh3nkGuKwYNtYxQ f2eg== X-Gm-Message-State: AOAM5320psFVb0u/G8KWopZhjQVXm1bbbiNXfPKydtSU+me6SDIKpCWx uGU34MnNVkrbvhjeODsjzi5dtCuyXus= X-Google-Smtp-Source: ABdhPJzwWuBX9d2G/qKf/y29ua5XWeYFrZZPnWQAR93tOuibP0W3zdmH0KpvmjPD8WRnsaOyJUK+Zw== X-Received: by 2002:a5d:6785:0:b0:203:723c:6b08 with SMTP id v5-20020a5d6785000000b00203723c6b08mr310699wru.643.1646843542270; Wed, 09 Mar 2022 08:32:22 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id t14-20020a5d49ce000000b001f036a29f42sm1968985wrs.116.2022.03.09.08.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 08:32:21 -0800 (PST) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: Bruce Merry , dpdk stable Subject: patch 'ethdev: fix doxygen comments for device info struct' has been queued to stable release 20.11.5 Date: Wed, 9 Mar 2022 16:30:43 +0000 Message-Id: <20220309163053.245754-27-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220309163053.245754-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> <20220309163053.245754-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 20.11.5 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/11/22. 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/c0f4bcb7af08aca0c07d3f90215cebcbb871a549 Thanks. Luca Boccassi --- >From c0f4bcb7af08aca0c07d3f90215cebcbb871a549 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 8 Mar 2022 09:47:00 +0000 Subject: [PATCH] ethdev: fix doxygen comments for device info struct [ upstream commit 3b358e330153bc792c688d6da60c80c40eaacb22 ] API documentation for "struct rte_eth_dev_info" was missing some fields 'device' & 'max_hash_mac_addrs', because of syntax error in doxygen comment, fixing it. Bugzilla ID: 954 Fixes: 88ac4396ad29 ("ethdev: add VMDq support") Fixes: cd8c7c7ce241 ("ethdev: replace bus specific struct with generic dev") Reported-by: Bruce Merry Signed-off-by: Ferruh Yigit --- lib/librte_ethdev/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 8856648d11..899f152a83 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -1502,7 +1502,7 @@ struct rte_eth_rxseg_capa { * device, etc... */ struct rte_eth_dev_info { - struct rte_device *device; /** Generic device information */ + struct rte_device *device; /**< Generic device information */ const char *driver_name; /**< Device Driver name. */ unsigned int if_index; /**< Index to bound host interface, or 0 if none. Use if_indextoname() to translate into an interface name. */ @@ -1516,8 +1516,8 @@ struct rte_eth_dev_info { uint16_t max_rx_queues; /**< Maximum number of RX queues. */ uint16_t max_tx_queues; /**< Maximum number of TX queues. */ uint32_t max_mac_addrs; /**< Maximum number of MAC addresses. */ - uint32_t max_hash_mac_addrs; /** Maximum number of hash MAC addresses for MTA and UTA. */ + uint32_t max_hash_mac_addrs; uint16_t max_vfs; /**< Maximum number of VFs. */ uint16_t max_vmdq_pools; /**< Maximum number of VMDq pools. */ struct rte_eth_rxseg_capa rx_seg_capa; /**< Segmentation capability.*/ -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 16:30:09.506540181 +0000 +++ 0027-ethdev-fix-doxygen-comments-for-device-info-struct.patch 2022-03-09 16:30:08.559025422 +0000 @@ -1 +1 @@ -From 3b358e330153bc792c688d6da60c80c40eaacb22 Mon Sep 17 00:00:00 2001 +From c0f4bcb7af08aca0c07d3f90215cebcbb871a549 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3b358e330153bc792c688d6da60c80c40eaacb22 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ - lib/ethdev/rte_ethdev.h | 4 ++-- + lib/librte_ethdev/rte_ethdev.h | 4 ++-- @@ -21,5 +22,5 @@ -diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h -index c2d1f9a972..04cff8ee10 100644 ---- a/lib/ethdev/rte_ethdev.h -+++ b/lib/ethdev/rte_ethdev.h -@@ -1855,7 +1855,7 @@ enum rte_eth_representor_type { +diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h +index 8856648d11..899f152a83 100644 +--- a/lib/librte_ethdev/rte_ethdev.h ++++ b/lib/librte_ethdev/rte_ethdev.h +@@ -1502,7 +1502,7 @@ struct rte_eth_rxseg_capa { @@ -34,3 +35,3 @@ -@@ -1869,8 +1869,8 @@ struct rte_eth_dev_info { - uint16_t max_rx_queues; /**< Maximum number of Rx queues. */ - uint16_t max_tx_queues; /**< Maximum number of Tx queues. */ +@@ -1516,8 +1516,8 @@ struct rte_eth_dev_info { + uint16_t max_rx_queues; /**< Maximum number of RX queues. */ + uint16_t max_tx_queues; /**< Maximum number of TX queues. */