net/xdp: use shift instead of 64 bit division
authorPavel Machek <pavel@ucw.cz>
Thu, 4 Jun 2020 21:42:59 +0000 (23:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2020 23:02:58 +0000 (16:02 -0700)
commit7d877c35ca84cfa634fd63c2b64bf7b6ae9c71cb
tree04858f775f70dc3efcaa0a196127defad701e260
parenta624a86510adaeefd33aac224751e89348596d2a
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@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xdp/xdp_umem.c