From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com [209.85.217.172]) by dpdk.org (Postfix) with ESMTP id 0CD63378B for ; Tue, 23 Aug 2016 11:09:05 +0200 (CEST) Received: by mail-ua0-f172.google.com with SMTP id 97so233895842uav.3 for ; Tue, 23 Aug 2016 02:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=v4lbLAQJNjZX7zZ5TPAReoOJeOYMWYpJQbmccdWsEm8=; b=bC9cUy3djbea9+MpRLxyfwHbrVgfs39BlkhMRQaNQ9TFx1T9QG5ZaTXCmH7WLF+/iS PARaA5u2t2U2MWNQe1ZQs0owXg8MjGsLJDnv9s4Y7fvavTZpuTZjdybYkUDRUuwhUA2V JGqSdkE8rr3B5rLFdEm7/Xd3FEzKtW+tSTdwv+lcho+0kt3Ru8eCt0vVWr2/6X/sGLsv Pa06db1ZDPuzip9xqeXLYqIDMeLh9J6Vr/ZAzemjZX+54Qv0YlrQyxeMScY9t2ZFrgf+ jllzJlUjg2UmM5kqSxrSVnRJiWaRhea4k0eeMv7xNTCqCZKbb52GzliLf0SZ/TyAAclj J75A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=v4lbLAQJNjZX7zZ5TPAReoOJeOYMWYpJQbmccdWsEm8=; b=aUb4ulrBlsekcp2RHC/RVLIciwpZ5z/NaPWYJpoBGiUyiqQ3k37Gm6+rl/46nFjZOk ajF4sjZ3bTYYOf3sSZ6zt0qb2KdzGPa0tE2d5dunzwoTkIqk4865M46siJG1GGa+oau1 9tb2ZMvmJHp88+pk955GTo2xNzA2Lvn9dWwmUyBoqzQp7eoS82AGnZnZhYm0PReohmU6 W0hdiYiwUhLIpcF2ehCtfigD4S1hwQ/QnwF2wARz1au4BBFN+f2zyNEt4ioYbtsget0v pwgkAkfjwcBDg19/fEV97VHGCSCC8k3XPGQR1W3nXr2Vt0F2kIW2wTdQV4I83l5NESKh oeUQ== X-Gm-Message-State: AEkooutuEgTmAP82xDxBZws2BHTqyS9SuB1kUQq6nw5nx85EUI4fgaUl48CXq9l/A4lmpNUREU13tGM/dUrsIQ== X-Received: by 10.159.39.36 with SMTP id a33mr13060025uaa.37.1471943344242; Tue, 23 Aug 2016 02:09:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.182.200 with HTTP; Tue, 23 Aug 2016 02:09:03 -0700 (PDT) From: Kapil Adhikesavalu Date: Tue, 23 Aug 2016 14:39:03 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK port interrupt based link state notification X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 09:09:05 -0000 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@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.