* They caused crashes when using jumbo frames; the root of the issue should
probably be investigated further but the driver works perfectly with this
change.
* Single-stream TCP performance has been measured up to 9.89 Gb/s with
mtu=16114
** Determine the correct mbuf pool
** for doing jumbo/headersplit
*/
+#if 0 /* XXX */
if (adapter->max_frame_size <= 2048)
adapter->rx_mbuf_sz = MCLBYTES;
else if (adapter->max_frame_size <= 4096)
adapter->rx_mbuf_sz = MJUM9BYTES;
else
adapter->rx_mbuf_sz = MJUM16BYTES;
+#else
+ adapter->rx_mbuf_sz = MCLBYTES;
+#endif
/* Prepare receive descriptors and buffers */
if (ixgbe_setup_receive_structures(adapter)) {