From: Pravin Shelar <pshelar@ovn.org>
To: Girish Moodalbail <girish.moodalbail@oracle.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next v3 1/1] geneve: add rtnl changelink support
Date: Sun, 23 Jul 2017 10:14:46 -0700	[thread overview]
Message-ID: <CAOrHB_Dbhs1PTqvAtPNdKWi9_rRF16zVsf1iOnQzn0-HYEaK5Q@mail.gmail.com> (raw)
In-Reply-To: <1500615860-7081-1-git-send-email-girish.moodalbail@oracle.com>
On Thu, Jul 20, 2017 at 10:44 PM, Girish Moodalbail
<girish.moodalbail@oracle.com> wrote:
> This patch adds changelink rtnl operation support for geneve devices
> and the code changes involve:
>
>   - added geneve_quiesce() which quiesces the geneve device data path
>     for both TX and RX. This lets us perform the changelink operation
>     atomically w.r.t data path. Also added geneve_unquiesce() to
>     reverse the operation of geneve_quiesce().
>
>   - refactor geneve_newlink into geneve_nl2info to be used by both
>     geneve_newlink and geneve_changelink
>
>   - geneve_nl2info takes a changelink boolean argument to isolate
>     changelink checks.
>
>   - Allow changing only a few attributes (ttl, tos, and remote tunnel
>     endpoint IP address (within the same address family)):
>     - return -EOPNOTSUPP for attributes that cannot be changed for
>       now. Incremental patches can make the non-supported one
>       available in the future if needed.
>
> Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com>
> ---
> v2 -> v3:
>    - removed the use of inline for new functions in my patch
>    - removed an extra check for socket in the datapath and instead
>      I am piggybacking on an already existing check
>    - added more comments to quiesce/unquiesce functions
>
> v1 -> v2:
>    - added geneve_quiesce() and geneve_unquiesce() functions to
>      perform the changelink operation atomically w.r.t data path
Thanks for working on it.
Acked-by: Pravin B Shelar <pshelar@ovn.org>
next prev parent reply	other threads:[~2017-07-23 17:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21  5:44 [PATCH net-next v3 1/1] geneve: add rtnl changelink support Girish Moodalbail
2017-07-23 17:14 ` Pravin Shelar [this message]
2017-07-24 20:51 ` 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=CAOrHB_Dbhs1PTqvAtPNdKWi9_rRF16zVsf1iOnQzn0-HYEaK5Q@mail.gmail.com \
    --to=pshelar@ovn.org \
    --cc=davem@davemloft.net \
    --cc=girish.moodalbail@oracle.com \
    --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).