netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Moreno <amorenoz@redhat.com>
To: Parav Pandit <parav@nvidia.com>, Jason Wang <jasowang@redhat.com>,
	"virtualization@lists.linux-foundation.org" 
	<virtualization@lists.linux-foundation.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"dsahern@gmail.com" <dsahern@gmail.com>,
	"stephen@networkplumber.org" <stephen@networkplumber.org>,
	"mst@redhat.com" <mst@redhat.com>
Subject: Re: [PATCH iproute2-next v3 0/5] Add vdpa device management tool
Date: Fri, 5 Feb 2021 19:06:09 +0100	[thread overview]
Message-ID: <d056ca1c-8c7f-84ce-dc4a-0105e53c6773@redhat.com> (raw)
In-Reply-To: <BY5PR12MB4322BB72FCC893EB8D4D1B30DCB29@BY5PR12MB4322.namprd12.prod.outlook.com>



On 2/5/21 6:53 PM, Parav Pandit wrote:
> 
> 
>> From: Jason Wang <jasowang@redhat.com>
>> Sent: Friday, February 5, 2021 9:11 AM
>>
>>
>> On 2021/2/4 下午7:15, Adrian Moreno wrote:
>>> Sorry I have not followed this work as close as I would have wanted.
>>> Some questions below.
>>>
>>> On 2/4/21 4:16 AM, Jason Wang wrote:
>>>> On 2021/2/2 下午6:35, Parav Pandit wrote:
>>>>> Linux vdpa interface allows vdpa device management functionality.
>>>>> This includes adding, removing, querying vdpa devices.
>>>>>
>>>>> vdpa interface also includes showing supported management devices
>>>>> which support such operations.
>>>>>
>>>>> This patchset includes kernel uapi headers and a vdpa tool.
>>>>>
>>>>> examples:
>>>>>
>>>>> $ vdpa mgmtdev show
>>>>> vdpasim:
>>>>>     supported_classes net
>>>>>
>>>>> $ vdpa mgmtdev show -jp
>>>>> {
>>>>>       "show": {
>>>>>           "vdpasim": {
>>>>>               "supported_classes": [ "net" ]
>>>>>           }
>>>>>       }
>>>>> }
>>>>>
>>> How can a user establish the relationship between a mgmtdev and it's
>>> parent device (pci vf, sf, etc)?
>>
>>
>> Parav should know more but I try to answer.
>>
>> I think there should be BDF information in the mgmtdev show command if
>> the parent is a PCI device, or we can simply show the parent here?
>>
> Yes, it is present in the mgmtdev show command.
> I should have added the example from the kernel cover letter here.
> Link to the kernel cover letter is at 
> 
> An example for real PCI PF,VF,SF device looks like below.
> I will cover below example to the v4 cover letter while addressing David's comment for header file relocation.
> 
> $ vdpa mgmtdev list
> pci/0000:03.00:0
>   supported_classes
>     net
> pci/0000:03.00:4
>   supported_classes
>     net
> auxiliary/mlx5_core.sf.8
>   supported_classes
>     net
> 
> [1] https://lore.kernel.org/netdev/20210105103203.82508-1-parav@nvidia.com/
> 

Thanks Parav

-- 
Adrián Moreno


  reply	other threads:[~2021-02-05 18:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 11:26 [PATCH iproute2-next 0/2] Add vdpa device management tool Parav Pandit
2021-01-22 11:26 ` [PATCH iproute2-next 1/2] Add kernel headers Parav Pandit
2021-01-22 11:26 ` [PATCH iproute2-next 2/2] vdpa: Add vdpa tool Parav Pandit
2021-01-26  4:22   ` David Ahern
2021-01-26 13:26     ` Parav Pandit
2021-01-28 18:43   ` [PATCH iproute2-next v2 0/2] Add vdpa device management tool Parav Pandit
2021-01-28 18:43     ` [PATCH iproute2-next v2 1/2] Add kernel headers Parav Pandit
2021-01-28 18:43     ` [PATCH iproute2-next v2 2/2] vdpa: Add vdpa tool Parav Pandit
2021-01-29  3:23       ` Parav Pandit
2021-02-02 10:35   ` [PATCH iproute2-next v3 0/5] Add vdpa device management tool Parav Pandit
2021-02-02 10:35     ` [PATCH iproute2-next v3 1/5] Add kernel headers Parav Pandit
2021-02-04  1:37       ` David Ahern
2021-02-05 17:54         ` Parav Pandit
2021-02-02 10:35     ` [PATCH iproute2-next v3 2/5] utils: Add helper routines for indent handling Parav Pandit
2021-02-02 10:35     ` [PATCH iproute2-next v3 3/5] utils: Add generic socket helpers Parav Pandit
2021-02-02 10:35     ` [PATCH iproute2-next v3 4/5] utils: Add helper to map string to unsigned int Parav Pandit
2021-02-02 10:35     ` [PATCH iproute2-next v3 5/5] vdpa: Add vdpa tool Parav Pandit
2021-02-04  3:16     ` [PATCH iproute2-next v3 0/5] Add vdpa device management tool Jason Wang
2021-02-04 11:15       ` Adrian Moreno
2021-02-05  3:40         ` Jason Wang
2021-02-05 17:53           ` Parav Pandit
2021-02-05 18:06             ` Adrian Moreno [this message]
2021-02-05 18:07           ` Adrian Moreno
2021-02-05 18:10   ` [PATCH iproute2-next v4 " Parav Pandit
2021-02-05 18:10     ` [PATCH iproute2-next v4 1/5] Add kernel headers Parav Pandit
2021-02-08 15:47       ` David Ahern
2021-02-10 18:28         ` Parav Pandit
2021-02-05 18:10     ` [PATCH iproute2-next v4 2/5] utils: Add helper routines for indent handling Parav Pandit
2021-02-05 18:10     ` [PATCH iproute2-next v4 3/5] utils: Add generic socket helpers Parav Pandit
2021-02-05 18:10     ` [PATCH iproute2-next v4 4/5] utils: Add helper to map string to unsigned int Parav Pandit
2021-02-05 18:10     ` [PATCH iproute2-next v4 5/5] vdpa: Add vdpa tool Parav Pandit

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=d056ca1c-8c7f-84ce-dc4a-0105e53c6773@redhat.com \
    --to=amorenoz@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=parav@nvidia.com \
    --cc=stephen@networkplumber.org \
    --cc=virtualization@lists.linux-foundation.org \
    /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).