From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ex1.cas-well.com (unknown [122.146.96.100]) by dpdk.org (Postfix) with ESMTP id 77235C326 for ; Wed, 17 Jun 2015 05:11:39 +0200 (CEST) Received: from [192.168.143.71] (192.168.143.71) by ex1.cas-well.com (192.168.200.10) with Microsoft SMTP Server id 14.3.195.1; Wed, 17 Jun 2015 11:11:36 +0800 Message-ID: <5580E567.3020204@cas-well.com> Date: Wed, 17 Jun 2015 11:11:35 +0800 From: =?UTF-8?B?IlNjb3R0LkpodWFuZyAo6I6K5riF57+UKSA6IDYzMDki?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Choi, Sy Jong" , "dev@dpdk.org" References: <557EAA67.6090702@cas-well.com> <697F8B1B48670548A5BAB03E8283550F354483D8@PGSMSX108.gar.corp.intel.com> In-Reply-To: <697F8B1B48670548A5BAB03E8283550F354483D8@PGSMSX108.gar.corp.intel.com> X-Originating-IP: [192.168.143.71] Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 03:11:40 -0000 Hi Sy Jong, But...I am programming a driver now, have any sample driver I can reference= ? Choi, Sy Jong =E6=96=BC 2015=E5=B9=B406=E6=9C=8816=E6=97=A5 14:48 =E5=AF=AB= =E9=81=93: Hi Scott, You can review DPDK KNI sample app, there's ethtool support using a vEth de= vice interfacing to DPDK PMD. Pure DPDK PMD require programming to display the information in ethtool. Th= e interfacing is demonstrate on KNI sample app. Regards, Choi, Sy Jong Platform Application Engineer -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of "Scott.Jhuang (???) : = 6309" Sent: Monday, June 15, 2015 6:35 PM To: dev@dpdk.org Subject: [dpdk-dev] How to get net_device and use struct ethtool_cmd at DPD= K enverinment? Hi, I want to get etherport's net_device structs and using ethtool_cmd to get s= ome information of etherports. Are these capabilitys igb_uio driver also provided? If not, how can I get net_devices and use ethtool_cmd capabilitys? -- Best Regards, Scott Jhuang Software Engineering Dept. Software Engineer CASwell 238 =E6=96=B0=E5=8C=97=E5=B8=82=E6=A8=B9=E6=9E=97=E5=8D=80=E5=8D=9A=E6=84= =9B=E8=A1=97242=E8=99=9F8=E6=A8=93 8F, No.242, Bo-Ai St., Shu-Lin Dist, New Taipei City 238, Taiwan Tel=EF=BC=9A+886-2-7705-8888 # 6309 Fax=EF=BC=9A+886-2-7731-9988 E-mail=EF=BC=9Ascott.jhuang@cas-well.com<= mailto:scott.jhuang@cas-well.com> CASWELL Inc. =E7=91=9E=E7=A5=BA=E9=9B=BB=E9=80=9A http://www.cas-well.com =E6=9C=AC=E4=BF=A1=E4=BB=B6=E5=8F=AF=E8=83=BD=E5=8C=85=E5=90=AB=E7=91=9E=E7= =A5=BA=E9=9B=BB=E9=80=9A=E6=A9=9F=E5=AF=86=E8=B3=87=E8=A8=8A=EF=BC=8C=E9=9D= =9E=E6=8C=87=E5=AE=9A=E4=B9=8B=E6=94=B6=E4=BB=B6=E8=80=85=EF=BC=8C=E8=AB=8B= =E5=8B=BF=E4=BD=BF=E7=94=A8=E6=88=96=E6=8F=AD=E9=9C=B2=E6=9C=AC=E4=BF=A1=E4= =BB=B6=E5=85=A7=E5=AE=B9=EF=BC=8C=E4=B8=A6=E8=AB=8B=E9=8A=B7=E6=AF=80=E6=AD= =A4=E4=BF=A1=E4=BB=B6=E3=80=82 This email may contain confidential informat= ion. Please do not use or disclose it in any way and delete it if you are n= ot the intended recipient. -- Best Regards, Scott Jhuang Software Engineering Dept. Software Engineer CASwell 238 =E6=96=B0=E5=8C=97=E5=B8=82=E6=A8=B9=E6=9E=97=E5=8D=80=E5=8D=9A=E6=84= =9B=E8=A1=97242=E8=99=9F8=E6=A8=93 8F, No.242, Bo-Ai St., Shu-Lin Dist, New Taipei City 238, Taiwan Tel=EF=BC=9A+886-2-7705-8888 # 6309 Fax=EF=BC=9A+886-2-7731-9988 E-mail=EF=BC=9Ascott.jhuang@cas-well.com CASWELL Inc. =E7=91=9E=E7=A5=BA=E9=9B=BB=E9=80=9A http://www.cas-well.com =E6=9C=AC=E4=BF=A1=E4=BB=B6=E5=8F=AF=E8=83=BD=E5=8C=85=E5=90=AB=E7=91=9E=E7= =A5=BA=E9=9B=BB=E9=80=9A=E6=A9=9F=E5=AF=86=E8=B3=87=E8=A8=8A=EF=BC=8C=E9=9D= =9E=E6=8C=87=E5=AE=9A=E4=B9=8B=E6=94=B6=E4=BB=B6=E8=80=85=EF=BC=8C=E8=AB=8B= =E5=8B=BF=E4=BD=BF=E7=94=A8=E6=88=96=E6=8F=AD=E9=9C=B2=E6=9C=AC=E4=BF=A1=E4= =BB=B6=E5=85=A7=E5=AE=B9=EF=BC=8C=E4=B8=A6=E8=AB=8B=E9=8A=B7=E6=AF=80=E6=AD= =A4=E4=BF=A1=E4=BB=B6=E3=80=82 This email may contain confidential informat= ion. Please do not use or disclose it in any way and delete it if you are n= ot the intended recipient.