[Bug 205164] BPF gives EIO with sendmsg() where write > pagesize

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 9 18:28:02 UTC 2015


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

            Bug ID: 205164
           Summary: BPF gives EIO with sendmsg() where write > pagesize
           Product: Base System
           Version: 10.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: abasterfield at gmail.com

I have been playing with net/vblade and jumbo frames, specifically I would like
to fit a 4K block within an AOE frame, which means sending a packet slightly
larger than 4K.

vblade errors out with EIO in sendmsg() when asked to write over 4K to bpf fd -
is this expected?

NetworkPerformanceTuning on the wiki says

"Sendmsg() cat't send messages more than maxdgram length. Default value causes
routing software to fail with OSPF if jumbo frames is turned on.

net.inet.raw.maxdgram=16384
net.inet.raw.recvspace=16384"

No joy from above

em0: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xe800-0xe81f mem
0xfe8e0000-0xfe8fffff,0xfe800000-0xfe87ffff,0xfe8dc000-0xfe8dffff irq 16 at
device 0.0 on pci2
em0: Using MSIX interrupts with 3 vectors

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


More information about the freebsd-bugs mailing list