mbox

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

Message ID 20230209152717.4057220-1-niklas.soderlund@corigine.com (mailing list archive)
Headers

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(-)