All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexei Starovoitov <ast@plumgrid.com>
To: Thomas Graf <tgraf@suug.ch>
Cc: "David S. Miller" <davem@davemloft.net>,
	Daniel Borkmann <daniel@iogearbox.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH net-next] bpf: add helpers to access tunnel metadata
Date: Fri, 31 Jul 2015 08:43:27 -0700	[thread overview]
Message-ID: <55BB979F.5010606@plumgrid.com> (raw)
In-Reply-To: <20150731081410.GD4738@pox.localdomain>

On 7/31/15 1:14 AM, Thomas Graf wrote:
> On 07/30/15 at 03:36pm, Alexei Starovoitov wrote:
>> +	to->tunnel_id = be64_to_cpu(info->key.tun_id);
>> +	to->remote_ipv4 = be32_to_cpu(info->key.ipv4_src);
>
> BTW: I have a patch ready to avoid this as you suggested which I'll
> post as soon as GRE and Geneve are done as well. It would require a
> lot of special handling until all encaps have been converted.

great. looking forward.

  reply	other threads:[~2015-07-31 15:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 22:36 [PATCH net-next] bpf: add helpers to access tunnel metadata Alexei Starovoitov
2015-07-31  8:11 ` Thomas Graf
2015-07-31  8:14 ` Thomas Graf
2015-07-31 15:43   ` Alexei Starovoitov [this message]
2015-07-31 22:20 ` David Miller

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=55BB979F.5010606@plumgrid.com \
    --to=ast@plumgrid.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=tgraf@suug.ch \
    /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.