All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Kerr <jk@codeconstruct.com.au>
To: netdev@vger.kernel.org
Cc: Matt Johnston <matt@codeconstruct.com.au>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	David Howells <dhowells@redhat.com>,
	Alexander Lobakin <aleksander.lobakin@intel.com>,
	Liang Chen <liangchen.linux@gmail.com>,
	Johannes Berg <johannes.berg@intel.com>,
	Dan Carpenter <dan.carpenter@linaro.org>
Subject: [PATCH net-next v2 00/11] MCTP core protocol updates, minor fixes & tests
Date: Mon, 19 Feb 2024 17:51:45 +0800	[thread overview]
Message-ID: <cover.1708335994.git.jk@codeconstruct.com.au> (raw)

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(-)

-- 
2.39.2


             reply	other threads:[~2024-02-19  9:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19  9:51 Jeremy Kerr [this message]
2024-02-19  9:51 ` [PATCH net-next v2 01/11] net: mctp: avoid confusion over local/peer dest/source addresses Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 02/11] net: mctp: Add some detail on the key allocation implementation Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 03/11] net: mctp: make key lookups match the ANY address on either local or peer Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 04/11] net: mctp: tests: create test skbs with the correct net and device Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 05/11] net: mctp: separate key correlation across nets Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 06/11] net: mctp: provide a more specific tag allocation ioctl Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 07/11] net: mctp: tests: Add netid argument to __mctp_route_test_init Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 08/11] net: mctp: tests: Add MCTP net isolation tests Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 09/11] net: mctp: copy skb ext data when fragmenting Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 10/11] net: mctp: tests: Test that outgoing skbs have flow data populated Jeremy Kerr
2024-02-19  9:51 ` [PATCH net-next v2 11/11] net: mctp: tests: Add a test for proper tag creation on local output Jeremy Kerr
2024-02-22 13:00 ` [PATCH net-next v2 00/11] MCTP core protocol updates, minor fixes & tests patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1708335994.git.jk@codeconstruct.com.au \
    --to=jk@codeconstruct.com.au \
    --cc=aleksander.lobakin@intel.com \
    --cc=dan.carpenter@linaro.org \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=johannes.berg@intel.com \
    --cc=kuba@kernel.org \
    --cc=liangchen.linux@gmail.com \
    --cc=matt@codeconstruct.com.au \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.