]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'xdp-netlink-ext-ack'
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 14:35:48 +0000 (10:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 14:35:48 +0000 (10:35 -0400)
commitd74a32acd59a8ccd8e209af3f4cf533e0359d355
treeedf1be57584f1dc91d4304bfb4863ef36d888d6d
parent733336262b28d383cf72eba2287f1132deea4f47
parent9861ce039c2a4ff3e50eb7c679dadc15a8469e3f
Merge branch 'xdp-netlink-ext-ack'

Jakub Kicinski says:

====================
xdp: use netlink extended ACK reporting

This series is an attempt to make XDP more user friendly by
enabling exploiting the recently added netlink extended ACK
reporting to carry messages to user space.

David Ahern's iproute2 ext ack patches for ip link are sufficient
to show the errors like this:

Error: nfp: MTU too large w/ XDP enabled

Where the message is coming directly from the driver.  There could
still be a bit of a leap for a complete novice from the message
above to the right settings, but it's a big improvement over the
standard "Invalid argument" message.

v1/non-rfc:
 - add a separate macro in patch 1;
 - add KBUILD_MODNAME as part of the message (Daniel);
 - don't print the error to logs in patch 1.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>