Support Mac address pass through on Dell DS1000 dock
Quoted 18 lines · Frédéric Parrenin
Le 26/11/2018 à 15:21, [email protected] a écrit :
Quoted 2 lines
Any feedback from testing with this debugging patch to identify what's happening?
This is super strange, but Mac address pass-through is now working in my configuration, although I did not change anything.
The network is up and running and I have the right Mac AddressFor your information, I recompile the kernel and this is the message I got in
/sys/kernel/debug/dynamic_debug/control:
drivers/net/usb/r8152.c:5149[r8152]rtl_get_version =_ "Detected version 0x%04x\012"drivers/net/usb/r8152.c:1178[r8152]vendor_mac_passthru_addr_read =_ "pass-through bit not set.\012"drivers/net/usb/r8152.c:1170[r8152]vendor_mac_passthru_addr_read =_ "Not an AD type.\012"
Quoted 2 lines
Not sure if it is the information you were looking for (sorry, I am new in kernel debugging).
/sys/kernel/debug/dynamic_debug/control lists all the *available* debug messages. You still need to enable them. The "=_" in the lines above indicate that they are disabled.
E.g. to enable all r8152.c related debug messages prefixed with the function name:
echo 'file r8152.c +fp' >/sys/kernel/debug/dynamic_debug/control
See
https://www.kernel.org/doc/Documentation/admin-guide/dynamic-debug-howto.rst
for more info on the dynamic debug feature.
Bjørn