Skip to content

Commit

Permalink
pcie: whitelist and support mellanox connectx-2
Browse files Browse the repository at this point in the history
Basic functionalities have been tested to work fine on pioneer board.
  • Loading branch information
felixonmars authored and RevySR committed Aug 18, 2024
1 parent fabc24f commit 66cf7c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/pci/controller/cadence/pcie-cadence-sophgo.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ struct vendor_id_list vendor_id_list[] = {
{"Inter I40E", 0x8086, 0x1572},
//{"WangXun RP1000", 0x8088},
{"Switchtec", 0x11f8,0x4052},
{"Mellanox ConnectX-2", 0x15b3, 0x6750}
};

size_t vendor_id_list_num = ARRAY_SIZE(vendor_id_list);
Expand Down
2 changes: 1 addition & 1 deletion include/linux/mlx4/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

#define DEFAULT_UAR_PAGE_SHIFT 12

#define MAX_MSIX 128
#define MAX_MSIX 16
#define MIN_MSIX_P_PORT 5
#define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \
(dev_cap).num_ports * MIN_MSIX_P_PORT)
Expand Down

0 comments on commit 66cf7c8

Please sign in to comment.