netdev.vger.kernel.org archive mirror
 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>
Subject: [PATCH net-next 00/11] MCTP core protocol updates, minor fixes & tests
Date: Fri, 16 Feb 2024 16:19:10 +0800	[thread overview]
Message-ID: <cover.1708071380.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


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/af_mctp.c         | 117 +++++++++--
 net/mctp/route.c           | 105 ++++++++--
 net/mctp/test/route-test.c | 413 +++++++++++++++++++++++++++++++++++--
 net/mctp/test/utils.c      |   2 +
 7 files changed, 628 insertions(+), 55 deletions(-)

-- 
2.39.2


             reply	other threads:[~2024-02-16  8:19 UTC|newest]

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

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.1708071380.git.jk@codeconstruct.com.au \
    --to=jk@codeconstruct.com.au \
    --cc=aleksander.lobakin@intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).