2019-11-06 19:06:33 +08:00
|
|
|
Name: ethtool
|
|
|
|
|
Epoch: 2
|
2023-12-28 10:34:24 +08:00
|
|
|
Version: 6.6
|
2022-12-06 11:45:31 +08:00
|
|
|
Release: 3
|
2019-11-06 19:06:33 +08:00
|
|
|
Summary: Settings tool for Ethernet NICs
|
2023-07-17 08:36:48 +00:00
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later
|
2019-11-06 19:06:33 +08:00
|
|
|
URL: https://www.kernel.org/pub/software/network/ethtool
|
|
|
|
|
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
2024-03-22 07:28:44 +00:00
|
|
|
Patch0: netlink-fix-typo.patch
|
2022-12-06 11:45:31 +08:00
|
|
|
patch1: ethtool-add-suppport-specifications-for-vxlan-by-eth.patch
|
2024-03-22 07:28:44 +00:00
|
|
|
|
2019-11-06 19:06:33 +08:00
|
|
|
BuildRequires: gcc
|
2020-07-29 14:49:08 +08:00
|
|
|
BuildRequires: libmnl-devel
|
2019-11-06 19:06:33 +08:00
|
|
|
Conflicts: filesystem < 3
|
2019-09-30 10:38:22 -04:00
|
|
|
|
|
|
|
|
%description
|
2019-11-06 19:06:33 +08:00
|
|
|
Ethtool is the standard Linux utility for controlling network drivers and
|
|
|
|
|
hardware, particularly for wired Ethernet devices. It can be used to:
|
|
|
|
|
|
|
|
|
|
- Get identification and diagnostic information
|
|
|
|
|
- Get extended device statistics
|
|
|
|
|
- Control speed, duplex, autonegotiation and flow control for Ethernet devices
|
|
|
|
|
- Control checksum offload and other hardware offload features
|
|
|
|
|
- Control DMA ring sizes and interrupt moderation
|
|
|
|
|
- Control receive queue selection for multiqueue devices
|
|
|
|
|
- Upgrade firmware in flash memory
|
2019-09-30 10:38:22 -04:00
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2022-12-06 11:45:31 +08:00
|
|
|
%configure --enable-fd-vxlan
|
2019-09-30 10:38:22 -04:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
2019-11-06 19:06:33 +08:00
|
|
|
%make_install
|
2019-09-30 10:38:22 -04:00
|
|
|
|
2020-03-11 14:24:41 +08:00
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
2019-09-30 10:38:22 -04:00
|
|
|
%files
|
2019-11-06 19:06:33 +08:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS
|
2019-09-30 10:38:22 -04:00
|
|
|
%license COPYING LICENSE
|
2019-11-06 19:06:33 +08:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
|
%dir %{_datadir}/bash-completion/
|
|
|
|
|
%dir %{_datadir}/bash-completion/completions/
|
|
|
|
|
%{_datadir}/bash-completion/completions/ethtool
|
2019-09-30 10:38:22 -04:00
|
|
|
|
2019-11-06 19:06:33 +08:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc ChangeLog* NEWS README
|
|
|
|
|
%{_mandir}/man8/%{name}.8*
|
2019-09-30 10:38:22 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2022-12-06 11:45:31 +08:00
|
|
|
* Fri May 10 2024 Hao Chen <chenhao418@huawei.com> - 2:6.6-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:support vxlan feature
|
|
|
|
|
|
2024-03-22 07:28:44 +00:00
|
|
|
* Fri Mar 22 2024 yanglu <yanglu72@h-partners.com> - 2:6.6-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix typo
|
|
|
|
|
|
2023-12-28 10:34:24 +08:00
|
|
|
* Thu Dec 28 2023 yanglu <yanglu72@h-partners.com> - 2:6.6-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 6.6
|
|
|
|
|
|
2023-07-17 08:36:48 +00:00
|
|
|
* Mon Jul 17 2023 gaihuiying <eaglegai@163.com> - 2:6.4-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 6.4
|
|
|
|
|
|
2023-03-10 03:52:58 +00:00
|
|
|
* Fri Mar 10 2023 yanglu <yanglu72@h-partners.com> - 2:6.1-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 6.1
|
|
|
|
|
|
2022-09-12 22:14:34 +08:00
|
|
|
* Mon Oct 3 2022 tianlijing <tianlijing@kylinos.cn> - 2:5.19-1
|
|
|
|
|
- update to 5.19
|
|
|
|
|
|
2022-09-20 20:40:35 +08:00
|
|
|
* Tue Sep 20 2022 xiaojiantao <xiaojiantao1@h-partners.com> - 2:5.15-3
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add support to set or get rx buf len and tx push by ethtool
|
|
|
|
|
|
2022-09-02 08:49:04 +00:00
|
|
|
* Fri Sep 02 2022 gaihuiying <eaglgai@163.com> - 2:5.15-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix memory free operation after send_ioctl call fails
|
|
|
|
|
|
2022-03-19 09:14:41 +08:00
|
|
|
* Sat Mar 19 2022 xihaochen <xihaochen@h-partners.com> - 2:5.15-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 5.15
|
|
|
|
|
|
2021-07-07 10:49:33 +08:00
|
|
|
* Wed Jul 07 2021 xuguangmin <xuguangmin@kylinos.cn> - 2:5.12-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 5.12
|
|
|
|
|
|
2020-09-25 09:36:26 +08:00
|
|
|
* Fri Sep 25 2020 zhouyihang <zhouyihang3@huawei.com> - 2:5.7-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:netlink fix error message suppression
|
|
|
|
|
|
2020-07-29 14:49:08 +08:00
|
|
|
* Wed Jul 29 2020 liulong <liulong20@huawei.com> - 2:5.7-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update ethtool version to 5.7
|
|
|
|
|
|
2020-03-11 14:24:41 +08:00
|
|
|
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:5.3-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:enable developer use cases
|
|
|
|
|
|
2019-11-06 19:06:33 +08:00
|
|
|
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:5.3-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 5.3
|
|
|
|
|
|
2019-09-30 10:38:22 -04:00
|
|
|
* Wed Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:add requires
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-3
|
|
|
|
|
- Package Init
|
|
|
|
|
|