All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
	daniel@iogearbox.net, xiyou.wangcong@gmail.com,
	alexei.starovoitov@gmail.com
Subject: Re: [PATCH v4 net-next 1/1] net_sched: Introduce skbmod action
Date: Tue, 06 Sep 2016 07:30:44 -0700	[thread overview]
Message-ID: <1473172244.10725.5.camel@edumazet-glaptop3.roam.corp.google.com> (raw)
In-Reply-To: <1473169060-29651-1-git-send-email-jhs@emojatatu.com>

On Tue, 2016-09-06 at 09:37 -0400, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@mojatatu.com>
> +
> +struct tcf_skbmod_params {
> +	struct rcu_head	rcu;
> +	u64	flags; /*up to 64 types of operations; extend if needed */
> +	u8	eth_dst[ETH_ALEN];
> +	u16	eth_type;
> +	u8	eth_src[ETH_ALEN];
> +};
> +
> +struct tcf_skbmod {
> +	struct tc_action	common;
> +	struct tcf_skbmod_params  *skbmod_p;

struct tcf_skbmod_params __rcu *skbmod_p;

> +};

Then add CONFIG_SPARSE_RCU_POINTER=y to your .config
And build/check

make C=2 M=net/sched

Thanks.

  parent reply	other threads:[~2016-09-06 14:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 13:37 [PATCH v4 net-next 1/1] net_sched: Introduce skbmod action Jamal Hadi Salim
2016-09-06 13:54 ` Jamal Hadi Salim
2016-09-06 23:35   ` David Miller
2016-09-06 14:30 ` Eric Dumazet [this message]
2016-09-07  3:29 ` kbuild test robot
2016-09-12 20:46 Jamal Hadi Salim
2016-09-12 21:58 ` Eric Dumazet
2016-09-12 22:08   ` Jamal Hadi Salim
2016-09-12 22:01 ` Eric Dumazet
2016-09-12 22:14   ` Jamal Hadi Salim
2016-09-12 22:26     ` Eric Dumazet
2016-09-12 23:02       ` Jamal Hadi Salim
2016-09-12 23:10         ` Eric Dumazet
2016-09-12 23:20           ` Eric Dumazet
2016-09-12 23:40             ` Jamal Hadi Salim
2016-09-12 23:26         ` Jamal Hadi Salim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473172244.10725.5.camel@edumazet-glaptop3.roam.corp.google.com \
    --to=eric.dumazet@gmail.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=jhs@mojatatu.com \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.