[dpdk-users] DPDK logs enable

2016-05-10 Thread SAKTHIVEL ANAND S
Hi Any idea, how to enable debug logs for DPDK applications.i have added these lines one by one in the main file. 1. #define DEBUG 2.rte_set_log_level(DEBUG) 3.rte_set_log_type(PMOD,1) also while run the APP, i have added " --log-type 8 ", but i didnt get expected logs. Can some one point me,

[dpdk-users] Unable to see incoming packets with example KNI application

2016-05-10 Thread Pavey, Nicholas
Good afternoon, I?m a new user of the DPDK library - this is my first post to this list. I?ve been experimenting with the various example applications, including ?skeleton? and ?kni?. I have been able to get ?skeleton? to work correctly, and observed good forwarding performance from it. I

[dpdk-users] DPDK logs enable

2016-05-10 Thread Ferruh Yigit
On 5/10/2016 3:10 PM, SAKTHIVEL ANAND S wrote: > Hi > > Any idea, how to enable debug logs for DPDK applications.i have added these > lines one by one in the main file. > 1. #define DEBUG > 2.rte_set_log_level(DEBUG) > 3.rte_set_log_type(PMOD,1) > > also while run the APP, i have added "

[dpdk-users] DPDK: KNI Random MAC generation

2016-05-10 Thread Ferruh Yigit
On 5/10/2016 8:22 AM, SAKTHIVEL ANAND S wrote: > Hi > > I know by default KNI will generate random MAC address for newly created > interfaces. But Is there any way to disable random MAC generation? i am > using VMXNET3 type Ethernet device. > Hi Sakthivel, For supported drivers (igb, ixgbe)

[dpdk-users] DPDK: KNI Random MAC generation

2016-05-10 Thread SAKTHIVEL ANAND S
Hi I know by default KNI will generate random MAC address for newly created interfaces. But Is there any way to disable random MAC generation? i am using VMXNET3 type Ethernet device. Thanks Sakthivel S OM

[dpdk-users] DPDK: KNI Random MAC generation

2016-05-10 Thread Shawn Lewis
On Tue, May 10, 2016 at 10:39 AM, Ferruh Yigit wrote: > On 5/10/2016 8:22 AM, SAKTHIVEL ANAND S wrote: > > Hi > > > > I know by default KNI will generate random MAC address for newly created > > interfaces. But Is there any way to disable random MAC generation? i am > > using VMXNET3 type

[dpdk-users] I can't get the descriptor of a NIC.

2016-05-10 Thread 张成飞
Hello every: When I read the DPDK document, I got a problem that I can't get the descriptor of a NIC.(http://dpdk.org/doc/guides/nics/virtio.html) I want use virtio with kni vhost back end, but I can't find the file /sys/class/net/vEth0/sock_en and /sys/class/net/vEth0/sock_fd. [root