Skip to content
Commit 47868cb7 authored by Peng Li's avatar Peng Li Committed by Greg Kroah-Hartman
Browse files

net: hns3: extract macro to simplify ring stats update code

[ Upstream commit e6d72f6a

 ]

As the code to update ring stats is alike for different ring stats
type, this patch extract macro to simplify ring stats update code.

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 7d89b53c

 ("net: hns3: fix miss L3E checking for rx packet")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7457c5a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment