On March 14, 2002 09:37 pm, Benjamin LaHaise wrote:
> > 4) Do you really mean to allocate memory for "REAL_RX_BUF_SIZE + 16"?
> > Why not plain old REAL_RX_BUF_SIZE?
>
> The +16 is for alignment (just like the comment says). The hardware
> requires that rx buffers be 64 bit aligned.
Nit: that would be REAL_RX_BUF_SIZE + 15.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:20 EST