netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Geetha sowjanya <gakula@marvell.com>, Jiri Pirko <jiri@resnulli.us>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<davem@davemloft.net>, <pabeni@redhat.com>, <edumazet@google.com>,
	<sgoutham@marvell.com>, <sbhatta@marvell.com>,
	<hkelam@marvell.com>
Subject: Re: [net-next PATCH v10 00/11] Introduce RVU representors
Date: Wed, 7 Aug 2024 19:46:47 -0700	[thread overview]
Message-ID: <20240807194647.1dc92a9e@kernel.org> (raw)
In-Reply-To: <20240805131815.7588-1-gakula@marvell.com>

On Mon, 5 Aug 2024 18:48:04 +0530 Geetha sowjanya wrote:
> This series adds representor support for each rvu devices.
> When switchdev mode is enabled, representor netdev is registered
> for each rvu device. In implementation of representor model, 
> one NIX HW LF with multiple SQ and RQ is reserved, where each
> RQ and SQ of the LF are mapped to a representor. A loopback channel
> is reserved to support packet path between representors and VFs.
> CN10K silicon supports 2 types of MACs, RPM and SDP. This
> patch set adds representor support for both RPM and SDP MAC
> interfaces.
> 
> - Patch 1: Refactors and exports the shared service functions.
> - Patch 2: Implements basic representor driver.
> - Patch 3: Add devlink support to create representor netdevs that
>   can be used to manage VFs.
> - Patch 4: Implements basec netdev_ndo_ops.
> - Patch 5: Installs tcam rules to route packets between representor and
> 	   VFs.
> - Patch 6: Enables fetching VF stats via representor interface
> - Patch 7: Adds support to sync link state between representors and VFs .
> - Patch 8: Enables configuring VF MTU via representor netdevs.
> - Patch 9: Add representors for sdp MAC.
> - Patch 10: Add devlink port support.

I can't bring myself to apply this.
Jiri do you have an opinion?
The device is a NPU/SmartNIC/DPU/IPU, it should be very flexible.
Yet, instead of just implementing the representors like everyone 
else you do your own thing and create separate bus devices.
Not sure if this breaks anything today, but it certainly subverts 
the model where representors represent bus devices. 
You can't represent all bus devices, because of the obvious cycle.

Also your documentation is full of typos.

  parent reply	other threads:[~2024-08-08  2:46 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-05 13:18 [net-next PATCH v10 00/11] Introduce RVU representors Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 01/11] octeontx2-pf: Refactoring RVU driver Geetha sowjanya
2024-08-08 15:41   ` Jiri Pirko
2024-08-16 13:36     ` [EXTERNAL] " Geethasowjanya Akula
2024-08-16 14:10       ` Jiri Pirko
2024-08-20  5:24         ` Geethasowjanya Akula
2024-08-22 14:30         ` Jiri Pirko
2024-09-01  9:52           ` Geethasowjanya Akula
2024-08-05 13:18 ` [net-next PATCH v10 02/11] octeontx2-pf: RVU representor driver Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 03/11] octeontx2-pf: Create representor netdev Geetha sowjanya
2024-08-08 15:51   ` Jiri Pirko
2024-08-16 13:36     ` [EXTERNAL] " Geethasowjanya Akula
2024-08-16 14:12       ` Jiri Pirko
2024-08-20  5:21         ` Geethasowjanya Akula
2024-08-05 13:18 ` [net-next PATCH v10 04/11] octeontx2-pf: Add basic net_device_ops Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 05/11] octeontx2-af: Add packet path between representor and VF Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 06/11] octeontx2-pf: Get VF stats via representor Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 07/11] octeontx2-pf: Add support to sync link state between representor and VFs Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 08/11] octeontx2-pf: Configure VF mtu via representor Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 09/11] octeontx2-pf: Add representors for sdp MAC Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 10/11] octeontx2-pf: Add devlink port support Geetha sowjanya
2024-08-05 13:18 ` [net-next PATCH v10 11/11] octeontx2-pf: Implement offload stats ndo for representors Geetha sowjanya
2024-08-08  2:46 ` Jakub Kicinski [this message]
2024-08-08 11:30   ` [EXTERNAL] Re: [net-next PATCH v10 00/11] Introduce RVU representors Sunil Kovvuri Goutham
2024-08-08 14:40     ` Jakub Kicinski
2024-08-08 15:46 ` Jiri Pirko
2024-08-16 13:36   ` [EXTERNAL] " Geethasowjanya Akula
2024-08-16 14:17     ` Jiri Pirko
2024-08-20  5:39       ` Geethasowjanya Akula

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=20240807194647.1dc92a9e@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gakula@marvell.com \
    --cc=hkelam@marvell.com \
    --cc=jiri@resnulli.us \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sbhatta@marvell.com \
    --cc=sgoutham@marvell.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).