Commit 45a96c4
tun: Implement ethtool's get_channels() callback
Implement the tun .get_channels functionality. This feature is necessary
for some tools, such as libxdp, which need to retrieve the queue count.
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent bd8a8d5 commit 45a96c4
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3643 | 3643 | | |
3644 | 3644 | | |
3645 | 3645 | | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
3646 | 3655 | | |
3647 | 3656 | | |
3648 | 3657 | | |
3649 | 3658 | | |
3650 | 3659 | | |
3651 | 3660 | | |
| 3661 | + | |
3652 | 3662 | | |
3653 | 3663 | | |
3654 | 3664 | | |
| |||
0 commit comments