mbox series

[net-next,v2,00/11] MCTP core protocol updates, minor fixes & tests

Message ID cover.1708335994.git.jk@codeconstruct.com.au (mailing list archive)
Headers show
Series MCTP core protocol updates, minor fixes & tests | expand

Message

Jeremy Kerr Feb. 19, 2024, 9:51 a.m. UTC
This series implements some procotol improvements for AF_MCTP,
particularly for systems with multiple MCTP networks defined. For those,
we need to add the network ID to the tag lookups, which then suggests an
updated version of the tag allocate / drop ioctl to allow the net ID to
be specified there too.

The ioctl change affects uabi, so might warrant some extra attention.

There are also a couple of new kunit tests for multiple-net
configurations.

We have a fix for populating the flow data when fragmenting, and a
testcase for that too.

Of course, any queries/comments/etc., please let me know!

Cheers,


Jeremy

---
v2:
 - [06/11] fix forwards-compat check on local_peer, based on feedback
   from Dan Carpenter <dan.carpenter@linaro.org>
 - [10/11] don't skip the flow tests for a kunit all-tests run, based on
   feedback from Jakub Kicinski <kuba@kernel.org>

---
Jeremy Kerr (11):
  net: mctp: avoid confusion over local/peer dest/source addresses
  net: mctp: Add some detail on the key allocation implementation
  net: mctp: make key lookups match the ANY address on either local or
    peer
  net: mctp: tests: create test skbs with the correct net and device
  net: mctp: separate key correlation across nets
  net: mctp: provide a more specific tag allocation ioctl
  net: mctp: tests: Add netid argument to __mctp_route_test_init
  net: mctp: tests: Add MCTP net isolation tests
  net: mctp: copy skb ext data when fragmenting
  net: mctp: tests: Test that outgoing skbs have flow data populated
  net: mctp: tests: Add a test for proper tag creation on local output

 include/net/mctp.h                           |   6 +-
 include/uapi/linux/mctp.h                    |  32 ++
 net/core/skbuff.c                            |   8 +
 net/mctp/Kconfig                             |   1 +
 net/mctp/af_mctp.c                           | 117 +++++-
 net/mctp/route.c                             | 105 ++++-
 net/mctp/test/route-test.c                   | 413 ++++++++++++++++++-
 net/mctp/test/utils.c                        |   2 +
 tools/testing/kunit/configs/all_tests.config |   1 +
 9 files changed, 630 insertions(+), 55 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 22, 2024, 1 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 19 Feb 2024 17:51:45 +0800 you wrote:
> This series implements some procotol improvements for AF_MCTP,
> particularly for systems with multiple MCTP networks defined. For those,
> we need to add the network ID to the tag lookups, which then suggests an
> updated version of the tag allocate / drop ioctl to allow the net ID to
> be specified there too.
> 
> The ioctl change affects uabi, so might warrant some extra attention.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/11] net: mctp: avoid confusion over local/peer dest/source addresses
    https://git.kernel.org/netdev/net-next/c/ee076b73e576
  - [net-next,v2,02/11] net: mctp: Add some detail on the key allocation implementation
    https://git.kernel.org/netdev/net-next/c/aee6479a458e
  - [net-next,v2,03/11] net: mctp: make key lookups match the ANY address on either local or peer
    https://git.kernel.org/netdev/net-next/c/fc944ecc4f1a
  - [net-next,v2,04/11] net: mctp: tests: create test skbs with the correct net and device
    https://git.kernel.org/netdev/net-next/c/a1f4cf5791e7
  - [net-next,v2,05/11] net: mctp: separate key correlation across nets
    https://git.kernel.org/netdev/net-next/c/43e6795574f5
  - [net-next,v2,06/11] net: mctp: provide a more specific tag allocation ioctl
    https://git.kernel.org/netdev/net-next/c/c16d2380e8fd
  - [net-next,v2,07/11] net: mctp: tests: Add netid argument to __mctp_route_test_init
    https://git.kernel.org/netdev/net-next/c/61b50531dc66
  - [net-next,v2,08/11] net: mctp: tests: Add MCTP net isolation tests
    https://git.kernel.org/netdev/net-next/c/9acdc089c088
  - [net-next,v2,09/11] net: mctp: copy skb ext data when fragmenting
    https://git.kernel.org/netdev/net-next/c/1394c1dec1c6
  - [net-next,v2,10/11] net: mctp: tests: Test that outgoing skbs have flow data populated
    https://git.kernel.org/netdev/net-next/c/109a5331143d
  - [net-next,v2,11/11] net: mctp: tests: Add a test for proper tag creation on local output
    https://git.kernel.org/netdev/net-next/c/d192eaf57f00

You are awesome, thank you!