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 <gadrenayan at gmail.com> wrote: > > 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" <jason-dpdk at lixfeld.ca> wrote: > Hi, > > I?m messing around with MoonGen and trying to simplify some basic diagnostics > before calling whatever MoonGen script I wanted to call. Right now, I?m > trying to find a way to report back the status of a link to see if it?s 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. > > 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? > > Not sure if it matters, but I?m using an Intel 82599 6 port SFP+. I?m using > v2.2.0 (I think? Whatever the version is that is retrieved from git when I > build MoonGen), Debian 8.4. > > Sorry for sounding dumb. I?m not a programmer in the least :( > > Thanks in advance!
