[Bug 256696] vmx not delivering large icmp6 packet

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Jun 2021 16:17:28 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256696

            Bug ID: 256696
           Summary: vmx not delivering large icmp6 packet
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs_at_FreeBSD.org
          Reporter: jcaplan_at_blackberry.com

Overview
--------

Loss of packet when sending a large icmp6 packet to a vmx interface.



Steps to Reproduce
------------------

FreeBSD VM:

# ifconfig vmx0
vmx0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       
options=4e403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:0c:29:72:5a:0e
        inet6 fe80::20c:29ff:fe72:5a0e%vmx0 prefixlen 64 scopeid 0x4
        media: Ethernet autoselect
        status: active
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

Linux host:

ping6 -n -s5000  -c1  fe80::20c:29ff:fe72:5a0e%vmnet20 
PING fe80::20c:29ff:fe72:5a0e%vmnet20(fe80::20c:29ff:fe72:5a0e%vmnet20) 5000
data bytes

--- fe80::20c:29ff:fe72:5a0e%vmnet20 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms



Actual Results
--------------

no response from target and can't see packet on tcpdump


Expected Results:
-----------------

with em driver:

vm:
# ifconfig em0
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       
options=481009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER>
        ether 00:0c:29:72:5a:04
        inet6 fe80::20c:29ff:fe72:5a04%em0 prefixlen 64 scopeid 0x1


host:

ping6 -n -s5000  -c1  fe80::20c:29ff:fe72:5a04%vmnet8 
PING fe80::20c:29ff:fe72:5a04%vmnet8(fe80::20c:29ff:fe72:5a04%vmnet8) 5000 data
bytes
5008 bytes from fe80::20c:29ff:fe72:5a04%vmnet8: icmp_seq=1 ttl=64 time=0.578
ms

--- fe80::20c:29ff:fe72:5a04%vmnet8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.578/0.578/0.578/0.000 ms



Build date
----------
FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #0
releng/13.0-n244733-ea31abc261f: Fri May 21 13:52:55 UTC 2021    
jcaplan_at_freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jun 18 2021 - 16:17:28 UTC

Original text of this message