Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2020 01:09:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 226217] if_qlxgb (QLogic cLOM8214) not working for me when configured via netif
Message-ID:  <bug-226217-7501-Ro8sBtMBMS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226217-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226217-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226217

Christian Valli=C3=A8res <novacrash_@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |novacrash_@hotmail.com

--- Comment #4 from Christian Valli=C3=A8res <novacrash_@hotmail.com> ---
Created attachment 213710
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213710&action=
=3Dedit
Fix that mtu not initialized bug

MTU need to be initialized before qla_os:685
ha->max_frame_size =3D 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 =3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226217-7501-Ro8sBtMBMS>