On 07/17/2018 09:21 AM, Andrew Lunn wrote: >>>> ethtool -s gphy wol f filters 0x2 >>> >>> What does this 0x2 represent? >> >> 0x2 = bit 1 is set, which corresponds to the filter ID that was returned >> from the previous ethtool::rxnfc command invocation. If ethtool >> --config-nfc returned 3, then we would have used filters 0x8, etc. > > It would be a simpler for the user if you could pass the filter IDs as > a list, and let ethtool do the shift and OR. Sure, I can definitively add that, is a comma separator okay with you for that? E.g: ethtool -s gphy wol f filters 0,1,2,3,4,5,6,7 -- Florian
- Re: [PATCH net-next 6/7] net: systemport: Ad... Andrew Lunn
- Re: [PATCH net-next 6/7] net: systemport... Florian Fainelli
- Re: [PATCH net-next 6/7] net: syste... Andrew Lunn
- Re: [PATCH net-next 6/7] net: s... Florian Fainelli
- Re: [PATCH net-next 6/7] net: s... Andrew Lunn
- Re: [PATCH net-next 6/7] net: s... Florian Fainelli
- [PATCH net-next 7/7] net: dsa: bcm_sf2: Support WAKE_FILT... Florian Fainelli
- Re: [PATCH net-next 0/7] net: Support Wake-on-LAN using f... Andrew Lunn
- Re: [PATCH net-next 0/7] net: Support Wake-on-LAN us... Florian Fainelli
- Re: [PATCH net-next 0/7] net: Support Wake-on-LA... Andrew Lunn
- Re: [PATCH net-next 0/7] net: Support Wake-o... Florian Fainelli
- Re: [PATCH net-next 0/7] net: Support Wa... Andrew Lunn