[Bug 265857] qlnxe: no IPV6 pings between nodes on the same switch until an IPv4 address is set

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Oct 2022 01:56:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265857

--- Comment #6 from Zhenlei Huang <zlei.huang@gmail.com> ---
(In reply to benoitc from comment #1)

I'm not sure whether the interface is not properly initialized or not, but you
can try to change the MTU (maximum is 9000 as defined in the driver's source
code), and see if it works.

On node1 and node2, ifconfig ql0 mtu 4000, then ping link-local address from
node1 to node2.


Some glue in the driver's source code:

```
        case SIOCSIFMTU:
                QL_DPRINT4(ha, "SIOCSIFMTU (0x%lx)\n", cmd);

                if (ifr->ifr_mtu > QLNX_MAX_MTU) {
                        ret = EINVAL;
                } else {
                        QLNX_LOCK(ha);
                        ifp->if_mtu = ifr->ifr_mtu;
                        ha->max_frame_size =
                                ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN;
                        if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
                                qlnx_init_locked(ha);
                        }

                        QLNX_UNLOCK(ha);
                }

                break;
```

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