src/dpdk/drivers/net/enic/enic.h
static inline uint32_t enic_mtu_to_max_rx_pktlen(uint32_t mtu)
{
	/* ethdev max size includes eth whereas NIC MTU does not */
	return mtu + RTE_ETHER_HDR_LEN;
}
/* Compute ethdev's max packet size from MTU */
Compute ethdev's max packet size from MTU
Compute ethdev ' s max packet size from MTU
static inline uint32_t enic_mtu_to_max_rx_pktlen(uint32_t mtu)
{
	return mtu + RTE_ETHER_HDR_LEN;
}
static inline uint32_t enic_mtu_to_max_rx_pktlen ( uint32_t mtu ) { return mtu + RTE_ETHER_HDR_LEN ; }
Compute ethdev's max packet size from MTU
Compute ethdev ' s max packet size from MTU
/* ethdev max size includes eth whereas NIC MTU does not */