From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 18A991B7A9 for ; Tue, 15 May 2018 15:49:39 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n10-v6so1275499wmc.1 for ; Tue, 15 May 2018 06:49:39 -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:in-reply-to:references; bh=miij6nIjyh7bMNDJkPrj8JmVk0JGkls7KVMnum/MUVk=; b=fIut79DuCwdQU7SzxvKjYpL1OotNAzfuQCs9g94dVT1LQ1VLyc2FoEB0Lbl3AdQMnf +3eCjtvqdDv9tCBXc2PHye8N1cm+Jt0kPHADAMCSmlTZRTzQ64k34veR+hNhXx5YXLgC g8JsjmHGmPsTpBCxdNgZi5g/6kvAI2RHHMQ2C7gNbXkGJ/Sw8TxvOcfSrPvxyylWXq5P oK6ytx+E7OLRct9u3HfMxAoleWqV+ns3o+km9yHAm+hdIftfjuxXgwSKA2Aw9iPn9PIo /MMXte00rwyEENbnTCLPcRb9Ph9qm/nZBz/9fRcLK9plRKjmQgj8QY9/usNyLZMnrld+ Erxw== 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=miij6nIjyh7bMNDJkPrj8JmVk0JGkls7KVMnum/MUVk=; b=tiq7EJ6WBHeYi5ZmApVmrefwTCrS2IXtM/lzWDLM+5QFx1unCuATOPWDS8LSJza+VV Jwdo1xUKKPe9TM9iGyop2zpq/ltPA5qNpM8pVDEmz8lQ/Yo7UBPaXSp63ZynB+dFVZoM +xi3usjazmIXz2fiK2J9/Ml4AD7JrEWzG3Hz9lwJH+0Gbv6BWIOHogtETSlNAEphHHCx MWMF68sN7/Uo+1N/aj0+q2AxCgThkY8oPfuCmqEBLMUztBG/O++8aCGbH+2+lPc2gQKy j815/QepV8P4I4tR3A8WMULAzEyUH2YnQDsjeNI8wAmUHTD4pCD5TMU2p2uKFwDy7CRf GwMQ== X-Gm-Message-State: ALKqPwckxuC+ZEv1N5IKv5RlaztdTY/nUo5Dr5DWZKNKTSFDcYc7eBeD +imRYZIAE0B5//DL1Nt3SNM= X-Google-Smtp-Source: AB8JxZo86rR3XNHTgqGv19zacMCWJrTtjyjzCFiHMDY5zbPPslcm4so0btOVnWP269f44T90MFHsdg== X-Received: by 2002:a1c:b4c3:: with SMTP id d186-v6mr7407700wmf.4.1526392178815; Tue, 15 May 2018 06:49:38 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id z63-v6sm151113wrb.34.2018.05.15.06.49.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:37 -0700 (PDT) From: luca.boccassi@gmail.com To: Ivan Malov Cc: Andrew Rybchenko , Ferruh Yigit , dpdk stable Date: Tue, 15 May 2018 14:47:21 +0100 Message-Id: <20180515134731.9337-70-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'ethdev: improve doc for name by port ID API' has been queued to stable release 18.02.2 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, 15 May 2018 13:49:39 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 15b91d2ca6572b733e039d42d76406f0f37a83a5 Mon Sep 17 00:00:00 2001 From: Ivan Malov Date: Fri, 11 May 2018 15:05:51 +0100 Subject: [PATCH] ethdev: improve doc for name by port ID API [ upstream commit 2d65bf3cfb1bb6063476a078ab43b60cac6cbfa7 ] Description of rte_eth_dev_get_name_by_port() calls port ID argument a pointer, which is misleading. Also, output buffer minimal size is not mentioned. These points need to be improved. Fixes: bde516d5a85a ("ethdev: get port by name") Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Ferruh Yigit --- lib/librte_ether/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index ad235364a..2243039e7 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -3475,9 +3475,9 @@ rte_eth_dev_get_port_by_name(const char *name, uint16_t *port_id); * Get the device name from port id * * @param port_id -* pointer to port identifier of the device +* Port identifier of the device. * @param name -* pci address or name of the device +* Buffer of size RTE_ETH_NAME_MAX_LEN to store the name. * @return * - (0) if successful. * - (-EINVAL) on failure. -- 2.14.2