diff options
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/netdevice.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/ipxe/netdevice.h b/src/include/ipxe/netdevice.h index a1d207ffc..d498ab697 100644 --- a/src/include/ipxe/netdevice.h +++ b/src/include/ipxe/netdevice.h @@ -397,9 +397,16 @@ struct net_device { struct retry_timer link_block; /** Maximum packet length * - * This length includes any link-layer headers. + * This is the maximum packet length (including any link-layer + * headers) supported by the hardware. */ size_t max_pkt_len; + /** Maximum transmission unit length + * + * This is the maximum transmission unit length (excluding any + * link-layer headers) configured for the link. + */ + size_t mtu; /** TX packet queue */ struct list_head tx_queue; /** Deferred TX packet queue */ |
