All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [MPTCP][PATCH v4 mptcp-next 0/2] mptcp: add the address ID assignment bitmap and testcases
@ 2020-12-09  8:04 Geliang Tang
  0 siblings, 0 replies; only message in thread
From: Geliang Tang @ 2020-12-09  8:04 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

v4:
 - update the find_next code

v3:
 - call find_next_zero_bit() again for the invalid id.
 - use "for (i = id; ..." in mptcp_nl_cmd_dump_addrs.
 - add a wrap around testcase.

v2:
 - use BITS_PER_LONG macro.
 - add back the callback argument in cmd_dump_addrs.
 - add a testcase.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/117

Geliang Tang (2):
  mptcp: add the address ID assignment bitmap
  selftests: mptcp: add testcases for setting the address ID

 net/mptcp/pm_netlink.c                        | 71 ++++++++++++++-----
 .../testing/selftests/net/mptcp/pm_netlink.sh | 41 ++++++++++-
 2 files changed, 92 insertions(+), 20 deletions(-)

-- 
2.26.2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-09  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09  8:04 [MPTCP] [MPTCP][PATCH v4 mptcp-next 0/2] mptcp: add the address ID assignment bitmap and testcases Geliang Tang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.