Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2019 11:06:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 206932] Realtek 8111 card stops responding under high load in netmap mode
Message-ID:  <bug-206932-7501-r8Oy8JQDPW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206932-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206932-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206932

--- Comment #7 from Vincenzo Maffione <vmaffione@FreeBSD.org> ---
(In reply to hippi-viking from comment #6)

Hi,
 Can you please specify the exact command line (e.g. pkt-gen if you are usi=
ng
pkt-gen) that causes the issue?

Also, can you build and run this program and reports its output? It will ju=
st
print the number of rings and slots.

````
#include <stdio.h>
#include <stdint.h>
#include <net/if.h>
#define NETMAP_WITH_LIBS
#include <net/netmap_user.h>
#include <assert.h>

int main(int argc, char **argv)
{
        const char *ifname =3D argv[1];
        struct nm_desc *nmd;
        char name[100];

        assert(argc >=3D 2);
        snprintf(name, sizeof(name), "netmap:%s", ifname);
        nmd =3D nm_open(name, NULL, 0, NULL);
        assert(nmd);
        printf("txr %u rxr %u txd %u rxd %u\n",
                nmd->nifp->ni_tx_rings,
                nmd->nifp->ni_rx_rings,
                NETMAP_TXRING(nmd->nifp, 0)->num_slots,
                NETMAP_RXRING(nmd->nifp, 0)->num_slots);
        nm_close(nmd);

        return 0;
}

````

Command line
  # ./info re0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206932-7501-r8Oy8JQDPW>