[00/11] Add the support of multiple PF

Message ID 20231102022321.2254224-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series Add the support of multiple PF |

Message

Chaoyong He Nov. 2, 2023, 2:23 a.m. UTC
  Up to now, the NFP card using only one PF (or BDF) for multiple physical
ports, this force the PMD import the difference logic for 'PF' and
'physical port'. Which is not easy to understand and also not compatible
with some DPDK applications.
This patch series add the support of multiple PF, which will remove this
complexity by make sure one 'PF' for one 'physical port' with the help of
firmware.

Chaoyong He (1):
  net/nfp: refactor the probe logic of the secondary process

Peng Zhang (9):
  net/nfp: fix the failure to initialize the LSC mask
  net/nfp: add flag to indicate multiple PFs support
  net/nfp: add major version to nsp commands
  net/nfp: adjust physical port check for multiple PFs
  net/nfp: add the check about the firmware load
  net/nfp: add PF ID used to format symbols
  net/nfp: add nsp command to check if firmware is loaded
  net/nfp: introduce keepalive mechanism for multiple PF
  drivers: enable multiple PF in application firmware

Shihong Wang (1):
  net/nfp: fix the DMA error caused by app exit abnormally

 drivers/common/nfp/nfp_common_ctrl.h   |   1 +
 drivers/net/nfp/flower/nfp_flower.c    |   4 +-
 drivers/net/nfp/flower/nfp_flower.h    |   2 +-
 drivers/net/nfp/nfp_ethdev.c           | 460 ++++++++++++++++++++++---
 drivers/net/nfp/nfp_ethdev_vf.c        |   2 +
 drivers/net/nfp/nfp_net_common.c       |   2 +-
 drivers/net/nfp/nfp_net_common.h       |  28 ++
 drivers/net/nfp/nfpcore/nfp_nsp.c      |  24 +-
 drivers/net/nfp/nfpcore/nfp_nsp.h      |   1 +
 drivers/net/nfp/nfpcore/nfp_resource.h |   3 +
 10 files changed, 464 insertions(+), 63 deletions(-)
  

Comments

Ferruh Yigit Nov. 2, 2023, 2:52 p.m. UTC | #1
On 11/2/2023 2:23 AM, Chaoyong He wrote:
> Up to now, the NFP card using only one PF (or BDF) for multiple physical
> ports, this force the PMD import the difference logic for 'PF' and
> 'physical port'. Which is not easy to understand and also not compatible
> with some DPDK applications.
> This patch series add the support of multiple PF, which will remove this
> complexity by make sure one 'PF' for one 'physical port' with the help of
> firmware.
> 
> Chaoyong He (1):
>   net/nfp: refactor the probe logic of the secondary process
> 
> Peng Zhang (9):
>   net/nfp: fix the failure to initialize the LSC mask
>   net/nfp: add flag to indicate multiple PFs support
>   net/nfp: add major version to nsp commands
>   net/nfp: adjust physical port check for multiple PFs
>   net/nfp: add the check about the firmware load
>   net/nfp: add PF ID used to format symbols
>   net/nfp: add nsp command to check if firmware is loaded
>   net/nfp: introduce keepalive mechanism for multiple PF
>   drivers: enable multiple PF in application firmware
> 
> Shihong Wang (1):
>   net/nfp: fix the DMA error caused by app exit abnormally
>

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