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: abasterfi...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to