Re: [PATCH net-next RFC] net: increase LL_MAX_HEADER for Hyper-V

From: David Miller
Date: Thu Sep 17 2015 - 14:52:37 EST


From: KY Srinivasan <kys@xxxxxxxxxxxxx>
Date: Thu, 17 Sep 2015 15:14:05 +0000

> I think I can achieve my original goal of not having any allocation
> in the send path by carefully using the memory available in the skb:

Please stop flat-out ignoring David L.'s suggestion.

Have a pre-cooked ring of buffers for these descriptors that you can
point the chip at. No per-packet allocation is necessary at all.

If you play games with SKBs you will get burned.
--
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/