diff options
| author | Girish Moodalbail <girish.moodalbail@oracle.com> | 2017-08-09 01:09:28 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-11 13:45:02 -0700 |
| commit | c5ebc4409f2bb2c0b053c204ba197c6b71527eed (patch) | |
| tree | 1dc3df096515f9e0c369af693e19fcab3a04002e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Merge branch 'sctp-remove-typedefs-from-structures-part-6' (diff) | |
| download | linux-c5ebc4409f2bb2c0b053c204ba197c6b71527eed.tar.gz linux-c5ebc4409f2bb2c0b053c204ba197c6b71527eed.zip | |
geneve: use netlink_ext_ack for error reporting in rtnl operations
Add extack error messages for failure paths while creating/modifying
geneve devices. Once extack support is added to iproute2, more
meaningful and helpful error messages will be displayed making it easy
for users to discern what went wrong.
Before:
=======
$ ip link add gen1 address 0:1:2:3:4:5:6 type geneve id 200 \
remote 192.168.13.2
RTNETLINK answers: Invalid argument
After:
======
$ ip link add gen1 address 0:1:2:3:4:5:6 type geneve id 200 \
remote 192.168.13.2
Error: Provided link layer address is not Ethernet
Also, netdev_dbg() calls used to log errors associated with Netlink
request have been removed.
Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
