This commit adds a framework to support querying CMIS module information category: Feature bugzilla: https://gitee.com/src-openeuler/ethtool/issues/I9VV62
165 lines
5.1 KiB
RPMSpec
165 lines
5.1 KiB
RPMSpec
Name: ethtool
|
|
Epoch: 2
|
|
Version: 5.15
|
|
Release: 7
|
|
Summary: Settings tool for Ethernet NICs
|
|
License: GPLv2
|
|
URL: https://www.kernel.org/pub/software/network/ethtool
|
|
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
Patch0: backport-ioctl-add-the-memory-free-operation-after-send_ioctl.patch
|
|
Patch1: 0001-rings-add-support-to-set-get-rx-buf-len.patch
|
|
Patch2: 0002-tunables-add-support-to-get-set-tx-copybreak-buf-siz.patch
|
|
Patch3: 0003-update-UAPI-header-copies.patch
|
|
Patch4: 0004-ethtool-add-support-to-get-set-tx-push-by-ethtool-G-.patch
|
|
Patch5: 0005-ethtool-add-suppport-specifications-for-vxlan-by-eth.patch
|
|
Patch6: 0006-hns3-add-support-dump-registers-for-hns3-driver.patch
|
|
Patch7: backport-cmis-Rename-CMIS-parsing-functions.patch
|
|
Patch8: backport-cmis-Initialize-CMIS-memory-map.patch
|
|
Patch9: backport-cmis-Use-memory-map-during-parsing.patch
|
|
Patch10: backport-cmis-Consolidate-code-between-IOCTL-and-netlink-path.patch
|
|
Patch11: backport-sff-8636-Rename-SFF-8636-parsing-functions.patch
|
|
Patch12: backport-sff-8636-Initialize-SFF-8636-memory-map.patch
|
|
Patch13: backport-sff-8636-Use-memory-map-during-parsing.patch
|
|
Patch14: backport-sff-8636-Consolidate-code-between-IOCTL-and-netlink-.patch
|
|
Patch15: backport-sff-8079-Split-SFF-8079-parsing-function.patch
|
|
Patch16: backport-netlink-eeprom-Export-a-function-to-request-an-EEPRO.patch
|
|
Patch17: backport-cmis-Request-specific-pages-for-parsing-in-netlink-p.patch
|
|
Patch18: backport-sff-8636-Request-specific-pages-for-parsing-in-netli.patch
|
|
Patch19: backport-sff-8079-Request-specific-pages-for-parsing-in-netli.patch
|
|
Patch20: backport-netlink-eeprom-Defer-page-requests-to-individual-par.patch
|
|
Patch21: backport-sff-8636-Use-an-SFF-8636-specific-define-for-maximum.patch
|
|
Patch22: backport-sff-common-Move-OFFSET_TO_U16_PTR-to-common-header-f.patch
|
|
Patch23: backport-sff-8636-Print-Power-set-and-Power-override-bits.patch
|
|
Patch24: backport-ethtool-Add-ability-to-control-transceiver-modules-p.patch
|
|
Patch25: backport-ethtool-Add-support-for-OSFP-transceiver-modules.patch
|
|
Patch26: backport-ethtool-Add-support-for-more-CMIS-transceiver-module.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 --enable-fd-vxlan
|
|
%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
|
|
* Fri Jun 7 2024 xiaojiantao <xiaojiantao1@h-partners.com> - 2:5.15-7
|
|
- Type:requirement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:add support for more CMIS transceiver modules
|
|
|
|
* Tue Sep 26 2023 xiaojiantao <xiaojiantao1@h-partners.com> - 2:5.15-6
|
|
- Type:requirement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:add support dump registers for hns3 driver
|
|
|
|
* Mon Dec 5 2022 xiaojiantao <xiaojiantao1@h-partners.com> - 2:5.15-5
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:fix set vxlan by command ethtool -u/-U not effecti
|
|
|
|
* Tue Nov 15 2022 xiaojiantao <xiaojiantao1@h-partners.com> - 2:5.15-4
|
|
- Type:requirement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:add support to set vxlan by command ethtool -u/-U
|
|
|
|
* 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
|
|
|
|
* Fri Dec 03 2021 yanglu <yanglu72@huawei.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
|
|
|