[Bug 226217] if_qlxgb (QLogic cLOM8214) not working for me when configured via netif
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 23 01:09:51 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226217
Christian Vallières <novacrash_ at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |novacrash_ at hotmail.com
--- Comment #4 from Christian Vallières <novacrash_ at hotmail.com> ---
Created attachment 213710
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213710&action=edit
Fix that mtu not initialized bug
MTU need to be initialized before qla_os:685
ha->max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN;
Otherwise packet is always flagged as too big in qla_hw.c:1003
if ((mp->m_pkthdr.len > ha->max_frame_size)||(nsegs > Q8_TX_MAX_SEGMENTS)) {
I also moved qla_os:694
ifp->if_capabilities = IFCAP_LINKSTATE;
Before qla_os:687
ether_ifattach(ifp, qla_get_mac_addr(ha));
Like in qlxgbe/ql_os:877 because I had trouble doing ifconfig ql0 up for
bridge.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list