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: NStephen Hemminger <sthemmin@microsoft.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录