tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: question about mbuf intialization



So it also sounds like there is a man page bug in that the man
page for mbuf does not fully describe what needs to be done
to use them successfully, yes?

Using functions such as m_copyback and m_copydata should
be limited. Moving data around in the networking code path
is generally something people try not to do - and as a general
meme it is a good programming practice. Thus code more
often will do an m_adj or similar. When trying to get full
speed with 10GE, you don't want to initialise anything more
than you have to.

Darren



Home | Main Index | Thread Index | Old Index