X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Finterface.h;h=7556bc5544eadeec08cf583800cc085c8f1f034b;hb=fe7d4a2e31529eed5416b38b520fdc84687df03c;hp=d462e1e8448820aee6b5f5c17d28ea122bf1e262;hpb=bca9290056b1ee206a05c13bbb46b1b40a8bd804;p=vpp.git diff --git a/src/vnet/interface.h b/src/vnet/interface.h index d462e1e8448..7556bc5544e 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -512,6 +512,14 @@ typedef struct vnet_hw_interface_t /* Largest packet size for this interface. */ u32 max_packet_bytes; + /* Number of extra bytes that go on the wire. + Packet length on wire + = max (length + per_packet_overhead_bytes, min_packet_bytes). */ + u32 per_packet_overhead_bytes; + + /* Receive and transmit layer 3 packet size limits (MRU/MTU). */ + u32 max_l3_packet_bytes[VLIB_N_RX_TX]; + /* Hash table mapping sub interface id to sw_if_index. */ uword *sub_interface_sw_if_index_by_id; @@ -648,9 +656,6 @@ typedef struct u32 link_speed; - /* Receive and transmit layer 3 packet size limits (MRU/MTU). */ - u32 max_l3_packet_bytes[VLIB_N_RX_TX]; - union { /* VNET_SW_INTERFACE_TYPE_HARDWARE. */