Date: Thu, 23 Jan 2014 23:29:38 +0100 From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: "C. L. Martinez" <carlopmart@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Netmap in FreeBSD 10 Message-ID: <CA%2Bq%2BTcq=SGv9BENvkF3V8_kCjDO%2Bq12PwhFi6wsJ0n%2BOSxnkdA@mail.gmail.com> In-Reply-To: <20140122184552.GB98322@onelab2.iet.unipi.it> References: <CAEjQA5LcXMn0BhFGgu1WjoZ7RtaxGN4pXwFySwLptFUPRYM3jg@mail.gmail.com> <20140122184552.GB98322@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2014 at 7:45 PM, Luigi Rizzo <rizzo@iet.unipi.it> wrote: > > I also suggest to update the netmap code to the one in head, > which has more features and bugfixes. > > I've tried to copy the netmap code from head to 10.0: it's a little bit more complex than a simple copy :-) The linker is not happy because some declarations are just declared and not included in some header file, here is a limited output: /src/sys/dev/e1000/if_em.c:(.text+0x51ee): undefined reference to `netmap_buffer_lut' /src/sys/dev/e1000/if_em.c:(.text+0x5204): undefined reference to `netmap_buffer_lut' if_em.o: In function `em_netmap_txsync': /src/sys/dev/e1000/if_em.c:(.text+0xa170): undefined reference to `netmap_buffer_lut' if_em.o:/src/sys/dev/e1000/if_em.c:(.text+0xa184): more undefined references to `netmap_buffer_lut' follow netmap.o: In function `netmap_get_memory': /src/sys/dev/netmap/netmap.c:(.text+0xab8): undefined reference to `nm_mem' /src/sys/dev/netmap/netmap.c:(.text+0xaea): undefined reference to `netmap_mem_finalize' netmap.o: In function `netmap_dtor_locked': /src/sys/dev/netmap/netmap.c:(.text+0xb77): undefined reference to `netmap_mem_deref' netmap.o: In function `netmap_do_unregif': /src/sys/dev/netmap/netmap.c:(.text+0xc74): undefined reference to `netmap_mem_rings_delete' /src/sys/dev/netmap/netmap.c:(.text+0xc88): undefined reference to `netmap_mem_if_delete' netmap.o: In function `netmap_txsync_to_host': /src/sys/dev/netmap/netmap.c:(.text+0xeb1): undefined reference to `mbq_init' netmap.o: In function `netmap_grab_packets': /src/sys/dev/netmap/netmap.c:(.text+0x1800): undefined reference to `mbq_enqueue' netmap.o: In function `netmap_send_up': /src/sys/dev/netmap/netmap.c:(.text+0x1849): undefined reference to `mbq_dequeue' /src/sys/dev/netmap/netmap.c:(.text+0x18ce): undefined reference to `mbq_dequeue' /src/sys/dev/netmap/netmap.c:(.text+0x18de): undefined reference to `mbq_destroy' (etc...)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcq=SGv9BENvkF3V8_kCjDO%2Bq12PwhFi6wsJ0n%2BOSxnkdA>