[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200604213302.GA8569@amd>
Date: Thu, 4 Jun 2020 23:33:02 +0200
From: Pavel Machek <pavel@....cz>
To: bjorn.topel@...el.com, magnus.karlsson@...el.com,
jonathan.lemon@...il.com, davem@...emloft.net, kuba@...nel.org,
ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
john.fastabend@...il.com, netdev@...r.kernel.org,
trivial@...nel.org
Subject: [PATCH] net/xdp: use shift instead of 64 bit division
64bit division is kind of expensive, and shift should do the job here.
Signed-off-by: Pavel Machek (CIP) <pavel@...x.de>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists