https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194314

--- Comment #8 from Eric Joyner <ricer...@gmail.com> ---
So it sounds like we may just need to change IXGBE_RX_COPY_LEN from a fixed
value of 160 to something that's calculated based on the length of struct m_hdr
and struct m_pkthdr combined.

I think they got 160 by adding together the size of the two header structs (88
in FreeBSD amd64), adding some number (8) to make that size divisible by 32 (96
% 32 == 0), and then subtracted that from MSIZE (256) to get IXGBE_RX_COPY_LEN
(160), while keeping the padding added as IXGBE_RX_COPY_ALIGN.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to