Re: Network device with variable hard header len
From: Mark Brown
Date: Mon Jan 12 2009 - 07:07:36 EST
On Sat, Jan 10, 2009 at 02:28:12PM +0300, Dmitry Eremin-Solenikov wrote:
> Sorry if this a dumb question. Currently I'm programming a driver for
> the devices with variable network header len. From the Linux net stack
> perspective what should I do: set netdev->hard_header_len to maximum
> possible header and use less space that specified there or set
> netdev->needed_headroom to that value?
> If that metters, I'll be implementing my own set of header_ops in any
> case.
This is probably better asked on netdev (CCed).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/