net: txgbe: add FDIR info to ethtool ops
authorJiawen Wu <jiawenwu@trustnetic.com>
Tue, 18 Jun 2024 10:16:09 +0000 (18:16 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Jun 2024 11:18:54 +0000 (13:18 +0200)
commit34744a7749b3f600dd54a2d39b8db99fecf54901
tree87838954932356865d613093553c8609b100d6d1
parent4bdb441105dcea40ac6e01756314c0fdf5173ce1
net: txgbe: add FDIR info to ethtool ops

Add flow director filter match and miss statistics to ethtool -S.
And change the number of queues when using flow director for ehtool -l.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c
drivers/net/ethernet/wangxun/libwx/wx_hw.c
drivers/net/ethernet/wangxun/libwx/wx_type.h