]> git.proxmox.com Git - mirror_iproute2.git/commit
Merge branch 'rdma-dynamic-link-create' into next
authorDavid Ahern <dsahern@gmail.com>
Wed, 3 Apr 2019 19:05:17 +0000 (12:05 -0700)
committerDavid Ahern <dsahern@gmail.com>
Wed, 3 Apr 2019 19:05:17 +0000 (12:05 -0700)
commit806a553c81e09e9650ae24ca3cf97ec480e10f24
treed5df9a18da4679ea6a946a5983e3dc1503c42a87
parent35114a4cfe2e68bb6f736d309be2786f90ec8a8f
parent1d45bf724eb5e8e470e38ca7068145bb1fa98eea
Merge branch 'rdma-dynamic-link-create' into next

Steve Wise  says:

====================

This series adds rdmatool support for creating/deleting rdma links.
This will be used, mainly, by soft rdma drivers to allow adding/deleting
rdma links over netdev interfaces.  It provides the user side for
the following kernel changes merged in linux-5.1.

Changes since v2:

- move checks for required parameters in the parameter handlers
- move final 'link add' processing to link_add_netdev()
- added reviewed-by tags

Changes since v1:

- move error receive checking from rd_sendrecv_msg() to rd_recv_msg().
- Add rd->suppress_errors to allow control over whether errors when
  reading a response should be ignored.  Namely: resource queries can
  get errors like "none found" when querying for resources, and this
  error should not be displayed.  So on a rd object basis, error
  suppression can be controlled.
- Rebased on rdma/for-next UABI (no need to sync rdma_netlink.h now)
- use chains of struct rd_cmd and rd_exec_cmd vs open coding the parsing
  for the 'link add' command.
- minor nit resolution
- added .mailmap file.  If this is not desired for iproute2, then please
  drop the patch.

Changes since RFC:

- add rd_sendrecv_msg() and make use of it in dev_set as well
  as the new link commands.
- fixed problems with the man pages
- changed the command line to use "netdev" as the keyword
  for the network device, do avoid confused with the ib_device
  name.
- got rid of the "type" parameter for link delete.  Also pass
  down the device index instead of the name, using the common
  rd services for validating the device name and fetching the
  index.

====================

Signed-off-by: David Ahern <dsahern@gmail.com>