From: David S. Miller Date: Tue, 7 Aug 2018 19:15:03 +0000 (-0700) Subject: Merge branch 'WoL-filters' X-Git-Tag: v4.19-rc1~140^2~107 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=50ee42b9ccb39c7a5c41eaae3199675a6ced9d49;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'WoL-filters' Florian Fainelli says: ==================== net: Support Wake-on-LAN using filters This is technically a v2, but this patch series builds on your feedback and defines the following: - a new WAKE_* bit: WAKE_FILTER which can be enabled alongside other type of Wake-on-LAN to support waking up on a programmed filter (match + action) - a new RX_CLS_FLOW_WAKE flow action which can be specified by an user when inserting a flow using ethtool::rxnfc, similar to the existing RX_CLS_FLOW_DISC The bcm_sf2 and bcmsysport drivers are updated accordingly to work in concert to allow matching packets at the switch level, identified by their filter location to be used as a match by the SYSTEM PORT (CPU/management controller) during Wake-on-LAN. Let me know if this looks better than the previous incarnation of the patch series. Attached is also the ethtool patch that I would be submitting once the uapi changes are committed. Thank you! Changes in v2: - bail out earlier in bcm_sf2_cfp's get_rxnfc if an error is encountered (Andrew) ==================== Signed-off-by: David S. Miller --- 50ee42b9ccb39c7a5c41eaae3199675a6ced9d49