From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp03.beanfield.com (smtp03.beanfield.com [76.9.193.172]) by dpdk.org (Postfix) with ESMTP id F199D37A2 for ; Wed, 25 May 2016 18:31:55 +0200 (CEST) X-Spam-Status: No X-beanfield-mta03-MailScanner-From: jason-dpdk@lixfeld.ca X-beanfield-mta03-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-beanfield-mta03-MailScanner: Found to be clean X-beanfield-mta03-MailScanner-ID: 1b5biq-0007Ds-Jd Received: from [66.207.220.190] (helo=[10.0.1.4]) by mta03.beanfield.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1b5biq-0007Ds-Jd; Wed, 25 May 2016 12:31:52 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jason Lixfeld In-Reply-To: Date: Wed, 25 May 2016 12:31:51 -0400 Cc: users@dpdk.org Content-Transfer-Encoding: quoted-printable Message-Id: <6242FB85-237B-43D8-B702-9124629774EF@lixfeld.ca> References: <700AAA7A-4EB9-4A4F-81B6-D29FC2B4A7B8@lixfeld.ca> To: Gadre Nayan X-Mailer: Apple Mail (2.3124) 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:31:56 -0000 It sounds like that will only tell me if link status changes, not what = the current link status is? > On May 25, 2016, at 12:29 PM, Gadre Nayan = wrote: >=20 > There is a patch available for link status change on a kni interface. = It will send netlink message from the kni driver. >=20 > On 25 May 2016 9:45 p.m., "Jason Lixfeld" = wrote: > Hi, >=20 > I=E2=80=99m messing around with MoonGen and trying to simplify some = basic diagnostics before calling whatever MoonGen script I wanted to = call. Right 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 rx interface for whatever MoonGen script I = want to run. >=20 > Is there an easy way to do that with an existing dpdk application, or = does one need to be an super uber programmer type (which I am not = anywhere close to being :)) and write some application to be able to do = that? >=20 > 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 git when I build MoonGen), Debian 8.4. >=20 > Sorry for sounding dumb. I=E2=80=99m not a programmer in the least :( >=20 > Thanks in advance!