mbox series

[v2,0/5] Add initial support for NFP PMD

Message ID 20230209152717.4057220-1-niklas.soderlund@corigine.com (mailing list archive)
Headers
Series Add initial support for NFP PMD |

Message

Niklas Söderlund Feb. 9, 2023, 3:27 p.m. UTC
  Hello,

This patch series aims to add support for the NFP PMD driver to DTS. The
DTS framework lacks support in some ares around support for dual-port
NICs with a single PCI address, which NFP is.

Patches 1-3 add support for dual-port NIC with single PCI address in
restoring interfaces, rescanning ports, mapping ports and getting second
interface.

Patch 4 extends the timeout when binding the kernel driver as NFP can
take some time to load its firmware. Finally patch 5 adds the Netronome
and Corigine PCI IDs to allow DTS to recognise the devices.

* Changes since v1
- Fix format.sh warnings

Qin Ke (5):
  framework/dut: add support for restoring dual-port NIC with single PCI
    address
  framework/dut: only map ports not already matched
  nics/net_device: add support for dual-port nfp NIC with single PCI
    address
  framework/dut: add longer timeout for loading driver and firmware
  framework/setting: enable Corigine and Netronome NIC for dts

 framework/dut.py      | 30 ++++++++++++++++++++++--------
 framework/settings.py | 20 ++++++++++++++++++++
 framework/tester.py   |  3 ++-
 nics/net_device.py    |  4 ++--
 4 files changed, 46 insertions(+), 11 deletions(-)
  

Comments

Niklas Söderlund March 6, 2023, 1:06 p.m. UTC | #1
Hi all,

A small ping on this series.

On 2023-02-09 16:27:12 +0100, Niklas Söderlund wrote:
> Hello,
> 
> This patch series aims to add support for the NFP PMD driver to DTS. The
> DTS framework lacks support in some ares around support for dual-port
> NICs with a single PCI address, which NFP is.
> 
> Patches 1-3 add support for dual-port NIC with single PCI address in
> restoring interfaces, rescanning ports, mapping ports and getting second
> interface.
> 
> Patch 4 extends the timeout when binding the kernel driver as NFP can
> take some time to load its firmware. Finally patch 5 adds the Netronome
> and Corigine PCI IDs to allow DTS to recognise the devices.
> 
> * Changes since v1
> - Fix format.sh warnings
> 
> Qin Ke (5):
>   framework/dut: add support for restoring dual-port NIC with single PCI
>     address
>   framework/dut: only map ports not already matched
>   nics/net_device: add support for dual-port nfp NIC with single PCI
>     address
>   framework/dut: add longer timeout for loading driver and firmware
>   framework/setting: enable Corigine and Netronome NIC for dts
> 
>  framework/dut.py      | 30 ++++++++++++++++++++++--------
>  framework/settings.py | 20 ++++++++++++++++++++
>  framework/tester.py   |  3 ++-
>  nics/net_device.py    |  4 ++--
>  4 files changed, 46 insertions(+), 11 deletions(-)
> 
> -- 
> 2.39.1
>
  
Tu, Lijuan March 7, 2023, 3:35 a.m. UTC | #2
> -----Original Message-----
> From: Niklas Söderlund <niklas.soderlund@corigine.com>
> Sent: Thursday, February 9, 2023 11:27 PM
> To: dts@dpdk.org
> Cc: oss-drivers@corigine.com; Qin Ke <qin.ke@corigine.com>; Niklas Söderlund
> <niklas.soderlund@corigine.com>
> Subject: [PATCH v2 0/5] Add initial support for NFP PMD
> 
> Hello,
> 
> This patch series aims to add support for the NFP PMD driver to DTS. The DTS
> framework lacks support in some ares around support for dual-port NICs with a
> single PCI address, which NFP is.
> 
> Patches 1-3 add support for dual-port NIC with single PCI address in restoring
> interfaces, rescanning ports, mapping ports and getting second interface.
> 
> Patch 4 extends the timeout when binding the kernel driver as NFP can take
> some time to load its firmware. Finally patch 5 adds the Netronome and
> Corigine PCI IDs to allow DTS to recognise the devices.
> 
> * Changes since v1
> - Fix format.sh warnings
> 
> Qin Ke (5):
>   framework/dut: add support for restoring dual-port NIC with single PCI
>     address
>   framework/dut: only map ports not already matched
>   nics/net_device: add support for dual-port nfp NIC with single PCI
>     address
>   framework/dut: add longer timeout for loading driver and firmware
>   framework/setting: enable Corigine and Netronome NIC for dts
> 
>  framework/dut.py      | 30 ++++++++++++++++++++++--------
>  framework/settings.py | 20 ++++++++++++++++++++
>  framework/tester.py   |  3 ++-
>  nics/net_device.py    |  4 ++--
>  4 files changed, 46 insertions(+), 11 deletions(-)

Applied the series, thanks