-
jclulow
The bug tracker should be back online now. We apologise for the inconvenience.
-
nomad
thanks jclulow. I was wrapping up for the day but I guess as my last work-related act for the year I'll submit this bug report.
-
jclulow
Thanks!
-
jclulow
bugs always welcome!
-
nomad
-
fenix
→
BUG 17010: tar has issues with large files with SMB permissions when given the 'p' flag (New)
-
nomad
I hope the report gives sufficient information.
-
nomad
and with that I'll wish everyone a Happy New Year and wander off to play a video game or something.
-
yuripv
Could someone eli5 the difference between EN and ADV mac properties (I read the comment in mac.h and it's not enough for me). I feel like I'm missing the difference here - if I configure the prop for autoneg (EN), that's something that should be exposed over wire (ADV)?
-
sommerfeld
see mac(9e): " A user can control what speeds a device advertises via auto-negotiation
-
sommerfeld
and whether or not it performs auto-negotiation at all by using a series
-
sommerfeld
of properties that have _EN_ in the name. These are read/write
-
sommerfeld
properties and there is one for each speed supported in the operating
-
sommerfeld
system."
-
sommerfeld
" In addition to these properties, there is a corresponding set of
-
sommerfeld
properties with _ADV_ in the name. These are similar to the _EN_ family
-
sommerfeld
of properties, but they are read-only and indicate what the device has
-
sommerfeld
actually negotiated. While they are generally similar to the _EN_ family
-
sommerfeld
of properties, they may change depending on power settings."
-
sommerfeld
so: _EN_ is set by the sysadmin. _ADV_ is set by the driver to indicate what it's actually doing on the link (based in part on what is set in _EN_, what the peer advertised via autoneg, and what the hardware is actually capable of at the moment)
-
yuripv
so the ADV name is misleading and it's actually should be NEG?
-
sommerfeld
that's one way of looking at it, yes. I think it started (when the menu was smaller) as "what the peer advertised to us"
-
yuripv
ok, so without using some proprietary extensions, there's only one ADV that needs to reported as 1?
-
yuripv
what we agreed on with the peer
-
sommerfeld
for speed/duplex, only one. but there's also MAC_PROP_{EN,ADV}_FEC_CAP and other orthogonal properties could surface in the future.
-
yuripv
yeah, I mean speed/duplex here, thanks
-
sommerfeld
see the Link Speed and Auto-negotiation section of mac(9e)
-
yuripv
yeah, I read that, just needed a bit of confirmation that I'm understanding it correctly
-
sommerfeld
yuripv: hmm, looking at dladm show-linkprop and dladm show-ether -x, it would appear that I'm wrong - the "adv" shows the intersection of peer capabability and our capability, so more than one adv cap for speed/duplex can be 1
-
yuripv
how do we know the peer capability though?
-
yuripv
I see the some broadcom extension with bnxt, but it's not generally available?
-
sommerfeld
presumably it's what the peer is advertising through ethernet autonegotiation
-
sommerfeld
(so it's not the full suite that it's capable of, just what it's admitting it can do at the moment)
-
yuripv
well, my understanding was we tell our h/w "we can do this" and peer tells their h/w "we can do this" and h/w does autoneg without involving the s/w :D
-
sommerfeld
yeah, but local h/w will also generally provide a way to report back what the peer offered as well as what they agreed on.
-
yuripv
looks like it's even more interesting looking at the ETHER_STAT, there's EN (enabled), ADV (being advertised), LP (supported by peer)
-
yuripv
err, s/EN//, just supporting the speed/duplex