Comments (6)
Hi morphyno,
we fixed the problem with jumbo frames and ixgbe, but without libpcap.
This fixes are into "next" branch of netmap. Maybe this problem is related.
Can you try with "next" branch?
Thanks,
Stefano
Original comment by [email protected]
on 22 Oct 2014 at 11:45
from netmap.
Hi Stefano:
Jumbo packets does seem to work with the "next" branch of netmap. However,
here's my observation.
I set "buf_size" to 9000, in dmesg, I see bufsz is set to 9088
[ 2834.998629] 050.285168 [ 460] ixgbe_netmap_configure_srrctl bufsz: 9088
srrctl: 8
However, I see actual MTU is 8196 Bytes.
Because as soon as I send packets bigger than 8196 bytes, I see fragmentation.
892 bytes is a pretty big difference.
Is buf_size a software buffer size that includes other objects other than skb?
Original comment by [email protected]
on 27 Oct 2014 at 8:06
from netmap.
Hi morphyno,
bufsz is set to 9088 for alignment reason.
For the MTU, I don't understand if you are set it up to 9000 in both side (tx
and rx).
Can you explain the test environment? (tools for traffic generation, NIC set
up, tx and rx NIC interconnection)
Cheers,
Stefano
Original comment by [email protected]
on 31 Oct 2014 at 2:17
from netmap.
Original comment by [email protected]
on 31 Oct 2014 at 2:19
- Changed state: Started
from netmap.
Hi Stefano:
I actually avoided using jumbo packets for some time. I'm using tcpreplay over
netmap to play pcaps that contain jumbo packets (largest is 9200 bytes). I'm
able to do so when I set /sys/module/netmap/parameters/buf_size to 9300. I also
use tcpdump over netmap-libpcap to capture the packets in a loopback (from my
device under test).
tcpeplay -> Netmap:ethX -> DUT > Netmap:eth7 -> tcpdump
I'm noticing something very interesting. When I attempt to invoke but tcpreplay
and tcpdump both in netmap mode(they both use difference interfaces). I see the
following errors in dmesg.
[2549737.221434] 057.187385 [ 798] generic_netmap_dtor Restored native NA
(null)
[2549738.286908] 058.252026 [1786] netmap_interp_ringid eth0: tx [0,12) rx
[0,12) id 0
[2549738.350512] 058.315582 [ 356] nm_mem_assign_group iommu_group 0
[2549738.416472] 058.381491 [ 507] netmap_obj_malloc no more netmap_buf
objects
[2549738.482315] 058.447283 [ 672] netmap_new_bufs no more buffers
after 444 of 512
[2549738.548963] 058.513879 [1360] netmap_mem_rings_create Cannot allocate
buffers for tx_ring
[2549738.617586] 058.582448 [1516] netmap_mem_global_deref refcount = 1
This only happens if I have a buffer size set to a very large number. Is there
any other parameter I need to adjust accordingly with buff_size?
Original comment by [email protected]
on 4 Feb 2015 at 8:06
from netmap.
Attached is the dmesg, tcpdump over netmap-libpcap is using eth13, tcpreplay
over netmap is using eth12
Original comment by [email protected]
on 4 Feb 2015 at 8:08
Attachments:
from netmap.
Related Issues (20)
- Running multiple pkt-gen applications for receiving packets HOT 1
- OpenWRT Makefile does not work
- [PATCH] Allow use of pipes in pkt-gen through "-E" HOT 2
- Is it possible to make netmap kernel version agnostic HOT 2
- Run Netmap in a Fedora VM running in VirtualBox HOT 2
- Netmap on CentOS 7 work abnormally HOT 1
- No packets received no the receiver side in the simple pkt-gen example HOT 1
- Something wrong with Netmap bridge HOT 2
- netmap crash on ubuntu 14.04 after weeks of continuous use
- running netmap-libpcap linked tcpdump slows pkt-gen and drops packets
- Problems installing Netmap on ARM (Nvidia Jetson TK1) HOT 4
- Conflict with Boost Threads, patch provided
- Can't build ixgbe driver for Debian 7 Wheezy HOT 3
- Kernel oops when trying to open netmap with incrorrect hardware RING number HOT 2
- Debian 7.8, e1000e plus netmap build error HOT 2
- get in touch HOT 4
- examples/bridge connect to host stack on e1000 only see net->host,no host->net HOT 2
- Intel ixgbe driver from Sourcesorge
- Optimization on linux - hugetlb pages support HOT 3
- Kernel panic with Fedora 21 (Linux 3.19 kernel) and e1000 driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netmap.