diff options
author | 2021-12-02 16:35:55 +0800 | |
---|---|---|
committer | 2021-12-02 11:53:42 +0000 | |
commit | e6d72f6ac2ad4965491354d74b48e35a60abf298 (patch) | |
tree | 11c2987a519316df0abd1828a5cd3bcae79afce6 /net/core/dev_ioctl.c | |
parent | Revert "net: snmp: add statistics for tcp small queue check" (diff) | |
download | wireguard-linux-e6d72f6ac2ad4965491354d74b48e35a60abf298.tar.xz wireguard-linux-e6d72f6ac2ad4965491354d74b48e35a60abf298.zip |
net: hns3: extract macro to simplify ring stats update code
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: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions