2014-06-17 08:57, Ananyev, Konstantin: > >> 3) if ((mtu < 68) || (frame_size > dev_info.max_rx_pktlen)) > >> Can we add a new define for min allowable MTU (68) as it used in few > >> places. > > >RTE_IPV4_MIN_MTU then ? > > Sounds good to me. > > >I am not sure where this belongs, it could go in rte_ethdev.h. > > Probably rte_ether.h?
As you konw, rte_ether.h is for ethernet definition (and should be located in librte_net). For RTE_IPV4_MIN_MTU, I think librte_net/rte_ip.h is more appropriate. -- Thomas