[dpdk-users] DPDK port interrupt based link state notification

Kapil Adhikesavalu kapil20084 at gmail.com
Tue Aug 23 11:09:03 CEST 2016


Hi,

I using DPDK with OVS and looking for a way to get interrupt based link
state notifications for dpdk type ports. As its dpdk port, i believe netlink
socket for RTMGRP_LINK is not going to work.
what is the recommended way to get link state notifications for dpdk ports?

i came across "link status interrupt sample application", which is
providing what i am looking for. http://dpdk.org/doc/guides-16.
04/sample_app_ug/link_status_intr.html

How can i use this application along with openvswitch; should i write some
code within ovs to register for ISR ? or is there a another way i can run
this as a separate application without modifying ovs.

when i tried to run OVS with dpdk and link status app, rte_config was
locked by ovs.
[root at localhost build]# ./link_status_interrupt -c f -n 4 --  -p ffff
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: Error - exiting with code: 1
  Cause: Cannot create lock on '/var/run/.rte_config'. Is another primary
process running?

Thanks
kapil.


More information about the users mailing list