Re: Netmap Library not getting installed on custom kernel installation

2020-12-16 Thread Rajesh Kumar
usr/obj helps to get past the issue. But not sure why libnetmap is not built and installed though "device netmap" is set in the config file. Manually copying may not be the right approach. Can anyone suggest a cleaner way of getting things done? Thanks, Rajesh. On Wed, Dec 16, 2020

Netmap Library not getting installed on custom kernel installation

2020-12-16 Thread Rajesh Kumar
Hi, I am trying to compile the netmap tools(pkt-gen, bridge etc.,) and getting the below error. */root//freebsd/tools/tools/netmap/pkt-gen.c:47:10: fatal error: 'libnetmap.h' file not found#include ^1 error generated.*** Error code 1* On debug, I don't see the

Re: Netmap bridge not working with 10G Ethernet ports

2020-11-25 Thread Rajesh Kumar
Hi Vincenzo, On Tue, Nov 24, 2020 at 8:54 PM Vincenzo Maffione wrote: > > Yeah, it's weird because axgbe also uses iflib(4). If the driver exposes > NIC head/tail pointers (sysctl) it may be useful to check what happens > there. > It may be that the NIC is dropping these packets for some

Re: Netmap bridge not working with 10G Ethernet ports

2020-11-23 Thread Rajesh Kumar
iorno sab 21 nov 2020 alle ore 17:06 Vincenzo Maffione < > vmaffi...@freebsd.org> ha scritto: > >> >> >> Il giorno ven 20 nov 2020 alle ore 14:31 Rajesh Kumar >> ha scritto: >> >>> Hi Vincenzo, >>> >>> On Fri, Nov 20, 2020 at 3:20

Re: Netmap bridge not working with 10G Ethernet ports

2020-11-20 Thread Rajesh Kumar
Hi Vincenzo, On Fri, Nov 20, 2020 at 3:20 AM Vincenzo Maffione wrote: > > Ok, now it makes sense. Thanks for clarifying. I see that if_axp(4) uses > iflib(4). This means that actually if_axp(4) has native netmap support, > because iflib(4) has native netmap support. > > It means that the driver

Re: Netmap bridge not working with 10G Ethernet ports

2020-11-19 Thread Rajesh Kumar
Hi Vincenzo, Thanks for your reply. On Thu, Nov 19, 2020 at 3:16 AM Vincenzo Maffione wrote: > > This looks like if_axe(4) driver, and therefore there's no native netmap > support, which means you are falling back on > the emulated netmap adapter. Are these USB dongles? If so, how can they be

Netmap bridge not working with 10G Ethernet ports

2020-11-17 Thread Rajesh Kumar
Hi, I am testing a 10G Network driver with Netmap "bridge" utility, where it doesn't seem to work. Here is my setup details. *System under Test:* Running FreeBSD CURRENT. Has two inbuilt 10G NIC ports. *System 1:* Running Ubuntu, whose network port is connected to Port1 of System Under Test

Re: 10G Network interface not reaching wire speed on Receive path with single thread iperf run

2020-09-08 Thread Rajesh Kumar
Hi Guys, Has anyone got a chance to look into this? Any clues? Thanks, Rajesh. On Mon, Sep 7, 2020 at 11:33 PM Rajesh Kumar wrote: > Hi Michael, > > We use Interrupts for Rx packets. Whereas we poll for the link status. > > Thanks, > Rajesh. > > On Mon, Sep 7,

10G Network interface not reaching wire speed on Receive path with single thread iperf run

2020-09-07 Thread Rajesh Kumar
Hi FreeBSD team, I am writing a network driver using the iflib framework and using the "iperf" tool for performance testing. 1) 10G link with 9000 MTU: Seeing line-rate numbers on both Tx and Rx path. 2) 10G link with 1500 MTU. Seeing line-rate numbers on Tx path, but low numbers on Rx path.