commit | a21ee5b2fcb8d6d3973446c5039e966c4cfe40d1 | [log] [tgz] |
---|---|---|
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | Sun Nov 28 09:46:31 2021 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Mon Nov 29 20:15:03 2021 -0800 |
tree | d8684b8b4d9801a2502bc13b4c766db71df3ffcc | |
parent | 09ae03e2fc9d04240c21759ce9f1ef63d7651850 [diff] |
net: ifb: support ethtools stats With this feature, we can use the ethtools to get tx/rx queues stats. This patch, introduce the ifb_update_q_stats helper to update the queues stats, and ifb_q_stats to simplify the codes. Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Link: https://lore.kernel.org/r/20211128014631.43627-1-xiangxia.m.yue@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>