netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Serhey Popovych <serhe.popovych@gmail.com>
To: netdev@vger.kernel.org
Subject: [PATCH iproute2 v2 0/9] ip/tunnel: Improve tunnel parameters printing
Date: Thu, 18 Jan 2018 16:04:27 +0200	[thread overview]
Message-ID: <1516284276-10942-1-git-send-email-serhe.popovych@gmail.com> (raw)

Continue improvements to tunnel modules. Final goal
is to make merge IP and IPv6 variants and make that
transition as transparent as possible.

Everything within this series is open for your comments,
suggestions and criticism.

See individual patch description message for details.

v2
  1) Fix checkpatch issues: no assignment in condtional
     anymore.

  2) Better code abstraction: introduce tnl_print_encap()
     helper and get rid of duplicated code for printing
     tunnel encapsulation options.

     Patch with subject
     "ip/tunnel: Abstract tunnel encapsulation options printing"
     replaces two previous in v1 series
     "ip/tunnel: Use print_string() and simplify encap option printing"
     and
     "ip/tunnel: Minor cleanups in print routines"

  3) Include patch with subject
     "tunnel: Return constant string without copying it"
     in the series: it is related to tunneling code too.

Thanks,
Serhii

Serhey Popovych (9):
  iplink: Use ll_index_to_name() instead of if_indextoname()
  ip/tunnel: Correct and unify ttl/hoplimit printing
  ip/tunnel: Simplify and unify tos printing
  ip/tunnel: Use print_0xhex() instead of print_string()
  ip/tunnel: Abstract tunnel encapsulation options printing
  gre/tunnel: Print erspan_index using print_uint()
  vti/tunnel: Unify ikey/okey printing
  vti6/tunnel: Unify and simplify link type help functions
  tunnel: Return constant string without copying it

 bridge/fdb.c          |    5 +-
 bridge/link.c         |   19 +++----
 ip/ip6tunnel.c        |    5 +-
 ip/iplink_bond.c      |   38 ++++++--------
 ip/iplink_geneve.c    |   38 ++++++--------
 ip/iplink_vxlan.c     |   49 ++++++++----------
 ip/iproute_lwtunnel.c |   11 ++---
 ip/iptunnel.c         |    2 +-
 ip/link_gre.c         |  132 +++++++++++--------------------------------------
 ip/link_gre6.c        |  103 +++++++++-----------------------------
 ip/link_ip6tnl.c      |  105 ++++++++++-----------------------------
 ip/link_iptnl.c       |  128 +++++++++++------------------------------------
 ip/link_vti.c         |   42 ++++++++--------
 ip/link_vti6.c        |   64 +++++++++++++++---------
 ip/tunnel.c           |  116 ++++++++++++++++++++++++++++++++++++-------
 ip/tunnel.h           |    5 ++
 16 files changed, 340 insertions(+), 522 deletions(-)

-- 
1.7.10.4

             reply	other threads:[~2018-01-18 14:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 14:04 Serhey Popovych [this message]
2018-01-18 14:04 ` [PATCH iproute2 v2 1/9] iplink: Use ll_index_to_name() instead of if_indextoname() Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 2/9] ip/tunnel: Correct and unify ttl/hoplimit printing Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 3/9] ip/tunnel: Simplify and unify tos printing Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 4/9] ip/tunnel: Use print_0xhex() instead of print_string() Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 5/9] ip/tunnel: Abstract tunnel encapsulation options printing Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 6/9] gre/tunnel: Print erspan_index using print_uint() Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 7/9] vti/tunnel: Unify ikey/okey printing Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 8/9] vti6/tunnel: Unify and simplify link type help functions Serhey Popovych
2018-01-18 14:04 ` [PATCH iproute2 v2 9/9] tunnel: Return constant string without copying it Serhey Popovych
2018-01-19  0:35 ` [PATCH iproute2 v2 0/9] ip/tunnel: Improve tunnel parameters printing Stephen Hemminger

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=1516284276-10942-1-git-send-email-serhe.popovych@gmail.com \
    --to=serhe.popovych@gmail.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).