mbox series

[v9,00/18] Introduce Microsoft Azure Network Adatper (MANA) PMD

Message ID 1663987546-15982-1-git-send-email-longli@linuxonhyperv.com (mailing list archive)
Headers
Series Introduce Microsoft Azure Network Adatper (MANA) PMD |

Message

Long Li Sept. 24, 2022, 2:45 a.m. UTC
  From: Long Li <longli@microsoft.com>

MANA is a network interface card to be used in the Azure cloud environment.
MANA provides safe access to user memory through memory registration. It has
IOMMU built into the hardware.

MANA uses IB verbs and RDMA layer to configure hardware resources. It
requires the corresponding RDMA kernel-mode and user-mode drivers.

The MANA RDMA kernel-mode driver is being reviewed at:
https://patchwork.kernel.org/project/netdevbpf/list/?series=678843&state=*

The MANA RDMA user-mode driver is being reviewed at:
https://github.com/linux-rdma/rdma-core/pull/1177


Long Li (18):
  net/mana: add basic driver with build environment and doc
  net/mana: device configuration and stop
  net/mana: report supported ptypes
  net/mana: support link update
  net/mana: support device removal interrupts
  net/mana: report device info
  net/mana: configure RSS
  net/mana: configure Rx queues
  net/mana: configure Tx queues
  net/mana: implement memory registration
  net/mana: implement the hardware layer operations
  net/mana: start/stop Tx queues
  net/mana: start/stop Rx queues
  net/mana: receive packets
  net/mana: send packets
  net/mana: start/stop device
  net/mana: report queue stats
  net/mana: support Rx interrupts

 MAINTAINERS                       |    6 +
 doc/guides/nics/features/mana.ini |   20 +
 doc/guides/nics/index.rst         |    1 +
 doc/guides/nics/mana.rst          |   69 ++
 drivers/net/mana/gdma.c           |  301 ++++++
 drivers/net/mana/mana.c           | 1499 +++++++++++++++++++++++++++++
 drivers/net/mana/mana.h           |  547 +++++++++++
 drivers/net/mana/meson.build      |   48 +
 drivers/net/mana/mp.c             |  336 +++++++
 drivers/net/mana/mr.c             |  348 +++++++
 drivers/net/mana/rx.c             |  531 ++++++++++
 drivers/net/mana/tx.c             |  415 ++++++++
 drivers/net/mana/version.map      |    3 +
 drivers/net/meson.build           |    1 +
 14 files changed, 4125 insertions(+)
 create mode 100644 doc/guides/nics/features/mana.ini
 create mode 100644 doc/guides/nics/mana.rst
 create mode 100644 drivers/net/mana/gdma.c
 create mode 100644 drivers/net/mana/mana.c
 create mode 100644 drivers/net/mana/mana.h
 create mode 100644 drivers/net/mana/meson.build
 create mode 100644 drivers/net/mana/mp.c
 create mode 100644 drivers/net/mana/mr.c
 create mode 100644 drivers/net/mana/rx.c
 create mode 100644 drivers/net/mana/tx.c
 create mode 100644 drivers/net/mana/version.map
  

Comments

Ferruh Yigit Oct. 4, 2022, 5:51 p.m. UTC | #1
On 9/24/2022 3:45 AM, longli@linuxonhyperv.com wrote:

> 
> From: Long Li <longli@microsoft.com>
> 
> MANA is a network interface card to be used in the Azure cloud environment.
> MANA provides safe access to user memory through memory registration. It has
> IOMMU built into the hardware.
> 
> MANA uses IB verbs and RDMA layer to configure hardware resources. It
> requires the corresponding RDMA kernel-mode and user-mode drivers.
> 
> The MANA RDMA kernel-mode driver is being reviewed at:
> https://patchwork.kernel.org/project/netdevbpf/list/?series=678843&state=*
> 
> The MANA RDMA user-mode driver is being reviewed at:
> https://github.com/linux-rdma/rdma-core/pull/1177
> 
> 
> Long Li (18):
>    net/mana: add basic driver with build environment and doc
>    net/mana: device configuration and stop
>    net/mana: report supported ptypes
>    net/mana: support link update
>    net/mana: support device removal interrupts
>    net/mana: report device info
>    net/mana: configure RSS
>    net/mana: configure Rx queues
>    net/mana: configure Tx queues
>    net/mana: implement memory registration
>    net/mana: implement the hardware layer operations
>    net/mana: start/stop Tx queues
>    net/mana: start/stop Rx queues
>    net/mana: receive packets
>    net/mana: send packets
>    net/mana: start/stop device
>    net/mana: report queue stats
>    net/mana: support Rx interrupts
> 

Hi Long,

Driver looks good, only I put a few minor comments, can you please check 
them?

Thanks,
ferruh
  
Long Li Oct. 4, 2022, 7:37 p.m. UTC | #2
> Subject: Re: [Patch v9 00/18] Introduce Microsoft Azure Network Adatper
> (MANA) PMD
> 
> On 9/24/2022 3:45 AM, longli@linuxonhyperv.com wrote:
> 
> >
> > From: Long Li <longli@microsoft.com>
> >
> > MANA is a network interface card to be used in the Azure cloud
> environment.
> > MANA provides safe access to user memory through memory registration.
> > It has IOMMU built into the hardware.
> >
> > MANA uses IB verbs and RDMA layer to configure hardware resources. It
> > requires the corresponding RDMA kernel-mode and user-mode drivers.
> >
> > The MANA RDMA kernel-mode driver is being reviewed at:
> >
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> >
> hwork.kernel.org%2Fproject%2Fnetdevbpf%2Flist%2F%3Fseries%3D678843
> %26s
> >
> tate%3D*&amp;data=05%7C01%7Clongli%40microsoft.com%7Ccfd942f49229
> 4bbc3
> >
> 5f208daa63110f7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6380
> 05026
> >
> 942011972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj
> oiV2luMzIi
> >
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=DnuV
> 1co%2F7ir
> > 0MtjAlV17aDr9MyswVos8vcoOJfRpIxg%3D&amp;reserved=0
> >
> > The MANA RDMA user-mode driver is being reviewed at:
> >
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> > ub.com%2Flinux-rdma%2Frdma-
> core%2Fpull%2F1177&amp;data=05%7C01%7Clongl
> >
> i%40microsoft.com%7Ccfd942f492294bbc35f208daa63110f7%7C72f988bf86f1
> 41a
> >
> f91ab2d7cd011db47%7C1%7C0%7C638005026942051727%7CUnknown%7CT
> WFpbGZsb3d
> >
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
> 3D%7C
> >
> 3000%7C%7C%7C&amp;sdata=CgggHkL2gGJmhNeZ4Bi5mZJPZC76pR7o8bB%
> 2BKT6qcvY%
> > 3D&amp;reserved=0
> >
> >
> > Long Li (18):
> >    net/mana: add basic driver with build environment and doc
> >    net/mana: device configuration and stop
> >    net/mana: report supported ptypes
> >    net/mana: support link update
> >    net/mana: support device removal interrupts
> >    net/mana: report device info
> >    net/mana: configure RSS
> >    net/mana: configure Rx queues
> >    net/mana: configure Tx queues
> >    net/mana: implement memory registration
> >    net/mana: implement the hardware layer operations
> >    net/mana: start/stop Tx queues
> >    net/mana: start/stop Rx queues
> >    net/mana: receive packets
> >    net/mana: send packets
> >    net/mana: start/stop device
> >    net/mana: report queue stats
> >    net/mana: support Rx interrupts
> >
> 
> Hi Long,
> 
> Driver looks good, only I put a few minor comments, can you please check
> them?
> 
> Thanks,
> ferruh

Hi Ferruh,

I will send v10 to address all the comments.

Thanks,
Long