netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jiri@resnulli.us
Cc: netdev@vger.kernel.org, petrm@mellanox.com, idosch@mellanox.com,
	mlxsw@mellanox.com
Subject: Re: [patch net 0/2] mlxsw: spectrum: Configure TTL of "inherit" for offloaded tunnels
Date: Sun, 22 Oct 2017 02:19:50 +0100 (WEST)	[thread overview]
Message-ID: <20171022.021950.94283084189078828.davem@davemloft.net> (raw)
In-Reply-To: <20171020071616.1498-1-jiri@resnulli.us>

From: Jiri Pirko <jiri@resnulli.us>
Date: Fri, 20 Oct 2017 09:16:14 +0200

> From: Jiri Pirko <jiri@mellanox.com>
> 
> Petr says:
> 
> Currently mlxsw only offloads tunnels that are configured with TTL of "inherit"
> (which is the default). However, Spectrum defaults to 255 and the driver
> neglects to change the configuration. Thus the tunnel packets from offloaded
> tunnels always have TTL of 255, even though tunnels with explicit TTL of 255 are
> never actually offloaded.
> 
> To fix this, introduce support for TIGCR, the register that keeps the related
> bits of global tunnel configuration, and use it on first offload to properly
> configure inheritance of TTL of tunnel packets from overlay packets.

Series applied.

      parent reply	other threads:[~2017-10-22  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20  7:16 [patch net 0/2] mlxsw: spectrum: Configure TTL of "inherit" for offloaded tunnels Jiri Pirko
2017-10-20  7:16 ` [patch net 1/2] mlxsw: reg: Add Tunneling IPinIP General Configuration Register Jiri Pirko
2017-10-20  7:16 ` [patch net 2/2] mlxsw: spectrum_router: Configure TIGCR on init Jiri Pirko
2017-10-22  1:19 ` David Miller [this message]

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=20171022.021950.94283084189078828.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=idosch@mellanox.com \
    --cc=jiri@resnulli.us \
    --cc=mlxsw@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=petrm@mellanox.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 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).