netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Adam Young <admiyo@amperemail.onmicrosoft.com>
Cc: Adam Young <admiyo@os.amperecomputing.com>,
	Jeremy Kerr <jk@codeconstruct.com.au>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Matt Johnston <matt@codeconstruct.com.au>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Huisong Li <lihuisong@huawei.com>
Subject: Re: [PATCH net-next v28 1/1] mctp pcc: Implement MCTP over PCC Transport
Date: Fri, 5 Sep 2025 15:27:36 +0100	[thread overview]
Message-ID: <20250905-funny-amorphous-warthog-00a7a3@sudeepholla> (raw)
In-Reply-To: <59df0d38-82f5-42af-af93-4cdf33fa89e7@amperemail.onmicrosoft.com>

On Thu, Sep 04, 2025 at 12:54:12PM -0400, Adam Young wrote:
> 
> On 9/4/25 06:48, Sudeep Holla wrote:
> > Hi Adam,
> > 
> > On Thu, Sep 04, 2025 at 12:05:42AM -0400, Adam Young wrote:
> > > Implementation of network driver for
> > > Management Control Transport Protocol(MCTP)
> > > over Platform Communication Channel(PCC)
> > > 
> > > DMTF DSP:0292
> > > https://www.dmtf.org/sites/default/files/standards/documents//
> > > DSP0292_1.0.0WIP50.pdf
> > > 
> > > MCTP devices are specified via ACPI by entries
> > > in DSDT/SDST and reference channels specified
> > > in the PCCT.  Messages are sent on a type 3 and
> > > received on a type 4 channel.  Communication with
> > > other devices use the PCC based doorbell mechanism;
> > > a shared memory segment with a corresponding
> > > interrupt and a memory register used to trigger
> > > remote interrupts.
> > > 
> > > This driver takes advantage of PCC mailbox buffer
> > > management. The data section of the struct sk_buff
> > > that contains the outgoing packet is sent to the mailbox,
> > > already properly formatted  as a PCC message.  The driver
> > > is also responsible for allocating a struct sk_buff that
> > > is then passed to the mailbox and used to record the
> > > data in the shared buffer. It maintains a list of both
> > > outging and incoming sk_buffs to match the data buffers
> > > 
> > > If the mailbox ring buffer is full, the driver stops the
> > > incoming packet queues until a message has been sent,
> > > freeing space in the ring buffer.
> > > 
> > > When the Type 3 channel outbox receives a txdone response
> > > interrupt, it consumes the outgoing sk_buff, allowing
> > > it to be freed.
> > > 
> > Sorry for not reviewing your mailbox changes in time, but I have
> > comments/concerns on the changes merged. I will respond on the original
> > thread with questions if I manage to find it, but it doesn't look good
> > at all to me. So I would want these changes to be on hold(not to be
> > merged at all).
> 
> Yeah, I was a little concerned those got merged without your input.  I will
> look for the comments.
> 

Thanks for the quick response.

-- 
Regards,
Sudeep

  reply	other threads:[~2025-09-05 14:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-04  4:05 [PATCH net-next v28 0/1] MCTP Over PCC Transport Adam Young
2025-09-04  4:05 ` [PATCH net-next v28 1/1] mctp pcc: Implement MCTP over " Adam Young
2025-09-04  6:16   ` Jeremy Kerr
2025-09-05 20:11     ` Adam Young
2025-09-04 10:48   ` Sudeep Holla
2025-09-04 16:54     ` Adam Young
2025-09-05 14:27       ` Sudeep Holla [this message]
2025-09-04 18:25   ` kernel test robot

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=20250905-funny-amorphous-warthog-00a7a3@sudeepholla \
    --to=sudeep.holla@arm.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=admiyo@amperemail.onmicrosoft.com \
    --cc=admiyo@os.amperecomputing.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jk@codeconstruct.com.au \
    --cc=kuba@kernel.org \
    --cc=lihuisong@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --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).