Thread (4 messages) flat view 4 messages, 3 authors, 2018-01-15
STALE3135d

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 net 0/2] IB/ipoib: ip link support

From: Denis Drozdov <hidden>
Date: 2018-01-09 21:42:56
Also in: linux-rdma

Possibly related (same subject, not in this thread)

IP link was broken due to the changes in IPoIB for the rdma_netdev
support after commit cd565b4b51e5
("IB/IPoIB: Support acceleration options callbacks").

This patchset restores IPoIB pkey creation and removal using rtnetlink.
The first patch introduces changes in the rtnetlink code in order to allow
IPOIB allocate and free the netdevice.

The second patch establishes appropriate rtnetlink callbacks for IPoIB
device and restores IPoIB netlink support

Changes since v1:
- Fixed double free_netdev calls in ops->free_link in netdev_run_todo 
- Removed priv_size from ipoib_link_ops as not required anymore.


Denis Drozdov (2):
  rtnl: device allocation/free via rtnl_link_ops
  IB/ipoib: Fix netlink support in IPoIB

 drivers/infiniband/ulp/ipoib/ipoib.h         |  2 ++
 drivers/infiniband/ulp/ipoib/ipoib_main.c    | 23 ++++++++--------
 drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 39 +++++++++++++++++++++++++---
 drivers/infiniband/ulp/ipoib/ipoib_vlan.c    | 20 ++++----------
 include/net/rtnetlink.h                      |  4 +++
 net/core/dev.c                               |  2 ++
 net/core/rtnetlink.c                         | 29 ++++++++++++++++-----
 7 files changed, 82 insertions(+), 37 deletions(-)

-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help