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

2015-07-17 Thread "Scott.Jhuang (莊清翔) : 6309"
Hi Sy Jong, If I using KNI in DPDK, can I use another applications at the same time? (e.g. L2 forward, L3 forward) Choi, Sy Jong ? 2015?07?15? 18:01 ??: Hi Scott, You will need to start KNI sample app, it will create the vEth interface. After kni app, it will be there, kni app is the datapath,

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

2015-07-15 Thread "Scott.Jhuang (莊清翔) : 6309"
Hi Sy Jong, If I load "rte_kni.ko" driver, the net_device structs will be initialled by KNI, right? If yes, how can I handle these net_device structs in other driver, because I using "for_each_netdev()" kernel API can't find the net_device structs which KNI initialled. Or these structs have not

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

2015-07-01 Thread "Scott.Jhuang (莊清翔) : 6309"
Hi Sy Jong, Have any idea? "Scott.Jhuang (???) : 6309" ? 2015?06?23? 21:24 ??: Dear Sy Jong, Yes, I have check out DPDK KNI, but I still can't find how to prepare net_device structure... And I also doesn't find how to get "ethtool_cmd.phy_address" Could you let me know the path of source code f

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

2015-06-23 Thread "Scott.Jhuang (莊清翔) : 6309"
Dear Sy Jong, Yes, I have check out DPDK KNI, but I still can't find how to prepare net_device structure... And I also doesn't find how to get "ethtool_cmd.phy_address" Could you let me know the path of source code folder Choi, Sy Jong ? 2015?06?19? 10:35 ??: Hi Scott, DPDK PMD are interfacing

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

2015-06-18 Thread "Scott.Jhuang (莊清翔) : 6309"
Dear Sy Jong, I'm planning to program a driver to get all the ethport's net_device structure, because I need some information from these net_device structures. And I also need to use net_device struct's ethtool_cmd to get some information e.g. ethtool_cmd.phy_address, net_device->ethtool_ops->ge

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

2015-06-17 Thread "Scott.Jhuang (莊清翔) : 6309"
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 in

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

2015-06-15 Thread "Scott.Jhuang (莊清翔) : 6309"
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. Softwar