Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2015 18:28:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205164] BPF gives EIO with sendmsg() where write > pagesize
Message-ID:  <bug-205164-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: abasterfield@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205164-8>