[v2,0/3] net/ionic, common/ionic: add vdev support

Message ID 20240220204226.27494-1-andrew.boyer@amd.com (mailing list archive)
Headers
Series net/ionic, common/ionic: add vdev support |

Message

Andrew Boyer Feb. 20, 2024, 8:42 p.m. UTC
  This patch series adds support to net/ionic for using UIO platform devices
as DPDK vdevs. This is used by client applications which run directly on
the AMD Pensando family of devices.

The UIO code is implemented in a new common code library so that it can
be shared with the upcoming crypto/ionic driver.

V2:
- Redesign vdev device scan as suggested by review.
- Re-sort entries in config/arm/meson.build as suggested by review.

Andrew Boyer (3):
  common/ionic: create common code library for ionic
  net/ionic: remove duplicate barriers
  net/ionic: add vdev support for embedded applications

 MAINTAINERS                                 |   1 +
 config/arm/arm64_capri_linux_gcc            |  16 ++
 config/arm/arm64_elba_linux_gcc             |  16 ++
 config/arm/meson.build                      |  44 +++
 drivers/common/ionic/ionic_common.h         |  41 +++
 drivers/common/ionic/ionic_common_uio.c     | 289 ++++++++++++++++++++
 drivers/{net => common}/ionic/ionic_osdep.h |  37 +--
 drivers/{net => common}/ionic/ionic_regs.h  |  49 +++-
 drivers/common/ionic/meson.build            |  12 +
 drivers/common/ionic/version.map            |   9 +
 drivers/common/meson.build                  |   1 +
 drivers/net/ionic/ionic.h                   |   5 +-
 drivers/net/ionic/ionic_dev.h               |  43 ++-
 drivers/net/ionic/ionic_dev_pci.c           |   2 +-
 drivers/net/ionic/ionic_dev_vdev.c          | 147 ++++++++++
 drivers/net/ionic/ionic_ethdev.c            |   7 +
 drivers/net/ionic/ionic_if.h                | 125 ---------
 drivers/net/ionic/ionic_lif.c               |  19 ++
 drivers/net/ionic/ionic_main.c              |   1 -
 drivers/net/ionic/ionic_rx_filter.h         |   1 -
 drivers/net/ionic/ionic_rxtx.h              |   4 +
 drivers/net/ionic/ionic_rxtx_sg.c           |   4 +-
 drivers/net/ionic/ionic_rxtx_simple.c       |   4 +-
 drivers/net/ionic/meson.build               |   5 +
 24 files changed, 697 insertions(+), 185 deletions(-)
 create mode 100644 config/arm/arm64_capri_linux_gcc
 create mode 100644 config/arm/arm64_elba_linux_gcc
 create mode 100644 drivers/common/ionic/ionic_common.h
 create mode 100644 drivers/common/ionic/ionic_common_uio.c
 rename drivers/{net => common}/ionic/ionic_osdep.h (53%)
 rename drivers/{net => common}/ionic/ionic_regs.h (74%)
 create mode 100644 drivers/common/ionic/meson.build
 create mode 100644 drivers/common/ionic/version.map
 create mode 100644 drivers/net/ionic/ionic_dev_vdev.c
  

Comments

Ferruh Yigit Feb. 21, 2024, 4:36 p.m. UTC | #1
On 2/20/2024 8:42 PM, Andrew Boyer wrote:
> This patch series adds support to net/ionic for using UIO platform devices
> as DPDK vdevs. This is used by client applications which run directly on
> the AMD Pensando family of devices.
> 
> The UIO code is implemented in a new common code library so that it can
> be shared with the upcoming crypto/ionic driver.
> 
> V2:
> - Redesign vdev device scan as suggested by review.
> - Re-sort entries in config/arm/meson.build as suggested by review.
> 
> Andrew Boyer (3):
>   common/ionic: create common code library for ionic
>   net/ionic: remove duplicate barriers
>   net/ionic: add vdev support for embedded applications
>

for series,
Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
  
Ferruh Yigit Feb. 23, 2024, 1:48 p.m. UTC | #2
On 2/21/2024 4:36 PM, Ferruh Yigit wrote:
> On 2/20/2024 8:42 PM, Andrew Boyer wrote:
>> This patch series adds support to net/ionic for using UIO platform devices
>> as DPDK vdevs. This is used by client applications which run directly on
>> the AMD Pensando family of devices.
>>
>> The UIO code is implemented in a new common code library so that it can
>> be shared with the upcoming crypto/ionic driver.
>>
>> V2:
>> - Redesign vdev device scan as suggested by review.
>> - Re-sort entries in config/arm/meson.build as suggested by review.
>>
>> Andrew Boyer (3):
>>   common/ionic: create common code library for ionic
>>   net/ionic: remove duplicate barriers
>>   net/ionic: add vdev support for embedded applications
>>
> 
> for series,
> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
>

Series applied to dpdk-next-net/main, thanks.