On Fri, Aug 01, 2014 at 02:08:22PM -0700, Bruce Richardson wrote:
> On Fri, Aug 01, 2014 at 04:43:52PM -0400, Neil Horman wrote:
> > On Fri, Aug 01, 2014 at 12:22:22PM -0700, Bruce Richardson wrote:
> > > On Fri, Aug 01, 2014 at 11:06:29AM -0400, Neil Horman wrote:
> > > > On Thu, Jul 31, 2014 at 0
I did a bit more experimentation and found the following. If I unmark the
rte_igb_pmd_init function as static, and call it directly from my code, the
driver will load, and the port count increments to 2:
EAL: PCI device :01:00.0 on NUMA socket -1
EAL: probe driver: 8086:1521 rte_igb_pmd
EA
Also, when using the separate libraries the problem still happens:
-lethdev -lrte_cfgfile -lrte_cmdline -lrte_distributor -lrte_hash
-lrte_ip_frag -lrte_lpm -lrte_malloc -lrte_mbuf -lrte_mempool -lrte_pmd_e1000
-lrte_pmd_pcap -lrte_pmd_virtio_uio -lrte_pmd_vmxnet3_uio -lrte_port
-lrte_ring -lrt
On Sun, Aug 03, 2014 at 01:37:06AM +0900, Masaru Oki wrote:
> cc links library funtion from archive only if call from other object.
> but new dpdk pmd library has constractor section and not call directly.
> ld always links library funtion with constractor section.
> use -Xlinker, or use ld instead
4 matches
Mail list logo