From: Florian Fainelli Subject: [PATCH net-next 0/3] net: Support Wake-on-LAN using filters Date: Mon, 6 Aug 2018 14:29:05 -0700 Message-ID: <20180806212909.21720-1-f.fainelli@gmail.com> Cc: Florian Fainelli , andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, linville@tuxdriver.com, davem@davemloft.net To: netdev@vger.kernel.org Return-path: Received: from mail-pf1-f194.google.com ([209.85.210.194]:42983 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731982AbeHFXkN (ORCPT ); Mon, 6 Aug 2018 19:40:13 -0400 Received: by mail-pf1-f194.google.com with SMTP id l9-v6so7453821pff.9 for ; Mon, 06 Aug 2018 14:29:15 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Hi David, John, 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! Florian Fainelli (3): ethtool: Add WAKE_FILTER and RX_CLS_FLOW_WAKE net: dsa: bcm_sf2: Propagate ethtool::rxnfc to CPU port net: systemport: Add support for WAKE_FILTER drivers/net/dsa/bcm_sf2_cfp.c | 40 ++++- drivers/net/ethernet/broadcom/bcmsysport.c | 193 ++++++++++++++++++++- drivers/net/ethernet/broadcom/bcmsysport.h | 11 +- include/uapi/linux/ethtool.h | 5 +- 4 files changed, 236 insertions(+), 13 deletions(-) -- 2.17.1