From: Pavel Machek <pavel@ucw•cz>
To: bjorn.topel@intel•com, magnus.karlsson@intel•com,
jonathan.lemon@gmail•com, davem@davemloft•net, kuba@kernel•org,
ast@kernel•org, daniel@iogearbox•net, hawk@kernel•org,
john.fastabend@gmail•com, netdev@vger•kernel.org,
trivial@kernel•org
Subject: [PATCH] net/xdp: use shift instead of 64 bit division
Date: Thu, 4 Jun 2020 23:33:02 +0200 [thread overview]
Message-ID: <20200604213302.GA8569@amd> (raw)
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
64bit division is kind of expensive, and shift should do the job here.
Signed-off-by: Pavel Machek (CIP) <pavel@denx•de>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next reply other threads:[~2020-06-04 21:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-04 21:33 Pavel Machek [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-04 21:42 [PATCH] net/xdp: use shift instead of 64 bit division Pavel Machek
2020-06-04 23:03 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200604213302.GA8569@amd \
--to=pavel@ucw$(echo .)cz \
--cc=ast@kernel$(echo .)org \
--cc=bjorn.topel@intel$(echo .)com \
--cc=daniel@iogearbox$(echo .)net \
--cc=davem@davemloft$(echo .)net \
--cc=hawk@kernel$(echo .)org \
--cc=john.fastabend@gmail$(echo .)com \
--cc=jonathan.lemon@gmail$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=magnus.karlsson@intel$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=trivial@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox