Skip to content

tipc: introduce 128-bit auto-configurable node id

Jon Maloy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tipc: refactor function tipc_enable_bearer()net/tipc/bearer.c+70 -660 replies
2/8tipc: some cleanups in the file discover.cnet/tipc/bearer.c net/tipc/bearer.h net/tipc/discover.c +1 more+155 -1660 replies
3/8tipc: remove restrictions on node address valuesnet/tipc/addr.c net/tipc/addr.h net/tipc/bearer.c +5 more+21 -1050 replies
4/8tipc: allow closest-first lookup algorithm when legacy address is configurednet/tipc/addr.c net/tipc/addr.h net/tipc/core.h +3 more+22 -180 replies
5/8tipc: remove direct accesses to own_addr field in struct tipc_netnet/tipc/addr.c net/tipc/addr.h net/tipc/discover.c +5 more+42 -490 replies
6/8tipc: add 128-bit node identifierinclude/uapi/linux/tipc_netlink.h net/tipc/addr.c net/tipc/addr.h +9 more+148 -560 replies
7/8tipc: handle collisions of 32-bit node address hash valuesnet/tipc/addr.c net/tipc/bearer.c net/tipc/core.c +8 more+236 -450 replies
8/8tipc: obtain node identity from interface by defaultnet/tipc/bearer.c net/tipc/net.h net/tipc/udp_media.c+29 -90 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchYing Xue
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next 0/8] tipc: introduce 128-bit auto-configurable node id

We introduce a 128-bit free-format node identity as an alternative to the legacy <Zone.Cluster.Node> structured 32-bit node address.

We also make configuration of this identity optional; if a bearer is enabled without a pre-configured node id it will be set automatically based on the used interface's MAC or IP address.

Jon Maloy (8):
tipc: refactor function tipc_enable_bearer()
tipc: some cleanups in the file discover.c
tipc: remove restrictions on node address values
tipc: allow closest-first lookup algorithm when legacy address is
configured
tipc: remove direct accesses to own_addr field in struct tipc_net
tipc: add 128-bit node identifier
tipc: handle collisions of 32-bit node address hash values
tipc: obtain node identity from interface by default

 include/uapi/linux/tipc_netlink.h |   2 +
 net/tipc/addr.c                   | 128 +++++++------
 net/tipc/addr.h                   |  37 ++--
 net/tipc/bearer.c                 | 152 +++++++--------
 net/tipc/bearer.h                 |   2 +-
 net/tipc/core.c                   |   6 +-
 net/tipc/core.h                   |  11 +-
 net/tipc/discover.c               | 392 ++++++++++++++++++++++----------------
 net/tipc/discover.h               |   8 +-
 net/tipc/link.c                   |  33 ++--
 net/tipc/link.h                   |   4 +-
 net/tipc/msg.h                    |  23 ++-
 net/tipc/name_distr.c             |  17 +-
 net/tipc/name_table.c             |  14 +-
 net/tipc/net.c                    |  80 ++++----
 net/tipc/net.h                    |   5 +-
 net/tipc/node.c                   | 101 ++++++++--
 net/tipc/node.h                   |   8 +-
 net/tipc/socket.c                 |  23 +--
 net/tipc/udp_media.c              |  13 ++
 20 files changed, 634 insertions(+), 425 deletions(-)
Signature · 6 lines
2.1.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot