[Bug 206932] Realtek 8111 card stops responding under high load in netmap mode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 20 11:06:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206932
--- Comment #7 from Vincenzo Maffione <vmaffione at 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 using
pkt-gen) that causes the issue?
Also, can you build and run this program and reports its output? It will just
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 = argv[1];
struct nm_desc *nmd;
char name[100];
assert(argc >= 2);
snprintf(name, sizeof(name), "netmap:%s", ifname);
nmd = 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list