17:47:59 Did we ever get LLDP to work over aggregations? 17:49:54 no 17:51:07 i haven't thought about it too much (so there's probably more than a few flaws lurking there), but I am wondering if some of the mac flow improvements in an RFD (whose number I forget) might be able to be a component in the solution (though likely not the entire solution) 17:51:46 (802.1x and a few others more or less have the same problem w/ aggrs on illumos as LLDP) 17:58:58 Is there anyway to use libpcap or whatever to read the frames coming in passively? I see that snoop can capture ethertype 0x88cc on interfaces in the aggr 18:02:29 yes, but you'll see the LLDP packets from every link in the aggr 18:02:46 so you might not be able to tell which port in the aggr received the LLDP frame 18:03:12 I am trying to use https://github.com/google/gopacket with CGO to try and the interfaces not in the aggregate work right now.... 18:03:52 yeah 18:04:04 Snoop grabs them at a different layer? 18:04:35 i don't think snoop will let you run it on a specific link in the aggr 18:06:31 jbk: https://gist.github.com/Smithx10/57287a0f0fd3bcf2caf705f211e7d4c4 18:07:23 lldp-info is the libpcap program, it doesnt ever show 1 or 3 18:08:42 yeah, looks like it's not opening the aggr device 18:09:07 Im guessing snoop knows how? 18:11:28 well if you tell it -d adminaggr0, it's going to open that... 18:11:50 i'm guessing whatever lldp client you're using doesn't know how to iterate aggrs on illumos 18:11:57 one issue may well be 'smart' nics like i40e trying to be too smart with LLDP 18:12:44 while i40e can run it's own internal LLDP between 'virtual' nics, that shouldn't matter 18:12:54 it's really that aggr opens all of the underlying interfaces exclusively 18:13:18 so that means dlpi_open() on those underlying interfaces should fail (but at minimum isn't going to do anything) 18:14:31 because aggr is basically treating all of the rings in the underlying interfaces as if it they were aggr's own rings 18:14:42 (being a bit loose there, but that's the basic idea)... 18:16:01 gopacket is linking in 35 | #include , I got that pcap.h from pkgsrc libpcap-1.10.5 = System-independent interface for user-level packet capture. Maybe there is a diffent pcap.h 18:42:37 jbk: sommerfeld, this is interesting. on i40e aggregates my little go program gets the lldp frames and prints them out check it out: https://gist.github.com/Smithx10/16babecf222028b1e6b31023a23adc5d Looks like the mlx interface doesnt tho. hmmm 21:31:35 i actually have most of an lldp implementation that is 'well integrated' into illumos (aside from using smf, it uses the topo bits to populate a number of default values for items, etc)... but have been waiting on trying to fix the 'aggr issue' 21:45:32 yeah, that would be useful. having to pull the interfaces out of the aggr scares me sometimes.... not sure if its a valid fear, but it will hang and I get the *oh shit* feeling lol