-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Try compile without CONFIG_NET_DEVLINK
ixgbe-6.0.5/src/ixgbe_ethtool.c:18:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
In file included from ixgbe-6.0.5/src/ixgbe_sriov.c:15:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
In file included from ixgbe-6.0.5/src/ixgbe_lib.c:4:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: ixgbe-6.0.5/src/ixgbe_ethtool.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…
make[2]: *** [scripts/Makefile.build:250: ixgbe-6.0.5/src/ixgbe_lib.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:250: ixgbe-6.0.5/src/ixgbe_sriov.o] Ошибка 1
In file included from ixgbe-6.0.5/src/ixgbe_param.c:7:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
In file included from ixgbe-6.0.5/src/ixgbe_xsk.c:4:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
In file included from ixgbe-6.0.5/src/ixgbe_procfs.c:4:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
In file included from ixgbe-6.0.5/src/ixgbe_main.c:31:
ixgbe-6.0.5/src/ixgbe.h:1180:22: error: field ‘devlink_port’ has incomplete type
struct devlink_port devlink_port;
^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250: ixgbe-6.0.5/src/ixgbe_param.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:251: ixgbe-6.0.5/src/ixgbe_procfs.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:250: ixgbe-6.0.5/src/ixgbe_xsk.o] Ошибка 1
In file included from ixgbe-6.0.5/src/ixgbe_main.c:58:
ixgbe-6.0.5/src/ixgbe_devlink.h: In function ‘ixgbe_allocate_devlink’:
ixgbe-6.0.5/src/ixgbe_devlink.h:25:1: error: expected ‘;’ before ‘}’ token
}
^
ixgbe-6.0.5/src/ixgbe_main.c: In function ‘ixgbe_probe’:
ixgbe-6.0.5/src/ixgbe_main.c:14438:3: error: implicit declaration of function ‘devlink_port_type_eth_set’ [-Werror=implicit-function-declaration]
devlink_port_type_eth_set(&adapter->devlink_port,
^~~~~~~~~~~~~~~~~~~~~~~~~
ixgbe-6.0.5/src/ixgbe_main.c:14596:8: error: implicit declaration of function ‘devlink_to_dev’; did you mean ‘dev_to_bdev’? [-Werror=implicit-function-declaration]
if (!devlink_to_dev(adapter->devlink)) {
^~~~~~~~~~~~~~
dev_to_bdev
ixgbe-6.0.5/src/ixgbe_main.c:14646:3: error: implicit declaration of function ‘devlink_free’; did you mean ‘devm_kfree’? [-Werror=implicit-function-declaration]
devlink_free(adapter->devlink);
^~~~~~~~~~~~
devm_kfree
Metadata
Metadata
Assignees
Labels
No labels