mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[infiniband] Allow drivers to override the eIPoIB LEMAC
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -15,6 +15,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#include <ipxe/tables.h>
|
||||
#include <ipxe/ib_packet.h>
|
||||
#include <ipxe/ib_mad.h>
|
||||
#include <ipxe/if_ether.h>
|
||||
|
||||
/** Subnet management interface QPN */
|
||||
#define IB_QPN_SMI 0
|
||||
@@ -457,6 +458,9 @@ struct ib_device {
|
||||
/** General services interface */
|
||||
struct ib_mad_interface *gsi;
|
||||
|
||||
/** IPoIB LEMAC (if non-default) */
|
||||
uint8_t lemac[ETH_ALEN];
|
||||
|
||||
/** Driver private data */
|
||||
void *drv_priv;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user