mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
hv_netvsc: replace divide with mask when computing padding
Packet alignment is always a power of 2 therefore modulus can be replaced with a faster and operation Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
200a569990
commit
b85e06f7bb
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue