|
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. More... | |
| #define | IPOIB_HLEN 4 |
| IPoIB link-layer header length. More... | |
| #define | IPOIB_GUID_MASK 0xe7 |
| GUID mask used for constructing eIPoIB Local Ethernet MAC address (LEMAC) More... | |
| #define | EIPOIB_QPN_LA 0x02000000UL |
| eIPoIB REMAC locally-assigned address indicator More... | |
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. More... | |
| struct net_device * | ipoib_netdev (struct ib_device *ibdev) |
| Find IPoIB network device. More... | |
IP over Infiniband.
Definition in file ipoib.h.
| #define IPOIB_GUID_MASK 0xe7 |
| #define EIPOIB_QPN_LA 0x02000000UL |
| 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.
| 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, net_device::ll_broadcast, net_device::ll_protocol, net_device::max_pkt_len, and netdev.
Referenced by ipoib_probe().
| struct net_device* ipoib_netdev | ( | struct ib_device * | ibdev | ) |
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().
1.8.15