<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/vmware, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2025-01-20T12:39:26Z</updated>
<entry>
<title>pvscsi: Explicitly mask out CTS_SAS_VALID_SPEED bit</title>
<updated>2025-01-20T12:39:26Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-01-15T04:32:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25695358d03b4c60344df5b7dead04085350448d'/>
<id>urn:sha1:25695358d03b4c60344df5b7dead04085350448d</id>
<content type='text'>
This driver prefers connection speed over sas port speed. On stable/13
branch the stack-allocated CCB is not cleared thus the cam layer may
report weird speed on boot.

```
da0: &lt;VMware Virtual disk 2.0&gt; Fixed Direct Access SPC-4 SCSI device
da0: 4294967.295MB/s transfers
```

-current and stable/14 have the change [1] which clears stack-allocated
CCB thus are not affected, but I want -current and stable/14 to have this
fix in to reduce drift between branches.

1. ec5325dbca62 cam: make sure to clear even more CCBs allocated on the stack

Reviewed by:	imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D48438

(cherry picked from commit 7befd68335a0b34405b6293f30cc47cabc46ab06)
(cherry picked from commit 5094faf5dfa860f238f636457563bc0d89013c7a)
</content>
</entry>
<entry>
<title>pvscsi: maximum target number is one less than number of targets</title>
<updated>2024-11-26T15:32:47Z</updated>
<author>
<name>Yuri Pankov</name>
<email>yuripv@FreeBSD.org</email>
</author>
<published>2023-05-05T09:48:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=770498cf8bdce4d0909093a4ebd4cab104fa0ff2'/>
<id>urn:sha1:770498cf8bdce4d0909093a4ebd4cab104fa0ff2</id>
<content type='text'>
Fix the number of targets we inquiry to be one less than the maximum
number of targets adapter reports.  This gets rid of the errors reported
on VMware Workstation:

(probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error

While here, print the maximum number of targets.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D39867

(cherry picked from commit 6abf81b3d6747da0baa90860d5a6e929c97c9bb9)
</content>
</entry>
<entry>
<title>vmware: Fix a typo in a source code comment</title>
<updated>2024-01-23T06:46:55Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-01-20T16:33:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16f66b464e3b4bf78954f674f4147d39cccbd596'/>
<id>urn:sha1:16f66b464e3b4bf78954f674f4147d39cccbd596</id>
<content type='text'>
- s/withing/within/

(cherry picked from commit 623848af604116aa33bc8a66d2ac45b4cbaccfd8)
</content>
</entry>
<entry>
<title>iflib drivers: Constify PCI ID LUTs</title>
<updated>2024-01-05T22:48:03Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2023-08-16T16:49:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5153206df0f29d682cdcad97b67d182b00204ccd'/>
<id>urn:sha1:5153206df0f29d682cdcad97b67d182b00204ccd</id>
<content type='text'>
Since d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is ready
for this change.
While at it, make isc_driver_version strings (static) const where
not apparently un-const on purpose, too.
This reduces the size of the amd64 GENERIC by about 10 KiB.

(cherry picked from commit 51e235148a4becba94e824a44bd69687644a7f56)

Conflicts (drivers missing in stable/13):
	sys/dev/enetc/if_enetc.c
	sys/dev/enic/if_enic.c
</content>
</entry>
<entry>
<title>vmxnet3: do restart on VLAN changes</title>
<updated>2023-09-11T22:34:21Z</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2023-08-24T20:25:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5c4f04ff008ca920219655e401fef48a5806f77d'/>
<id>urn:sha1:5c4f04ff008ca920219655e401fef48a5806f77d</id>
<content type='text'>
vmxnet3: Don't restart on VLAN changes

In rS360398, a new iflib device method was added with default of opt out
for VLAN events needing an interface reset.

This re-init is unintentional for vmxnet3(4).

Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D41558

(cherry picked from commit b6b75424c57d6da49967fef39f69080ce6939207)

vmxnet3: do restart on VLAN changes

At least one user reports issues with vmx interfaces after 725e4008ef,
where we default to not resetting the interface on VLAN changes. This
was on an ESXi 7.0.3 setup.

Reported by:	Marcos Mendoza &lt;mmendoza@netgate.com&gt;
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 8c1274138a20ee2342c4f217adb605e3abc14042)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line bare tag</title>
<updated>2023-08-23T17:43:32Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=27096e41f03f81fd6622e45ec3a91268f0eacdc8'/>
<id>urn:sha1:27096e41f03f81fd6622e45ec3a91268f0eacdc8</id>
<content type='text'>
Remove /^\s*\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 78d146160dc5)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3bc80996974a61a4223eae4c1ccd47b6ee32a48a'/>
<id>urn:sha1:3bc80996974a61a4223eae4c1ccd47b6ee32a48a</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:20Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f8167e0404dab9ffeaca95853dd237ab7c587f82'/>
<id>urn:sha1:f8167e0404dab9ffeaca95853dd237ab7c587f82</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</content>
</entry>
<entry>
<title>pvscsi:	Advertise maxio of 256k.</title>
<updated>2022-10-19T17:47:45Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2021-04-21T18:10:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f51c1d1dd595ce51059489d7e1248ff6ba39664a'/>
<id>urn:sha1:f51c1d1dd595ce51059489d7e1248ff6ba39664a</id>
<content type='text'>
While the PV SCSI SG list can handle 512k of SG entries, it can only do
so for I/O that's aligned to 4k or better. newfs_msdos does unaligned
I/O, so triggers too long for host errors in cam when a 512k I/O is
attempted. Prefer power of 2 256k to the absolute maximum 508k, though
that can be revisited should the latter show to give significant
performance improvement.

MFC After:		3 days
Tested by:		darius on discord (508k version of patch)
Sponsored by:		Netflix

(cherry picked from commit 9a5a5c1576b4ce308a97e0bce887261701ae3edc)
</content>
</entry>
<entry>
<title>vmci(4): Correct some typos in source code comments</title>
<updated>2022-09-07T07:32:25Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-09-04T11:28:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=61037638f9def178751f187961b44490da1d23fe'/>
<id>urn:sha1:61037638f9def178751f187961b44490da1d23fe</id>
<content type='text'>
- s/occured/occurred/

(cherry picked from commit f2e13c27bbd1c2d385a572e97cc19ba122b74986)
</content>
</entry>
</feed>
