On 3/3/06, Herbert Xu <[EMAIL PROTECTED]> wrote:
> Stephen Hemminger <[EMAIL PROTECTED]> wrote:
> >
> > Also, you should use 2 rather than NET_IP_ALIGN here.
> > The point of NET_IP_ALIGN is to allow architectures where unaligned
> > DMA is expensive to redefine NET_IP_ALIGN to 0. But in this case
Stephen Hemminger <[EMAIL PROTECTED]> wrote:
>
> Also, you should use 2 rather than NET_IP_ALIGN here.
> The point of NET_IP_ALIGN is to allow architectures where unaligned
> DMA is expensive to redefine NET_IP_ALIGN to 0. But in this case you
> are not DMA'ing into the new buffer but using memcp
> + /* code added for copybreak, this should improve
> + * performance for small packets with large amounts
> + * of reassembly being done in the stack */
> +#define IXGB_CB_LENGTH 256
> + if (length < IXGB_CB_LENGTH) {
> + stru
- This patch adds the copybreak and skb recycle to the ixgb driver
Signed-off-by: Jeff Kirsher <[EMAIL PROTECTED]>
Signed-off-by: Jesse Brandeburg <[EMAIL PROTECTED]>
Signed-off-by: John Ronciak <[EMAIL PROTECTED]>
---
drivers/net/ixgb/ixgb.h |2 ++
drivers/net/ixgb/ixgb_main.c | 56 +