Go to file
Przemek Kitszel 77241a525b devlink: print missing params even if an unknown one is present
Print all of the missing parameters, also in the presence of unknown ones.

Take for example a correct command:
    $ devlink resource set pci/0000:01:00.0 path /kvd/linear size 98304
And remove the "size" keyword:
    $ devlink resource set pci/0000:01:00.0 path /kvd/linear 98304
That yields output:
    Resource size expected.
    Unknown option "98304"

Prior to the patch only the last line of output was present. And if user
would forgot also the "path" keyword, there will be additional line:
    Resource path expected.
in the stderr.

Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
2024-07-07 16:48:51 +00:00
bash-completion tc: drop support for ATM qdisc 2023-10-30 14:16:29 -07:00
bridge bridge/vlan.c: bridge/vlan.c: fix build with gcc 14 on musl systems 2024-05-13 22:21:38 -07:00
dcb dcb: fully initialize flag table 2023-06-28 16:31:33 -07:00
devlink devlink: print missing params even if an unknown one is present 2024-07-07 16:48:51 +00:00
etc/iproute2 Add Open/R to rt_protos 2021-03-30 03:04:09 +00:00
examples/bpf spelling fixes 2024-01-25 16:49:10 -08:00
genl ctrl: Fix fd leak in ctrl_listen() 2024-02-08 09:21:39 -08:00
include uapi: update to pre 6.10-rc1 headers 2024-05-20 08:45:51 -07:00
ip xfrm: add SA direction attribute 2024-06-04 22:53:26 +00:00
lib ip: Exit exec in child process if setup fails 2024-04-25 12:00:25 -07:00
man rdma: Supports to add/delete a device with type SMI 2024-07-07 16:30:14 +00:00
misc ss: use COLUMNS from the environment, if TIOCGWINSZ fails 2024-05-29 15:58:11 +00:00
netem netem: add SPDX license header 2023-01-14 09:00:34 -08:00
rdma rdma: Supports to add/delete a device with type SMI 2024-07-07 16:30:14 +00:00
schema bridge: add json schema for bridge fdb show 2016-07-20 12:02:02 -07:00
tc Merge remote-tracking branch 'main/main' into next 2024-05-03 15:40:02 +00:00
testsuite tc: remove dsmark qdisc 2023-10-30 11:35:32 -07:00
tipc spelling fixes 2024-01-25 16:49:10 -08:00
vdpa bridge/vlan.c: bridge/vlan.c: fix build with gcc 14 on musl systems 2024-05-13 22:21:38 -07:00
.clang-format clang-format: add configuration file 2019-01-17 13:38:23 -08:00
.gitignore Remove leftovers from removed Latex documentation 2018-02-13 16:43:19 -08:00
.mailmap mailmap: map David's mail address 2019-05-15 09:50:42 -07:00
configure Merge remote-tracking branch 'main/main' into next 2024-01-08 19:25:43 +00:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
CREDITS CREDITS: add file 2023-05-13 19:25:04 -07:00
MAINTAINERS ip, link: Add support for netkit 2023-11-22 19:27:45 +00:00
Makefile arpd: create /var/lib/arpd on first use 2024-03-28 13:35:52 -07:00
README README: add note about kernel version compatibility 2024-03-13 09:43:56 -07:00
README.devel README: update location of git repositories, remove broken info link 2018-02-13 16:42:51 -08:00
SECURITY.md Add security policy 2023-09-29 16:06:42 -07:00

This is a set of utilities for Linux networking.

Information:
    https://wiki.linuxfoundation.org/networking/iproute2

Download:
    http://www.kernel.org/pub/linux/utils/net/iproute2/

Stable version repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2.git

Development repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git

Compatibility
-------------
A new release of iproute2 is done with each kernel version, but
there is a wide range of compatibility. Newer versions of iproute2
will still work with older kernels, but there are some limitations.

If an iproute2 command with a new feature is used with an older
kernel, the kernel may report an error or silently ignore the new
attribute. Likewise if older iproute2 is used with an newer kernel,
it is not possible to use or see new features. The range of
compatibility extends back as far as the oldest supported Long Term
Support (LTS) kernel version.

How to compile this.
--------------------
1. libdbm

arpd needs to have the berkeleydb development libraries. For Debian
users this is the package with a name like libdbX.X-dev.
DBM_INCLUDE points to the directory with db_185.h which
is the include file used by arpd to get to the old format Berkeley
database routines.  Often this is in the db-devel package.

2. make

The makefile will automatically build a config.mk file which
contains definitions of libraries that may or may not be available
on the system such as: ATM, ELF, MNL, and SELINUX.

3. include/uapi

This package includes matching sanitized kernel headers because
the build environment may not have up to date versions. See Makefile
if you have special requirements and need to point at different
kernel include files.

Stephen Hemminger
stephen@networkplumber.org

David Ahern
dsahern@gmail.com