Skip to content

ibacm: Implement dynamic IP support

[email protected] linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16ibacm: get_devaddr remove unused variable from signaturelinux/acme_linux.c+2 -20 replies
2/16ibacm: pass interface name rather than 'struct ifreq' to get_devaddr, get_sgid, and get_pkeylinux/acme_linux.c+8 -90 replies
3/16ibacm: use sysfs (in acm_if_is_ib) rather than ioctl(... SIOCGIFHWADDR ...) to read interface typelinux/acme_linux.c+27 -70 replies
4/16ibacm: move sysfs helper functions to acm_util 'module'Makefile.am linux/acme_linux.c src/acm_util.c +2 more+159 -870 replies
5/16ibacm: Move calling of helper functions out of get_devaddrlinux/acme_linux.c src/acm_util.h+47 -220 replies
6/16ibacm: move acm_if_iter_sys to acm_util.clinux/acme_linux.c src/acm_util.c+81 -800 replies
7/16ibacm: convert logging in acm_util.c to acm_logMakefile.am src/acm.c src/acm_util.c +1 more+24 -170 replies
8/16ibacm: add separate acm_ep_insert_addr functionsrc/acm.c+58 -150 replies
9/16ibacm: read system IP's into endpoints at startupMakefile.am src/acm.c src/acm_util.c+79 -20 replies
10/16ibacm: add locking around end point address arrayssrc/acm.c+6 -20 replies
11/16ibacm: Add thread to monitor IP address changessrc/acm.c+86 -03 replies
12/16ibacm: add/remove addr's in EP's when added/removed from the system.src/acm.c+110 -20 replies
13/16ibacm: fix handling of aliased IPoIB devicessrc/acm_util.c+7 -00 replies
14/16ibacm: ib_acme remove IP addresses from ibacm_addr.cfg file generationMakefile.am linux/acme_linux.c man/ib_acme.1 +1 more+5 -1080 replies
15/16ibacm: remove acm_if_iter_sys functionsrc/acm.c src/acm_util.c src/acm_util.h+86 -1050 replies
16/16ibacm: remove processing of IP's from ibacm_addr.cfgsrc/acm.c+4 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/16] ibacm: Implement dynamic IP support

From: Sean Hefty <[email protected]>

The following patch series implements dynamic system IP address updates for ibacm. System IP's are read at start up and Netlink is monitored to respond to system IP address changes.

IP's are no longer required or supported in ibacm_addr.cfg after this series. Support for ibacm_addr.cfg was maintained through the first 13 patches in case this feature breaks some user in some unforeseen way.

Ira

--
Sending this on Ira's behalf, who is experiencing technical difficulties.

- Sean

Ira Weiny (16):
ibacm: get_devaddr remove unused variable from signature
ibacm: pass interface name rather than 'struct ifreq' to get_devaddr,
get_sgid, and get_pkey
ibacm: use sysfs (in acm_if_is_ib) rather than ioctl(...
SIOCGIFHWADDR ...) to read interface type
ibacm: move sysfs helper functions to acm_util 'module'
ibacm: Move calling of helper functions out of get_devaddr
ibacm: move acm_if_iter_sys to acm_util.c
ibacm: convert logging in acm_util.c to acm_log
ibacm: add separate acm_ep_insert_addr function
ibacm: read system IP's into endpoints at startup
ibacm: add locking around end point address arrays
ibacm: Add thread to monitor IP address changes
ibacm: add/remove addr's in EP's when added/removed from the system.
ibacm: fix handling of aliased IPoIB devices
ibacm: ib_acme remove IP addresses from ibacm_addr.cfg file
generation
ibacm: remove acm_if_iter_sys function
ibacm: remove processing of IP's from ibacm_addr.cfg

 Makefile.am        |   10 +-
 linux/acme_linux.c |  217 ---------------------------
 man/ib_acme.1      |    3 +-
 src/acm.c          |  419 +++++++++++++++++++++++++++++++++++++++++++++++++---
 src/acm_util.c     |  124 ++++++++++++++++
 src/acm_util.h     |   51 +++++++
 src/acme.c         |   13 +-
 7 files changed, 581 insertions(+), 256 deletions(-)
 delete mode 100644 linux/acme_linux.c
 create mode 100644 src/acm_util.c
 create mode 100644 src/acm_util.h
Signature · 6 lines
1.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html