blob: b42321df8160ca9fb31ae8e722e4f5ba3f89cdd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
Name: ethtool
Epoch: 2
Version: 6.6
Release: 4
Summary: Settings tool for Ethernet NICs
License: GPL-2.0-only AND GPL-2.0-or-later
URL: https://www.kernel.org/pub/software/network/ethtool
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
Patch0: netlink-fix-typo.patch
Patch1: backport-fix-possible-NULL-dereference-in-fec_mode_walk.patch
Patch2: backport-fix-potential-NULL-dereference-in-print_rss_hkey.patch
Patch3: backport-ethtool-Fix-SFF-8472-transceiver-module-identificati.patch
Patch4: backport-net-ethtool-Add-default-branch-to-sff8636_show_all_i.patch
Patch5: backport-qsfp-Better-handling-of-Page-03h-netlink-read-failur.patch
Patch6: backport-module-eeprom-treat-zero-arguments-like-any-other-ar.patch
Patch7: backport-qsf-Better-handling-of-Page-A2h-netlink-read-failure.patch
BuildRequires: gcc
BuildRequires: libmnl-devel
Conflicts: filesystem < 3
%description
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
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%check
make check
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING LICENSE
%{_sbindir}/%{name}
%dir %{_datadir}/bash-completion/
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/ethtool
%files help
%defattr(-,root,root)
%doc ChangeLog* NEWS README
%{_mandir}/man8/%{name}.8*
%changelog
* Wed Jul 30 2025 andy <liuyang01@kylinos.cn> - 2:6.6-4
- Type:requirement
- Id:NA
- SUG:NA
- DESC:ethtool: Fix SFF-8472 transceiver module identification
ethtool: Add default branch to sff8636_show_all_ioctl switch
qsfp: Better handling of Page 03h netlink read failure
module-eeprom: treat zero arguments like any other arguments for hex dump
qsf: Better handling of Page A2h netlink read failure
* Thu Jul 10 2025 zhangyaqi <zhangyaqi@kylinos.cn> - 2:6.6-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix potential NULL dereference in print_rss_hkey and fec_mode_walk
* Fri Mar 22 2024 yanglu <yanglu72@h-partners.com> - 2:6.6-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix typo
* 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
* 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
* 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
* Mon Oct 3 2022 tianlijing <tianlijing@kylinos.cn> - 2:5.19-1
- update to 5.19
* 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
* 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
* 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
* 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
* Fri Sep 25 2020 zhouyihang <zhouyihang3@huawei.com> - 2:5.7-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:netlink fix error message suppression
* 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
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:5.3-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:enable developer use cases
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:5.3-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update to 5.3
* 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
|