mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 01:52:39 +03:00
[infiniband] Provide a general mechanism for path record lookups
Generalise out the path record lookup code from IPoIB.
This commit is contained in:
@@ -145,6 +145,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define ERRFILE_icmp ( ERRFILE_NET | 0x00190000 )
|
||||
#define ERRFILE_ib_qset ( ERRFILE_NET | 0x001a0000 )
|
||||
#define ERRFILE_ib_gma ( ERRFILE_NET | 0x001b0000 )
|
||||
#define ERRFILE_ib_pathrec ( ERRFILE_NET | 0x001c0000 )
|
||||
|
||||
#define ERRFILE_image ( ERRFILE_IMAGE | 0x00000000 )
|
||||
#define ERRFILE_elf ( ERRFILE_IMAGE | 0x00010000 )
|
||||
|
||||
17
src/include/gpxe/ib_pathrec.h
Normal file
17
src/include/gpxe/ib_pathrec.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _GPXE_IB_PATHREC_H
|
||||
#define _GPXE_IB_PATHREC_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Infiniband path records
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <gpxe/infiniband.h>
|
||||
|
||||
extern int ib_resolve_path ( struct ib_device *ibdev,
|
||||
struct ib_address_vector *av );
|
||||
|
||||
#endif /* _GPXE_IB_PATHREC_H */
|
||||
Reference in New Issue
Block a user