From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by dpdk.org (Postfix) with ESMTP id D2AF83772 for ; Wed, 25 May 2016 18:29:11 +0200 (CEST) Received: by mail-io0-f175.google.com with SMTP id 190so35584801iow.1 for ; Wed, 25 May 2016 09:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=PfCB2CP2nNoCmprG5PW/jKjsWlk370eVR8ljQ4Hdo4o=; b=eNFlK2oT0FfWa381H+SFwU061IKQr6Sf3GNB6+pa2Fe10MiAq942JjTD2PRkZJsBZ0 t2cyDpgsnHcLFBfIfHpb8pZXxhuSKJwlBh115gSaD3qje/b5ppZCn8u+x1WPUlJZ3BTS m16ShxH+av950VaTwUUouo1N45iLK5PwXuybDdLePbbAXj9N6Dk5NjXj14XtoZKojiiy zgnED7f4FtHjwR2IFSOc5RQRTuuPO95EKae5IvdJ2cq3vwtntepfiSv7HMjkYMsrUh1P Nhki5jSR7PaGXLvgOHVffdfkAFr5k4ZjAOwgmUhaUpEgzvw9WviHofWnIiRfk4THzPsg uPCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=PfCB2CP2nNoCmprG5PW/jKjsWlk370eVR8ljQ4Hdo4o=; b=kC6VMyr1p+28+yW0VBAiJiqCWors5k3cNQlaDF13c9zMHdJ4J25hcG5LKwzvphABGX tK3SI6qmjxbpQu0JQfgAu6CTiI/oArZKm05/7XsNzQPu4nNwHJJX4jSLh/t5O8dWrnGe otvVCGo2DbjrbQPUrVLFCFUFAZhGRO/Kzftl/N585BLhbUb34+RbrQ6JPxzcZ+FRgXJC 7OOJaNpphZBngq9n7iw546KXQbOFvzlevcZGvP/GgsS8atcLrDwuvFnqCUTQd6qSjxPm Kndl2EN+wap/NonIrRx9UflPPpbDfFmwfG3uilKz/T3PDC9SLcbStgxrkJsUsqlaHtQm jTEQ== X-Gm-Message-State: ALyK8tI8o0C/Rab5JtbeO1SQare9hs5fJvkMSZpkVwiEjiqRsGUCofsHYSw5xNhk3+3nnoY/V1KNJVoH/L8DNg== MIME-Version: 1.0 X-Received: by 10.107.129.87 with SMTP id c84mr4670531iod.102.1464193751341; Wed, 25 May 2016 09:29:11 -0700 (PDT) Received: by 10.79.0.37 with HTTP; Wed, 25 May 2016 09:29:11 -0700 (PDT) Received: by 10.79.0.37 with HTTP; Wed, 25 May 2016 09:29:11 -0700 (PDT) In-Reply-To: <700AAA7A-4EB9-4A4F-81B6-D29FC2B4A7B8@lixfeld.ca> References: <700AAA7A-4EB9-4A4F-81B6-D29FC2B4A7B8@lixfeld.ca> Date: Wed, 25 May 2016 21:59:11 +0530 Message-ID: From: Gadre Nayan To: Jason Lixfeld Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Link status? 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: Wed, 25 May 2016 16:29:12 -0000 There is a patch available for link status change on a kni interface. It will send netlink message from the kni driver. On 25 May 2016 9:45 p.m., "Jason Lixfeld" wrote: > Hi, > > I=E2=80=99m messing around with MoonGen and trying to simplify some basic > diagnostics before calling whatever MoonGen script I wanted to call. Rig= ht > now, I=E2=80=99m trying to find a way to report back the status of a link= to see if > it=E2=80=99s up so that I know whether or not it can be used as a tx or r= x > interface for whatever MoonGen script I want to run. > > Is there an easy way to do that with an existing dpdk application, or doe= s > one need to be an super uber programmer type (which I am not anywhere clo= se > to being :)) and write some application to be able to do that? > > Not sure if it matters, but I=E2=80=99m using an Intel 82599 6 port SFP+.= I=E2=80=99m > using v2.2.0 (I think? Whatever the version is that is retrieved from gi= t > when I build MoonGen), Debian 8.4. > > Sorry for sounding dumb. I=E2=80=99m not a programmer in the least :( > > Thanks in advance!