|
iPXE
|
IP over Infiniband. More...
Go to the source code of this file.
Data Structures | |
| struct | ipoib_mac |
| An IPoIB MAC address. More... | |
| struct | ipoib_hdr |
| IPoIB link-layer header. More... | |
| struct | ipoib_remac |
| eIPoIB Remote Ethernet MAC address More... | |
Macros | |
| #define | IPOIB_ALEN 20 |
| IPoIB MAC address length. | |
| #define | IPOIB_HLEN 4 |
| IPoIB link-layer header length. | |
| #define | IPOIB_GUID_MASK 0xe7 |
| GUID mask used for constructing eIPoIB Local Ethernet MAC address (LEMAC) | |
| #define | EIPOIB_QPN_LA 0x02000000UL |
| eIPoIB REMAC locally-assigned address indicator | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| const char * | ipoib_ntoa (const void *ll_addr) |
| struct net_device * | alloc_ipoibdev (size_t priv_size) |
| Allocate IPoIB device. | |
| struct net_device * | ipoib_netdev (struct ib_device *ibdev) |
| Find IPoIB network device. | |
IP over Infiniband.
Definition in file ipoib.h.
| #define IPOIB_GUID_MASK 0xe7 |
GUID mask used for constructing eIPoIB Local Ethernet MAC address (LEMAC)
Definition at line 41 of file ipoib.h.
Referenced by ipoib_init_addr().
| #define EIPOIB_QPN_LA 0x02000000UL |
eIPoIB REMAC locally-assigned address indicator
Definition at line 61 of file ipoib.h.
Referenced by ipoib_complete_recv().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
extern |
|
extern |
Allocate IPoIB device.
| priv_size | Size of driver private data |
| netdev | Network device, or NULL |
Definition at line 315 of file ipoib.c.
References alloc_netdev(), eth_broadcast, IB_MAX_PAYLOAD_SIZE, and netdev.
Referenced by ipoib_probe().
|
extern |
Find IPoIB network device.
| ibdev | Infiniband device |
| netdev | IPoIB network device, or NULL if not found |
Definition at line 1036 of file ipoib.c.
References ipoib_device::ibdev, ipoib_device::list, list_for_each_entry, ipoib_device::netdev, and NULL.
Referenced by golan_register_ibdev().