]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The size of the buffers in an Ethernet freelist has to be higher than the
authorNavdeep Parhar <np@FreeBSD.org>
Wed, 15 Aug 2012 01:03:13 +0000 (01:03 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Wed, 15 Aug 2012 01:03:13 +0000 (01:03 +0000)
commit8340ece577b9a6c1bcd060ba5ce9f17d9544af62
tree3d3a7fc3afe3ce2bc4dffed1a34d6f0650c5d1bc
parentae11e5c99669ff21076a16cb854c68aa27619511
The size of the buffers in an Ethernet freelist has to be higher than the
interface's MTU.  Initialize such freelists with correct values.

This wasn't a problem for common MTUs (1500 and 9000) as the buffers (2048
and 9216 in size) happened to have enough spare room.  I ran into it when
playing around with unusual MTUs.

MFC after: 2 weeks
sys/dev/cxgbe/t4_sge.c