https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206932

--- Comment #7 from Vincenzo Maffione <vmaffi...@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.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to