net/mana: support MANA in PF mode
PATCH 1/1 net/mana: support MANA in PF mode
From: Long Li <[email protected]>
MANA can operate in both PF and VF mode. In PF mode, the PCI device has a different device ID.
Add this ID to the PCI table for supporting MANA in PF mode.
Signed-off-by Long Li <[email protected]>
--- drivers/net/mana/mana.c | 4 ++++ drivers/net/mana/mana.h | 1 + 2 files changed, 5 insertions(+)
drivers/net/mana/mana.c +4 -0
@@ -1636,6 +1636,10 @@ static const struct rte_pci_id mana_pci_id_map[] = {RTE_PCI_DEVICE (PCI_VENDOR_ID_MICROSOFT ,PCI_DEVICE_ID_MICROSOFT_MANA ) }, + { +RTE_PCI_DEVICE (PCI_VENDOR_ID_MICROSOFT , +PCI_DEVICE_ID_MICROSOFT_MANA_PF ) + }, { .vendor_id =0 },
drivers/net/mana/mana.h +1 -0
@@ -6,6 +6,7 @@#define __MANA_H__#define PCI_VENDOR_ID_MICROSOFT 0x1414 +#define PCI_DEVICE_ID_MICROSOFT_MANA_PF 0x00b9#define PCI_DEVICE_ID_MICROSOFT_MANA 0x00bastruct mana_shared_data {
Signature · 1 line
2.25.1
Quoted 8 lines · On Wed, 25 Jun 2025 16:50:01 -0700 [email protected] wrote:
From: Long Li <[email protected]>
MANA can operate in both PF and VF mode. In PF mode, the PCI device has a different device ID.
Add this ID to the PCI table for supporting MANA in PF mode.
Signed-off-by Long Li <[email protected]>
Patch is next-net