Skip to content

Commit

Permalink
Intel official release 5.18.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrandeb committed Mar 23, 2024
1 parent 3fcffed commit 484c781
Show file tree
Hide file tree
Showing 59 changed files with 243 additions and 232 deletions.
126 changes: 63 additions & 63 deletions SUMS
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
47745 25 ixgbe-5.18.6/src/ixgbe_xsk.c
01197 3 ixgbe-5.18.6/src/ixgbe_txrx_common.h
52716 8 ixgbe-5.18.6/src/ixgbe_sysfs.c
61530 3 ixgbe-5.18.6/src/ixgbe_sriov.h
46495 54 ixgbe-5.18.6/src/ixgbe_sriov.c
33940 51 ixgbe-5.18.6/src/ixgbe_ptp.c
55412 25 ixgbe-5.18.6/src/ixgbe_procfs.c
00245 32 ixgbe-5.18.6/src/ixgbe_param.c
05019 2 ixgbe-5.18.6/src/ixgbe_osdep2.h
04527 6 ixgbe-5.18.6/src/ixgbe_osdep.h
09539 3 ixgbe-5.18.6/src/ixgbe_model.h
50315 375 ixgbe-5.18.6/src/ixgbe_main.c
64723 39 ixgbe-5.18.6/src/ixgbe_lib.c
51835 2 ixgbe-5.18.6/src/ixgbe_fcoe.h
28051 28 ixgbe-5.18.6/src/ixgbe_fcoe.c
41704 137 ixgbe-5.18.6/src/ixgbe_ethtool.c
62975 7 ixgbe-5.18.6/src/ixgbe_debugfs.c
55592 23 ixgbe-5.18.6/src/ixgbe_dcb_nl.c
03809 40 ixgbe-5.18.6/src/ixgbe.h
37769 5 ixgbe-5.18.6/src/ixgbe_x550.h
41773 126 ixgbe-5.18.6/src/ixgbe_x550.c
48938 2 ixgbe-5.18.6/src/ixgbe_x540.h
29738 30 ixgbe-5.18.6/src/ixgbe_x540.c
13672 171 ixgbe-5.18.6/src/ixgbe_type.h
34956 8 ixgbe-5.18.6/src/ixgbe_phy.h
55396 71 ixgbe-5.18.6/src/ixgbe_phy.c
07223 8 ixgbe-5.18.6/src/ixgbe_mbx.h
29027 30 ixgbe-5.18.6/src/ixgbe_mbx.c
29968 4 ixgbe-5.18.6/src/ixgbe_dcb_82599.h
04826 17 ixgbe-5.18.6/src/ixgbe_dcb_82599.c
53142 3 ixgbe-5.18.6/src/ixgbe_dcb_82598.h
40372 10 ixgbe-5.18.6/src/ixgbe_dcb_82598.c
18110 5 ixgbe-5.18.6/src/ixgbe_dcb.h
20464 20 ixgbe-5.18.6/src/ixgbe_dcb.c
11416 7 ixgbe-5.18.6/src/ixgbe_common.h
00689 143 ixgbe-5.18.6/src/ixgbe_common.c
63969 10 ixgbe-5.18.6/src/ixgbe_api.h
10919 47 ixgbe-5.18.6/src/ixgbe_api.c
25858 2 ixgbe-5.18.6/src/ixgbe_82599.h
35540 76 ixgbe-5.18.6/src/ixgbe_82599.c
09326 2 ixgbe-5.18.6/src/ixgbe_82598.h
13782 39 ixgbe-5.18.6/src/ixgbe_82598.c
17957 1 ixgbe-5.18.6/src/kcompat_gcc.h
16737 220 ixgbe-5.18.6/src/kcompat.h
35040 43 ixgbe-5.18.6/src/kcompat_impl.h
02164 1 ixgbe-5.18.6/src/kcompat_defs.h
21434 9 ixgbe-5.18.6/src/kcompat_sles_defs.h
14116 8 ixgbe-5.18.6/src/kcompat_rhel_defs.h
18482 2 ixgbe-5.18.6/src/kcompat_oracle_defs.h
44001 2 ixgbe-5.18.6/src/kcompat_ubuntu_defs.h
53036 13 ixgbe-5.18.6/src/kcompat_std_defs.h
58437 76 ixgbe-5.18.6/src/kcompat.c
14487 29 ixgbe-5.18.6/src/kcompat_ethtool.c
47955 10 ixgbe-5.18.6/src/kcompat_overflow.h
39849 7 ixgbe-5.18.6/src/Makefile
34081 19 ixgbe-5.18.6/src/common.mk
12190 1 ixgbe-5.18.6/src/Module.supported
57879 9 ixgbe-5.18.6/scripts/set_irq_affinity
07471 7 ixgbe-5.18.6/pci.updates
12529 18 ixgbe-5.18.6/COPYING
52569 60 ixgbe-5.18.6/README
45537 9 ixgbe-5.18.6/ixgbe.7
44504 13 ixgbe-5.18.6/ixgbe.spec
45960 25 ixgbe-5.18.11/src/ixgbe_xsk.c
31115 3 ixgbe-5.18.11/src/ixgbe_txrx_common.h
55902 8 ixgbe-5.18.11/src/ixgbe_sysfs.c
11126 3 ixgbe-5.18.11/src/ixgbe_sriov.h
49143 54 ixgbe-5.18.11/src/ixgbe_sriov.c
58195 51 ixgbe-5.18.11/src/ixgbe_ptp.c
26511 25 ixgbe-5.18.11/src/ixgbe_procfs.c
39780 32 ixgbe-5.18.11/src/ixgbe_param.c
51140 2 ixgbe-5.18.11/src/ixgbe_osdep2.h
58481 6 ixgbe-5.18.11/src/ixgbe_osdep.h
42706 3 ixgbe-5.18.11/src/ixgbe_model.h
08807 376 ixgbe-5.18.11/src/ixgbe_main.c
09335 39 ixgbe-5.18.11/src/ixgbe_lib.c
28582 2 ixgbe-5.18.11/src/ixgbe_fcoe.h
23936 28 ixgbe-5.18.11/src/ixgbe_fcoe.c
29538 137 ixgbe-5.18.11/src/ixgbe_ethtool.c
38237 7 ixgbe-5.18.11/src/ixgbe_debugfs.c
20364 23 ixgbe-5.18.11/src/ixgbe_dcb_nl.c
00983 40 ixgbe-5.18.11/src/ixgbe.h
63173 5 ixgbe-5.18.11/src/ixgbe_x550.h
34247 126 ixgbe-5.18.11/src/ixgbe_x550.c
43418 2 ixgbe-5.18.11/src/ixgbe_x540.h
18419 30 ixgbe-5.18.11/src/ixgbe_x540.c
24719 171 ixgbe-5.18.11/src/ixgbe_type.h
12534 8 ixgbe-5.18.11/src/ixgbe_phy.h
59994 71 ixgbe-5.18.11/src/ixgbe_phy.c
41342 8 ixgbe-5.18.11/src/ixgbe_mbx.h
33639 30 ixgbe-5.18.11/src/ixgbe_mbx.c
59946 4 ixgbe-5.18.11/src/ixgbe_dcb_82599.h
48256 17 ixgbe-5.18.11/src/ixgbe_dcb_82599.c
20802 3 ixgbe-5.18.11/src/ixgbe_dcb_82598.h
45396 10 ixgbe-5.18.11/src/ixgbe_dcb_82598.c
08954 5 ixgbe-5.18.11/src/ixgbe_dcb.h
51476 20 ixgbe-5.18.11/src/ixgbe_dcb.c
44570 7 ixgbe-5.18.11/src/ixgbe_common.h
56175 143 ixgbe-5.18.11/src/ixgbe_common.c
40570 10 ixgbe-5.18.11/src/ixgbe_api.h
50850 47 ixgbe-5.18.11/src/ixgbe_api.c
03508 2 ixgbe-5.18.11/src/ixgbe_82599.h
25852 76 ixgbe-5.18.11/src/ixgbe_82599.c
30113 2 ixgbe-5.18.11/src/ixgbe_82598.h
61827 39 ixgbe-5.18.11/src/ixgbe_82598.c
51953 1 ixgbe-5.18.11/src/kcompat_gcc.h
26689 220 ixgbe-5.18.11/src/kcompat.h
32270 44 ixgbe-5.18.11/src/kcompat_impl.h
21069 1 ixgbe-5.18.11/src/kcompat_defs.h
45283 9 ixgbe-5.18.11/src/kcompat_sles_defs.h
06658 8 ixgbe-5.18.11/src/kcompat_rhel_defs.h
60511 2 ixgbe-5.18.11/src/kcompat_oracle_defs.h
03336 2 ixgbe-5.18.11/src/kcompat_ubuntu_defs.h
20284 13 ixgbe-5.18.11/src/kcompat_std_defs.h
28630 76 ixgbe-5.18.11/src/kcompat.c
53656 29 ixgbe-5.18.11/src/kcompat_ethtool.c
26285 10 ixgbe-5.18.11/src/kcompat_overflow.h
11313 7 ixgbe-5.18.11/src/Makefile
26265 19 ixgbe-5.18.11/src/common.mk
12190 1 ixgbe-5.18.11/src/Module.supported
57879 9 ixgbe-5.18.11/scripts/set_irq_affinity
17107 7 ixgbe-5.18.11/pci.updates
12529 18 ixgbe-5.18.11/COPYING
52569 60 ixgbe-5.18.11/README
45537 9 ixgbe-5.18.11/ixgbe.7
24363 11 ixgbe-5.18.11/ixgbe.spec
58 changes: 7 additions & 51 deletions ixgbe.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: ixgbe
Summary: Intel(R) 10GbE PCI Express Linux Network Driver
Version: 5.18.6
Version: 5.18.11
Release: 1
Source: %{name}-%{version}.tar.gz
Vendor: Intel Corporation
Expand All @@ -19,6 +19,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%define pcitable %find %{_pcitable}
Requires: kernel, findutils, gawk, bash

%global __strip /bin/true

%if 0%{?BUILD_KERNEL:1}
%define kernel_ver %{BUILD_KERNEL}
%define check_aux_args_kernel -b %{BUILD_KERNEL}
Expand All @@ -32,14 +34,6 @@ Requires: kernel, findutils, gawk, bash

%define check_aux_args %check_aux_args_kernel %check_aux_args_ksrc

%define need_aux_rpm %( [ -L /lib/modules/%kernel_ver/source ] && \
(rpm -q --whatprovides /lib/modules/%kernel_ver/source/include/linux/auxiliary_bus.h > /dev/null 2>&1 && echo 0 || echo 2) || \
(rpm -q --whatprovides /lib/modules/%kernel_ver/build/include/linux/auxiliary_bus.h > /dev/null 2>&1 && echo 0 || echo 2) )

%if (%need_aux_rpm == 2)
Requires: intel_auxiliary
%endif

# Check for existence of variable kernel_module_package_buildreqs ...
%if 0%{?!kernel_module_package_buildreqs:1}
# ... and provide a suitable definition if it is not defined
Expand All @@ -62,49 +56,25 @@ make -C src clean
make -C src

%install
%define req_aux %( [[ "%name" =~ ^(ice|ice_sw|ice_swx|iavf|i40e)$ ]] && echo 0 || echo 1 )

# install drivers that have auxiliary driver dependency
%if (%req_aux == 0)
make -C src INSTALL_MOD_PATH=%{buildroot} MANDIR=%{_mandir} modules_install_no_aux mandocs_install
make -C src INSTALL_MOD_PATH=%{buildroot} MANDIR=%{_mandir} modules_install mandocs_install
# Remove modules files that we do not want to include
find %{buildroot}/lib/modules/ -name 'modules.*' -exec rm -f {} \;
cd %{buildroot}
find lib -name "ixgbe.ko" -printf "/%p\n" \
>%{_builddir}/%{name}-%{version}/file.list
%if (%need_aux_rpm == 2)
make -C %{_builddir}/%{name}-%{version}/src INSTALL_MOD_PATH=%{buildroot} auxiliary_install

find lib -path "*extern-symvers/intel_auxiliary.symvers" -printf "/%p\n" \
>%{_builddir}/%{name}-%{version}/aux.list
find * -name "auxiliary_bus.h" -printf "/%p\n" \
>>%{_builddir}/%{name}-%{version}/aux.list
%endif
if [ "$(%{_builddir}/%{name}-%{version}/scripts/./check_aux_bus %check_aux_args; echo $?)" == "2" ] ; then
find lib -name "intel_auxiliary.ko" -printf "/%p\n" \
>>%{_builddir}/%{name}-%{version}/file.list
fi

# install drivers that do not have auxiliary driver dependency
%else
make -C src INSTALL_MOD_PATH=%{buildroot} MANDIR=%{_mandir} modules_install mandocs_install
# Remove modules files that we do not want to include
find %{buildroot}/lib/modules/ -name 'modules.*' -exec rm -f {} \;
export _ksrc=%{_usrsrc}/kernels/%{kernel_ver}
cd %{buildroot}
find lib -name "ixgbe.ko" \
-fprintf %{_builddir}/%{name}-%{version}/file.list "/%p\n"
%endif

# Sign the modules(s)
%if %{?_with_modsign:1}%{!?_with_modsign:0}
%define __strip /bin/true
%{!?privkey: %define privkey %{_sysconfdir}/pki/SECURE-BOOT-KEY.priv}
%{!?pubkey: %define pubkey %{_sysconfdir}/pki/SECURE-BOOT-KEY.der}
%{!?_signfile: %define _signfile %{_usrsrc}/kernels/%{kernel_ver}/scripts/sign-file}
%{!?_signfile: %define _signfile ${_ksrc}/scripts/sign-file}
for module in `find . -type f -name *.ko`;
do
strip --strip-debug ${module}
$(KSRC=%{_usrsrc}/kernels/%{kernel_ver} %{_signfile} sha512 %{privkey} %{pubkey} ${module} > /dev/null 2>&1)
$(KSRC=${_ksrc} %{_signfile} sha512 %{privkey} %{pubkey} ${module} > /dev/null 2>&1)
done
%endif

Expand Down Expand Up @@ -469,17 +439,3 @@ else
exit -1
fi

%if (%need_aux_rpm == 2) && (%req_aux == 0)
%package -n intel_auxiliary
Summary: Auxiliary bus driver (backport)
Version: 1.0.0

%description -n intel_auxiliary
The Auxiliary bus driver (intel_auxiliary.ko), backported from upstream, for use by kernels that don't have auxiliary bus.

# The if is used to hide this whole section. This causes RPM to skip the build
# of the auxiliary subproject entirely.
%files -n intel_auxiliary -f aux.list
%doc aux.list
%endif

4 changes: 2 additions & 2 deletions pci.updates
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 1999 - 2022 Intel Corporation.
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 1999 - 2023 Intel Corporation

# updates for the system pci.ids file
#
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 1999 - 2022 Intel Corporation.
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 1999 - 2023 Intel Corporation

ifneq ($(KERNELRELEASE),)
# kbuild part of makefile
Expand Down
4 changes: 2 additions & 2 deletions src/common.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 1999 - 2022 Intel Corporation.
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 1999 - 2023 Intel Corporation

#
# common Makefile rules useful for out-of-tree Linux driver builds
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_H_
#define _IXGBE_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_82598.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe_type.h"
#include "ixgbe_82598.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_82598.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_82598_H_
#define _IXGBE_82598_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_82599.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe_type.h"
#include "ixgbe_82599.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_82599.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_82599_H_
#define _IXGBE_82599_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_api.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe_api.h"
#include "ixgbe_common.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_API_H_
#define _IXGBE_API_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_common.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe_common.h"
#include "ixgbe_phy.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_COMMON_H_
#define _IXGBE_COMMON_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */


#include "ixgbe_type.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_DCB_H_
#define _IXGBE_DCB_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb_82598.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */


#include "ixgbe_type.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb_82598.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_DCB_82598_H_
#define _IXGBE_DCB_82598_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb_82599.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */


#include "ixgbe_type.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb_82599.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2022 Intel Corporation. */
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (C) 1999 - 2023 Intel Corporation */

#ifndef _IXGBE_DCB_82599_H_
#define _IXGBE_DCB_82599_H_
Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_dcb_nl.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe.h"

Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_debugfs.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

#include "ixgbe.h"

Expand Down
4 changes: 2 additions & 2 deletions src/ixgbe_ethtool.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 1999 - 2022 Intel Corporation. */
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (C) 1999 - 2023 Intel Corporation */

/* ethtool support for ixgbe */

Expand Down
Loading

0 comments on commit 484c781

Please sign in to comment.