Data Fields | |
| uint8_t | key |
| Key. | |
| struct ipoib_mac | mac |
| MAC address. | |
The IPoIB link-layer header is only four bytes long and so does not have sufficient room to store IPoIB MAC address(es). We therefore maintain a cache of MAC addresses identified by a single-byte key, and abuse the spare two bytes within the link-layer header to communicate these MAC addresses between the link-layer code and the netdevice driver.
Definition at line 104 of file ipoib.c.
Key.
Definition at line 106 of file ipoib.c.
Referenced by ipoib_cache_peer(), ipoib_complete_recv(), ipoib_lookup_peer_by_key(), and ipoib_push().
struct ipoib_mac ipoib_peer::mac [read] |
MAC address.
Definition at line 108 of file ipoib.c.
Referenced by ipoib_cache_peer(), ipoib_pull(), and ipoib_transmit().
1.5.7.1