From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f173.google.com (mail-wj0-f173.google.com [209.85.210.173]) by dpdk.org (Postfix) with ESMTP id 527ED4A59 for ; Tue, 6 Dec 2016 14:35:54 +0100 (CET) Received: by mail-wj0-f173.google.com with SMTP id tg4so65887724wjb.1 for ; Tue, 06 Dec 2016 05:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=pKAMHLQ+kBvCuYHO868XM8AfAO0+uhAbSVV7OuLHfzE=; b=M+3CTc6WJvM5ZdfvgiM7vbA5JQGm+rgs2t96qWyGzrtnPJVZaP3wjJ8OzVJDnLM0xs Yqw5HTkStqlfDU6bmkpZNcGmLAUeM4d/UnqOYqvHqMw9hbjEhzfQIg9RckrdFMEjf2GV 8nOoXLKhgGNsJ9uiWNX5CRgmV0Fp5eHwNvygQY5RJZuHZFrDO02oM0fXqMDpvKmeWk9C KQ2y014WMbra3L7Q4PQINpdsPWC379RHimpLTI7IeldH80K7NfZKlkr9wwkWnsMhf/R6 vyT+ZJ6/laSfPywreg3DuXkz3lJU9YSZsqhyAyankkPYyxnXcZb5tlVqZF8sXRQEElOp PV/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=pKAMHLQ+kBvCuYHO868XM8AfAO0+uhAbSVV7OuLHfzE=; b=iMQgYaBJvXIaJ7MrbQjZqlSvE9vEwrHuGkuCZ70m8NUrCLcRYKptqkEl5+ZdCf0FO2 yVja8rUTrVo7kazweRpH5+8WuMbq+lhHynY2nxEersm/VOjAMGLDfGEAVhfCZe4xj5/8 6u2Cg64WLQIFHfNkDzKmZSBB1/uXr8qXWSxdCN0320gnOImfBjjNu1VeNJaJe3d04Vas 0rFqGZ0BEuU8Mqkt9KQxgyDbknT5MXmVuAFgAksRE7hpeVonamNNOAWDWC28lFNIwnSQ TQSLlS1W2jF1YCYsHoJ4qvUiQenBP45Rm+Hz+SkqCtvyMyH+YjeG1yphi7sLx9WqeqnT 2Sug== X-Gm-Message-State: AKaTC019nK3/iHkqx9YEFoKGUhnz5TIMzAjigyQr1ApTJl2QjLD9DHiBMZ4w7ty1VUj4QajJ X-Received: by 10.194.11.105 with SMTP id p9mr18932225wjb.139.1481031353947; Tue, 06 Dec 2016 05:35:53 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id cl10sm25842251wjb.4.2016.12.06.05.35.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 05:35:53 -0800 (PST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, "Mcnamara, John" , "De Lara Guarch, Pablo" Date: Tue, 06 Dec 2016 14:35:52 +0100 Message-ID: <5257081.QZWz9YM5nq@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1479898526-23489-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: display port driver name 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: , X-List-Received-Date: Tue, 06 Dec 2016 13:35:54 -0000 > > This makes it easier to check which driver name is reported through ethdev > > rte_eth_dev_info_get(). > > > > Example: > > > > root@ubuntu1604:~/dpdk# ./build/app/testpmd -c 0x6 --vdev > > net_af_packet0,iface=mgmt0 -- -i --total-num-mbufs 2049 [snip] > > testpmd> show port info all > > > > ********************* Infos for port 0 ********************* MAC address: > > DE:AD:DE:01:02:03 Driver name: net_af_packet Connect to socket: 0 memory > > allocation on the socket: 0 > > > > Signed-off-by: David Marchand > > Good idea. > > Acked-by: John McNamara Applied, thanks