bnxt_en: Add VF PCI ID for 5760X (P7) chips
No driver logic changes are required to support the VFs, so just add the VF PCI ID. Reviewed-by: Selvin Thyparampil Xavier <selvin.xavier@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240501003056.100607-7-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
3c163f35bd
commit
54d0b84f40
@ -137,6 +137,7 @@ static const struct {
|
||||
[NETXTREME_E_VF_HV] = { "Broadcom NetXtreme-E Virtual Function for Hyper-V" },
|
||||
[NETXTREME_E_P5_VF] = { "Broadcom BCM5750X NetXtreme-E Ethernet Virtual Function" },
|
||||
[NETXTREME_E_P5_VF_HV] = { "Broadcom BCM5750X NetXtreme-E Virtual Function for Hyper-V" },
|
||||
[NETXTREME_E_P7_VF] = { "Broadcom BCM5760X Virtual Function" },
|
||||
};
|
||||
|
||||
static const struct pci_device_id bnxt_pci_tbl[] = {
|
||||
@ -211,6 +212,7 @@ static const struct pci_device_id bnxt_pci_tbl[] = {
|
||||
{ PCI_VDEVICE(BROADCOM, 0x1807), .driver_data = NETXTREME_E_P5_VF },
|
||||
{ PCI_VDEVICE(BROADCOM, 0x1808), .driver_data = NETXTREME_E_P5_VF_HV },
|
||||
{ PCI_VDEVICE(BROADCOM, 0x1809), .driver_data = NETXTREME_E_P5_VF_HV },
|
||||
{ PCI_VDEVICE(BROADCOM, 0x1819), .driver_data = NETXTREME_E_P7_VF },
|
||||
{ PCI_VDEVICE(BROADCOM, 0xd800), .driver_data = NETXTREME_S_VF },
|
||||
#endif
|
||||
{ 0 }
|
||||
@ -294,7 +296,7 @@ static bool bnxt_vf_pciid(enum board_idx idx)
|
||||
return (idx == NETXTREME_C_VF || idx == NETXTREME_E_VF ||
|
||||
idx == NETXTREME_S_VF || idx == NETXTREME_C_VF_HV ||
|
||||
idx == NETXTREME_E_VF_HV || idx == NETXTREME_E_P5_VF ||
|
||||
idx == NETXTREME_E_P5_VF_HV);
|
||||
idx == NETXTREME_E_P5_VF_HV || idx == NETXTREME_E_P7_VF);
|
||||
}
|
||||
|
||||
#define DB_CP_REARM_FLAGS (DB_KEY_CP | DB_IDX_VALID)
|
||||
|
@ -2013,6 +2013,7 @@ enum board_idx {
|
||||
NETXTREME_E_VF_HV,
|
||||
NETXTREME_E_P5_VF,
|
||||
NETXTREME_E_P5_VF_HV,
|
||||
NETXTREME_E_P7_VF,
|
||||
};
|
||||
|
||||
struct bnxt {
|
||||
|
Loading…
Reference in New Issue
Block a user