svn commit: r334880 - head/sys/dev/vnic

Sean Bruno sbruno at freebsd.org
Sun Jul 8 15:10:38 UTC 2018



On 07/07/18 11:43, Mark Johnston wrote:
> On Sat, Jun 09, 2018 at 02:47:49PM +0000, Andrew Turner wrote:
>> Author: andrew
>> Date: Sat Jun  9 14:47:49 2018
>> New Revision: 334880
>> URL: https://svnweb.freebsd.org/changeset/base/334880
>>
>> Log:
>>   In the ThunderX BGX network driver we were skipping the NULL terminator
>>   when parsing the phy type, however this is included in the length returned
>>   by OF_getprop. To fix this stop ignoring the terminator.
>>   
>>   PR:		228828
>>   Reported by:	sbruno
>>   Sponsored by:	DARPA, AFRL
> 
> This seems to break vnic on packet.net ThunderXs.  In particular, VF
> creation fails.  It seems the problem in my case is that there are
> multiple PHY devices in the device tree, e.g., xfi at 0, xfi at 1.  With this
> change, bgx_fdt_phy_name_match() fails to match against any device
> containing a unit address in the node name.
> 


Huh ... this was *required* to get the ThunderXs we have in the FreeBSD
cluster to work at all.  o.0

I guess "someone" needs to contact "someone" to figure out which is
correct or we need to replace our FreeBSD cluster machines with ones
that work like the packet.net machines?

sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20180708/45bf9cb2/attachment.sig>


More information about the svn-src-head mailing list