Re: netmap ixgbevf mtu

2018-03-27 Thread Joe Buehler
Grazie mille. I will test it as time allows -- swamped. Joe Buehler Vincenzo Maffione wrote: > Hi, > This commit (fe13476b106ed1f4b517b1590e1dfb3f268b6e78) in the upstream > netmap should have fixed the NS_MOREFRAG issue for ixgbe. > If you happen give a try let us know.

netmap ixgbevf max frame size

2018-03-21 Thread Joe Buehler
in some of the driver source files but as an MTU, the max frame size is larger. Joe Buehler ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-uns

Re: netmap ixgbevf mtu

2018-03-20 Thread Joe Buehler
as the perfect solution but it works fine for my situation. Joe Buehler --- LINUX/ixgbe_netmap_linux.h.~1~ 2018-03-19 12:36:09.1 -0400 +++ LINUX/ixgbe_netmap_linux.h 2018-03-20 14:54:47.1 -0400 @@ -329,7 +329,8 @@ nic_i = netmap_idx_k2n(kring, nm_i); for (n = 0; nm_i != head; n

Re: netmap ixgbevf mtu

2018-03-20 Thread Joe Buehler
length when NS_MOREFRAG is set and have the driver assume that the buffer is full if that length is more than the buffer length. That way netmap knows both the total length and the fragment length. Very ugly but... Joe Buehler > I don't think so, but you need to use the latest netmap from git

Re: netmap ixgbevf mtu

2018-03-19 Thread Joe Buehler
split TX frames into multiple buffers does not work, the NIC is sending 2048 byte frames (the buf_size I am using). I will re-check my code. Do I need a particular version of ixgbevf perhaps? Joe Buehler ___ freebsd-net@freebsd.org mailing list htt

Re: netmap ixgbevf mtu

2018-03-16 Thread Joe Buehler
Sorry, I should have added, this is LINUX if it matters. Joe Buehler wrote: > I am having difficulties with netmap over top of ixgbevf when attempting to > use a large MTU (say 9000 bytes). > > Does the ixgbevf driver use 2048 byte buffers for RX regardless of the MTU or > net

netmap ixgbevf mtu

2018-03-16 Thread Joe Buehler
bytes max. It is possible that netmap is passing frames in multiple pieces I suppose, I haven't checked that yet -- my code is looking at the frame headers only at the moment so would toss trailing pieces. Joe Buehler ___ freebsd-net@freebsd.org mailing

netmap memory config query

2018-03-14 Thread Joe Buehler
to tweak to get past this? I am using LINUX should it matter. Joe Buehler ___ 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"

Re: netmap / LINUX realtime / ixgbevf: huge RX latencies

2017-12-02 Thread Joe Buehler
ial patch to the netmap driver to turn this on and also pass the timestamp to user space, and will pass on the changes. I am doing frame latency measurements and this simple change eliminated a *whole* lot of noise in the measurements. Joe Bueh

Re: netmap / LINUX realtime / ixgbevf: huge RX latencies

2017-11-30 Thread Joe Buehler
Here is what I start seeing in dmesg when I attempt to use the 4.2.1 ixgbevf driver as modified for netmap. Joe Buehler [ 136.607019] 343.712201 [ 189] ixgbe_netmap_configure_srrctl not supported [ 136.610020] 343.715203 [ 189] ixgbe_netmap_configure_srrctl not supported [ 136.796698] ixgbevf

netmap / LINUX realtime / ixgbevf: huge RX latencies

2017-11-30 Thread Joe Buehler
version of the driver might be better? The kernel ixgbevf version is 2.12.1-k while netmap is trying to use 4.2.1. Looking at the RT patch for LINUX there are only a few network driver patches, none for the ixgbe* cards. Joe Buehler ___ freebsd-net

Re: netmap scatter/gather?

2017-11-07 Thread Joe Buehler
Decreasing buf_num to 32768 eliminated the allocation failure. Joe Buehler ___ 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"

Re: netmap scatter/gather?

2017-11-07 Thread Joe Buehler
0 [ 857.989543] 620.139199 [ 215] virtio_netmap_clean_used_rings got 0 used bufs on queue rx-0 [ 857.990177] 620.139833 [ 670] virtio_netmap_init_buffers added 255 inbufs on queue 0 Joe Buehler ___ freebsd-net@freebsd.org mailing list https://lists.free

Re: virtio_net / netmap RX dropping frames

2017-11-07 Thread Joe Buehler
on real-time KVM on the net that explains how to achieve what I want. Joe Buehler ___ 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"

Re: virtio_net / netmap RX dropping frames

2017-10-27 Thread Joe Buehler
on macvtap1 (100,000) and that fixed the drops but the resulting latency is horrible, increasing with test length, as is the jitter. Given the low RX thread CPU it would appear that there is eomething wrong between macvtap and my code. I will have to chew on this a bit.

Re: virtio_net / netmap RX dropping frames

2017-10-26 Thread Joe Buehler
RX thread. The frame rate displayed by pkt-gen and the CPU displayed by top is bouncing around. Joe Buehler ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebs

Re: virtio_net / netmap RX dropping frames

2017-10-26 Thread Joe Buehler
that's the basic idea. > > ? > What happens if you use pkt-gen rather than your application? I was under the impression that I can't have two threads in the netmap kernel code at the same time so can't do that. Joe Buehler ___ freebsd-net@

Re: virtio_net / netmap RX dropping frames

2017-10-26 Thread Joe Buehler
all frames but it spikes (up to 0.6 mS!) for a few frames, which is not acceptable for this application -- was expecting much better due to network stack bypass. And this is just 100 frames/sec... Joe Buehler ___ freebsd-net@freebsd.org mailing list h

virtio_net / netmap RX dropping frames

2017-10-25 Thread Joe Buehler
I am running virtio_net (netmap-modified) on top of netmap (latest) in a KVM virtual machine. The host adapter is Intel 82599ES 10G and the VM is connected to it via macvtap. My test setup is a small program in the VM sending frames out to an external loopback device and watching what comes