From: Stephen Hemminger <stephen@networkplumber.org>
To: "Prusty, Subhransu Sekhar" <subhransu.sekhar.prusty@altera.com>
Cc: david.marchand@redhat.com, dev@dpdk.org, rtice@cisco.com,
cheryl.bansal@altera.com, nanditha.jayarajan@altera.com
Subject: Re: [RFC 0/4] net/mcdma: add Altera MCDMA poll mode driver
Date: Mon, 30 Nov 2026 10:13:01 -0800 [thread overview]
Message-ID: <20261130101301.24cee12c@phoenix.local> (raw)
In-Reply-To: <9c12255e-1c08-40b2-9e5f-61f6f54faee8@altera.com>
On Mon, 30 Nov 2026 14:51:04 +0530
"Prusty, Subhransu Sekhar" <subhransu.sekhar.prusty@altera.com> wrote:
> On 16-11-2026 19:47, Prusty, Subhransu Sekhar wrote:
> > Hi Stephen,
> >
> >>
> >> PCI ID and PF/VF model (you asked about devargs). The ID table is
> >> vendor 0x1172, device 0x0000, i.e. the Altera default IDs. Any
> >> Altera design left at default IDs will probe as MCDMA. Whether a
> >> function is PF or VF is decided by the presence of pf_index=, and a
> >> VF needs parent_pf_idx= to find its channel count. The usual way to
> >> do this in DPDK is distinct device IDs for PF and VF (and a real
> >
> > Since ours is FPGA drivers this will be tricky as the IP configuration
> > in a design may not always have the device IDs assigned and even though
> > assigned every design can have a different device IDs which may be
> > difficult to add in the enumeration list. This is why we have this
> > approach to distinguish with devargs. Is there any other way we can
> > approach this?
>
> Hi Stephen and all,
>
> Thank you for reviewing the MCDMA RFC. Before preparing the next
> revision, we would appreciate guidance on the PCI device identification
> and PF/VF discovery model.
>
> For context, the original RFC and review discussion are available here:
>
> https://lore-kernel.gnuweeb.org/all/20261109092513.59d8b647@phoenix.local/T/
>
> The accompanying RFC patch shows our latest proposed change to replace
> the PF/VF index devargs with topology-based discovery. It is a
> preliminary proposal for discussion and does not change PCI device matching.
>
> There are two separate questions we would like to resolve:
>
> 1. How should the PMD safely identify a PCI function as an MCDMA device?
> 2. After identifying it, how should the PMD determine its PF/VF role and
> the hardware PF index needed to interpret the channel configuration?
I have little hardware expertise, Thomas, Bruce or David might have more insight.
I would think you want the same methodology as already done by similar kernel drivers.
prev parent reply other threads:[~2026-11-30 18:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 16:09 [RFC 0/4] net/mcdma: add Altera MCDMA poll mode driver Subhransu S. Prusty
2026-11-09 16:09 ` [RFC 1/4] net/mcdma: add Altera MCDMA poll mode driver skeleton Subhransu S. Prusty
2026-11-09 16:09 ` [RFC 2/4] net/mcdma: add Rx and Tx packet burst paths Subhransu S. Prusty
2026-11-09 16:09 ` [RFC 3/4] net/mcdma: add experimental PIO access APIs Subhransu S. Prusty
2026-11-09 16:09 ` [RFC 4/4] net/mcdma: add experimental QCSR dump APIs Subhransu S. Prusty
2026-11-09 17:25 ` [RFC 0/4] net/mcdma: add Altera MCDMA poll mode driver Stephen Hemminger
2026-11-16 14:17 ` Prusty, Subhransu Sekhar
2026-11-30 9:21 ` Prusty, Subhransu Sekhar
2026-11-30 18:13 ` Stephen Hemminger [this message]
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=20261130101301.24cee12c@phoenix.local \
--to=stephen@networkplumber.org \
--cc=cheryl.bansal@altera.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=nanditha.jayarajan@altera.com \
--cc=rtice@cisco.com \
--cc=subhransu.sekhar.prusty@altera.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.