diff options
| author | Girish Moodalbail <[email protected]> | 2017-08-09 01:09:28 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-11 13:45:02 -0700 |
| commit | c5ebc4409f2bb2c0b053c204ba197c6b71527eed (patch) | |
| tree | 1dc3df096515f9e0c369af693e19fcab3a04002e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b50db91987fb1d4288ac8fdb7ba7487b352be6b5 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions