[golan] Update Connect-IB, ConnectX-4 and ConnectX-4 Lx (Infiniband) support
Updates: - Nodnic: Support for arm cq doorbell via the UAR BAR - Ensure hardware is quiescent when no interface is open - WinPE WA - Support for clear interrupt via BAR - Nodnic: Support for send TX doorbells via the UAR BAR - Added ConnectX-5EX device - Added ConnectX-5 device Signed-off-by: Raed Salem <raeds@mellanox.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
5cf5ffea28
commit
26050fd4c8
@@ -12,8 +12,8 @@
|
||||
#include <compiler.h>
|
||||
|
||||
#define MLX_DEBUG_FATAL_ERROR_PRIVATE(...) do { \
|
||||
DBG("%s: ",__func__); \
|
||||
DBG(__VA_ARGS__); \
|
||||
printf("%s: ",__func__); \
|
||||
printf(__VA_ARGS__); \
|
||||
} while ( 0 )
|
||||
|
||||
#define MLX_DEBUG_ERROR_PRIVATE(id, ...) do { \
|
||||
@@ -56,6 +56,7 @@
|
||||
DBG2(__VA_ARGS__); \
|
||||
} while ( 0 )
|
||||
|
||||
#define MLX_PRINT_PRIVATE(...) printf(__VA_ARGS__)
|
||||
|
||||
|
||||
#endif /* STUB_MLXUTILS_INCLUDE_PRIVATE_FLEXBOOT_DEBUG_H_ */
|
||||
|
||||
@@ -33,7 +33,7 @@ typedef uint8_t mlx_uint8;
|
||||
typedef uint16_t mlx_uint16;
|
||||
typedef uint32_t mlx_uint32;
|
||||
typedef uint64_t mlx_uint64;
|
||||
typedef uint32_t mlx_uintn;
|
||||
typedef unsigned long mlx_uintn;
|
||||
|
||||
typedef int8_t mlx_int8;
|
||||
typedef int16_t mlx_int16;;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <ipxe/pci.h>
|
||||
|
||||
#include "../../mlx_utils/include/private/mlx_pci_priv.h"
|
||||
|
||||
|
||||
@@ -120,6 +121,18 @@ mlx_pci_init_priv(
|
||||
return status;
|
||||
}
|
||||
|
||||
mlx_status
|
||||
mlx_pci_teardown_priv(
|
||||
IN mlx_utils *utils __attribute__ ((unused))
|
||||
)
|
||||
{
|
||||
mlx_status status = MLX_SUCCESS;
|
||||
#ifdef DEVICE_CX3
|
||||
iounmap( utils->config );
|
||||
#endif
|
||||
return status;
|
||||
}
|
||||
|
||||
mlx_status
|
||||
mlx_pci_read_priv(
|
||||
IN mlx_utils *utils,
|
||||
|
||||
Reference in New Issue
Block a user