From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shmulik Ladkani Subject: [PATCH v2 net-next 0/4] act_mirred: Ingress actions support Date: Tue, 27 Sep 2016 23:59:31 +0300 Message-ID: <1475009975-30332-1-git-send-email-shmulik.ladkani@gmail.com> Cc: Jamal Hadi Salim , WANG Cong , Eric Dumazet , Daniel Borkmann , Florian Westphal , netdev@vger.kernel.org, Shmulik Ladkani To: David Miller Return-path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:33162 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965015AbcI0VAE (ORCPT ); Tue, 27 Sep 2016 17:00:04 -0400 Received: by mail-wm0-f65.google.com with SMTP id w84so2946014wmg.0 for ; Tue, 27 Sep 2016 14:00:03 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: This patch series implements action mirred 'ingress' actions TCA_INGRESS_REDIR and TCA_INGRESS_MIRROR. This allows attaching filters whose target is to hand matching skbs into the rx processing of a specified device. v2: in 1/4, declare tcfm_mac_header_xmit as bool instead of int Shmulik Ladkani (4): net/sched: act_mirred: Rename tcfm_ok_push to tcfm_mac_header_xmit and make it a bool net/sched: act_mirred: Refactor detection whether dev needs xmit at mac header net/sched: tc_mirred: Rename public predicates 'is_tcf_mirred_redirect' and 'is_tcf_mirred_mirror' net/sched: act_mirred: Implement ingress actions drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 2 +- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 4 +- .../net/ethernet/netronome/nfp/nfp_net_offload.c | 2 +- include/net/tc_act/tc_mirred.h | 6 +- net/sched/act_mirred.c | 81 ++++++++++++++++------ 7 files changed, 70 insertions(+), 29 deletions(-) -- 2.7.4