[dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment?

"Scott.Jhuang (莊清翔) : 6309" Scott.Jhuang at cas-well.com
Wed Jun 17 05:11:35 CEST 2015


Hi Sy Jong,

But...I am programming a driver now, have any sample driver I can reference?

Choi, Sy Jong 於 2015年06月16日 14:48 寫道:

Hi Scott,

You can review DPDK KNI sample app, there's ethtool support using a vEth device interfacing to DPDK PMD.

Pure DPDK PMD require programming to display the information in ethtool. The interfacing is demonstrate on KNI sample app.

Regards,
Choi, Sy Jong
Platform Application Engineer

-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of "Scott.Jhuang (???) : 6309"
Sent: Monday, June 15, 2015 6:35 PM
To: dev at dpdk.org<mailto:dev at dpdk.org>
Subject: [dpdk-dev] How to get net_device and use struct ethtool_cmd at DPDK enverinment?

Hi,

I want to get etherport's net_device structs and using ethtool_cmd to get some 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 新北市樹林區博愛街242號8樓
8F, No.242, Bo-Ai St., Shu-Lin Dist, New Taipei City 238, Taiwan
Tel:+886-2-7705-8888 # 6309
Fax:+886-2-7731-9988
E-mail:scott.jhuang at cas-well.com<mailto:scott.jhuang at cas-well.com><mailto:scott.jhuang at cas-well.com><mailto:scott.jhuang at cas-well.com>
CASWELL Inc. 瑞祺電通 http://www.cas-well.com


本信件可能包含瑞祺電通機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.



--

Best Regards,
Scott Jhuang

Software Engineering Dept.
Software Engineer
CASwell
238 新北市樹林區博愛街242號8樓
8F, No.242, Bo-Ai St., Shu-Lin Dist, New Taipei City 238, Taiwan
Tel:+886-2-7705-8888 # 6309
Fax:+886-2-7731-9988
E-mail:scott.jhuang at cas-well.com<mailto:scott.jhuang at cas-well.com>
CASWELL Inc. 瑞祺電通 http://www.cas-well.com


本信件可能包含瑞祺電通機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.


More information about the dev mailing list