netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: Alexei Starovoitov <ast@plumgrid.com>
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 10:14:10 +0200	[thread overview]
Message-ID: <20150731081410.GD4738@pox.localdomain> (raw)
In-Reply-To: <1438295817-27295-1-git-send-email-ast@plumgrid.com>

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.

  parent reply	other threads:[~2015-07-31  8:14 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 [this message]
2015-07-31 15:43   ` Alexei Starovoitov
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=20150731081410.GD4738@pox.localdomain \
    --to=tgraf@suug.ch \
    --cc=ast@plumgrid.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).