From: David Ahern <dsa@cumulusnetworks.com>
To: netdev@vger.kernel.org, stephen@networkplumber.org
Cc: jakub.kicinski@netronome.com, David Ahern <dsa@cumulusnetworks.com>
Subject: [PATCH net-next iproute2 0/3] ip: Initial support for extack errors
Date: Mon, 1 May 2017 20:18:22 -0700 [thread overview]
Message-ID: <1493695105-9418-1-git-send-email-dsa@cumulusnetworks.com> (raw)
Introduce a new function, rtnl_ack_extack, to allow commands to flip
to the new error reporting over time.
Convert iplink_modify to use the new function to display error strings
returned from ip link set commands.
David Ahern (3):
netlink: import netlink message parsing from kernel
netlink: Add support for extended ack to rtnl_talk
ip link: Add extack handling for setlink
include/libnetlink.h | 14 +++++
include/nlattr.h | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++
ip/iplink.c | 18 +++++-
lib/Makefile | 2 +-
lib/libnetlink.c | 96 ++++++++++++++++++++++++++----
lib/nlattr.c | 145 +++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 423 insertions(+), 14 deletions(-)
create mode 100644 include/nlattr.h
create mode 100644 lib/nlattr.c
--
2.1.4
next reply other threads:[~2017-05-02 3:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 3:18 David Ahern [this message]
2017-05-02 3:18 ` [PATCH net-next iproute2 1/3] netlink: import netlink message parsing from kernel David Ahern
2017-05-02 15:25 ` Stephen Hemminger
2017-05-02 16:51 ` David Ahern
2017-05-02 17:00 ` David Miller
2017-05-02 18:03 ` Stephen Hemminger
2017-05-02 18:39 ` David Ahern
2017-05-02 18:51 ` David Miller
2017-05-02 19:49 ` Stephen Hemminger
2017-05-02 20:39 ` David Ahern
2017-05-02 21:20 ` Stephen Hemminger
2017-05-02 3:18 ` [PATCH net-next iproute2 2/3] netlink: Add support for extended ack to rtnl_talk David Ahern
2017-05-02 3:18 ` [PATCH net-next iproute2 3/3] ip link: Add extack handling for setlink David Ahern
2017-05-02 3:34 ` [PATCH net-next iproute2 0/3] ip: Initial support for extack errors Jakub Kicinski
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=1493695105-9418-1-git-send-email-dsa@cumulusnetworks.com \
--to=dsa@cumulusnetworks.com \
--cc=jakub.kicinski@netronome.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.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 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.