Bug Report
Current Behavior
If you forget to start the manager with jumbo frame support (-j), then speed tester will crash if you tell it to load a PCAP trace that contains jumbo frames.
Expected behavior/code
Rather than segfault, we should report an error if the size of a packet is larger than the mbuf size.
Steps to reproduce
Start the manager as normal, run speed tester with a pcap file with jumbo frames.
Possible Solution
When going through the while loop that allocates packets and uses rte_memcpy to copy the data from the PCAP, we should check the size of objects in pktmbuf_pool. This is a struct rte_mempool which has an elt_size field that we can check for the size of each object: https://doc.dpdk.org/api/structrte__mempool.html#ad61e210d2df01bf9c91230fee6a8cf21