Re: [PATCH v2] net: add Fast Ethernet driver for PXA168.
From: David Miller <davem@davemloft.net>
Date: 2010-08-10 23:42:33
From: David Miller <davem@davemloft.net>
Date: 2010-08-10 23:42:33
From: Philip Rakity <redacted> Date: Tue, 10 Aug 2010 11:12:45 -0700
Maybe the solution is to add a new option in Kconfig to define the extra headers size the driver will need. That option will increase the headers. I do not like that very much since it requires someone know how big the value should be. Could default it to 48 or 64 bytes and allow it to be edited. It is not great solution since it fixes the pxa168 driver but does not handle other drivers.
Take a look at how we define LL_MAX_HEADER in include/linux/netdevice.h