Hi.

I built a new OpenBSD 5.6 virtual machine (amd64 architecture) on a vSphere 5.5 
deployment using the new vmxnet3 network driver (3 NIC).
I receive this console message every now and then:

vmx2: short packet (<some number, even 0>)

I believe this comes from this part of code in sys/dev/pci/if_vmx.c:

                if (len < VMXNET3_MIN_MTU) {
                        printf("%s: short packet (%d)\n", ifp->if_xname, len);
                        m_freem(m);
                        goto skip_buffer;
                }


I did search the interwebs to find out some comments about this kind of short 
packets originating from VMware cards and found this comment interesting:

As we saw a few times already on different operating systems,
vmware drivers expect short packets to be padded as required
by corresponding RFC.

Reference: sys/dev/pci/if_vmx.c 
(http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_vmx.c?rev=1.22&content-type=text/x-cvsweb-markup)
See others implementation (comment above comes from this post): 
https://lists.gnu.org/archive/html/qemu-trivial/2014-08/msg00238.html

Reply via email to