Skip to content

__attribute__((constructor, used)) doesn't work if build with static lib of dpdk/odp-dpdk #191

@lvsgate

Description

@lvsgate

RTE_PMD_REGISTER_PCI(net_ixgbe, rte_ixgbe_pmd.pci_drv);
This line doesn't be called if build with static lib of dpdk/odp-dpdk, because this micro use attribute((constructor, used)).
The result is that "odp_packet_dpdk.c:162:setup_pkt_dpdk():No driver found for interface: 0"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions