[0/5] Add initial support for NFP PMD

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


Niklas Söderlund Feb. 8, 2023, 4:46 p.m. UTC

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 

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.

Qin Ke (5):
  framework/dut: add support for restoring dual-port NIC with single PCI
  framework/dut: only map ports not already matched
  nics/net_device: add support for dual-port nfp NIC with single PCI
  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, 45 insertions(+), 12 deletions(-)