Intel 82599 10G 以太网驱动

Ethernet controller: Intel Corporation 82599 10 Gigabit Dual Port Network Connection (rev 01)

openeuler 22.03 LTS版如何安装Intel 82599 10G ixgbe 以太网驱动

ixgbe-5.12.5/src  make
*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but
*** the signing key cannot be found. Module signing has been
*** disabled for this build.
make[1]: Entering directory ‘/usr/src/kernels/5.10.0-60.18.0.50.oe2203.x86_64’
CC [M] /root/ixgbe-5.12.5/src/ixgbe_ethtool.o
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4703:20: error: initialization of ‘void (*)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack )’ from incompatible pointer type ‘void ()(struct net_device *, struct ethtool_ringparam )’ [-Werror=incompatible-pointer-types]
4703 | .get_ringparam = ixgbe_get_ringparam,
| ^~~~~~~~~~~~~~~~~~~
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4703:20: note: (near initialization for ‘ixgbe_ethtool_ops.get_ringparam’)
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4704:20: error: initialization of ‘int (
)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_ringparam )’ [-Werror=incompatible-pointer-types]
4704 | .set_ringparam = ixgbe_set_ringparam,
| ^~~~~~~~~~~~~~~~~~~
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4704:20: note: (near initialization for ‘ixgbe_ethtool_ops.set_ringparam’)
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4732:19: error: initialization of ‘int (
)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_coalesce )’ [-Werror=incompatible-pointer-types]
4732 | .get_coalesce = ixgbe_get_coalesce,
| ^~~~~~~~~~~~~~~~~~
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4732:19: note: (near initialization for ‘ixgbe_ethtool_ops.get_coalesce’)
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4733:19: error: initialization of ‘int (
)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types]
4733 | .set_coalesce = ixgbe_set_coalesce,
| ^~~~~~~~~~~~~~~~~~
/root/ixgbe-5.12.5/src/ixgbe_ethtool.c:4733:19: note: (near initialization for ‘ixgbe_ethtool_ops.set_coalesce’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:280: /root/ixgbe-5.12.5/src/ixgbe_ethtool.o] Error 1
make[1]: *** [Makefile:1822: /root/ixgbe-5.12.5/src] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/5.10.0-60.18.0.50.oe2203.x86_64’
make: *** [Makefile:99: default] Error 2

dnf install i40e