Network device with variable hard header len

From: Dmitry Eremin-Solenikov
Date: Sat Jan 10 2009 - 06:31:15 EST


Hi,

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.

Thank you

--
With best wishes
Dmitry

--
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/