[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150917.115218.655587837796826886.davem@davemloft.net>
Date: Thu, 17 Sep 2015 11:52:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kys@...rosoft.com
Cc: David.Laight@...LAB.COM, alexander.duyck@...il.com,
haiyangz@...rosoft.com, vkuznets@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
jasowang@...hat.com
Subject: Re: [PATCH net-next RFC] net: increase LL_MAX_HEADER for Hyper-V
From: KY Srinivasan <kys@...rosoft.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists