<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/gve, branch releng/13.4</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>gve: Make gve_free_qpls idempotent</title>
<updated>2024-06-21T05:45:58+00:00</updated>
<author>
<name>Shailend Chand</name>
<email>shailend@google.com</email>
</author>
<published>2024-06-05T05:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=14454f417201a6c1075768c1a571b22c6d4c57d2'/>
<id>14454f417201a6c1075768c1a571b22c6d4c57d2</id>
<content type='text'>
This fixes a panic caused by double free.

PR:	kern/279410
Differential Revision: https://reviews.freebsd.org/D45489

(cherry picked from commit b81cbb12410b000074483899e61e9e767ba3ec1d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a panic caused by double free.

PR:	kern/279410
Differential Revision: https://reviews.freebsd.org/D45489

(cherry picked from commit b81cbb12410b000074483899e61e9e767ba3ec1d)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Make LRO work for jumbo packets</title>
<updated>2023-10-04T03:38:44+00:00</updated>
<author>
<name>Shailend Chand</name>
<email>shailend@google.com</email>
</author>
<published>2023-09-07T13:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2c359c0f7715507f6a49a911becbd50a8521b9a'/>
<id>a2c359c0f7715507f6a49a911becbd50a8521b9a</id>
<content type='text'>
Each Rx descriptor points to a packet buffer of size 2K, which means
that MTUs greater than 2K see multi-descriptor packets. The TCP-hood of
such packets was being incorrectly determined by looking for a flag on
the last descriptor instead of the first descriptor.

Also fixed and progressed the version number.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D41754

(cherry picked from commit 5f62584a9adb7887bae33af617cfa4f43017abf8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each Rx descriptor points to a packet buffer of size 2K, which means
that MTUs greater than 2K see multi-descriptor packets. The TCP-hood of
such packets was being incorrectly determined by looking for a flag on
the last descriptor instead of the first descriptor.

Also fixed and progressed the version number.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D41754

(cherry picked from commit 5f62584a9adb7887bae33af617cfa4f43017abf8)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Simplify tx loop over buffer ring</title>
<updated>2023-08-18T23:18:16+00:00</updated>
<author>
<name>Shailend Chand</name>
<email>shailend@google.com</email>
</author>
<published>2023-08-12T07:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d3ca462c94b268cfa04cb66101fa41a3c752651d'/>
<id>d3ca462c94b268cfa04cb66101fa41a3c752651d</id>
<content type='text'>
Reviewed by:	markj
Differential Revision: https://reviews.freebsd.org/D41281

(cherry picked from commit 543cf924bcdcf064fed417ec3d66000ef66194d2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	markj
Differential Revision: https://reviews.freebsd.org/D41281

(cherry picked from commit 543cf924bcdcf064fed417ec3d66000ef66194d2)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Fix Tx tcpdump panic</title>
<updated>2023-08-18T23:18:16+00:00</updated>
<author>
<name>Shailend Chand</name>
<email>shailend@google.com</email>
</author>
<published>2023-07-27T05:22:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=545ab0eb19931d8b2e978da18811f16b97b94c78'/>
<id>545ab0eb19931d8b2e978da18811f16b97b94c78</id>
<content type='text'>
Ringing the doorbell before making the BPF call can result in the
mbuf being freed before the BPF call.

Reviewed-by:		markj
Differential Revision: https://reviews.freebsd.org/D41189

(cherry picked from commit 74861578d95573e13a2099143f9d4e7edbb82806)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ringing the doorbell before making the BPF call can result in the
mbuf being freed before the BPF call.

Reviewed-by:		markj
Differential Revision: https://reviews.freebsd.org/D41189

(cherry picked from commit 74861578d95573e13a2099143f9d4e7edbb82806)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Unobfuscate code by using nitems directly for loop.</title>
<updated>2023-08-18T23:18:15+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2023-06-07T04:14:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=06d98c3bf47ec79f2e0c2942088eade399ea78b5'/>
<id>06d98c3bf47ec79f2e0c2942088eade399ea78b5</id>
<content type='text'>
While there, also make MODULE_PNP_INFO to reflect that the device
description is provided.

Reported-by:	jrtc27
Reviewed-by:	jrtc27, imp
Differential Revision: https://reviews.freebsd.org/D40430

(cherry picked from commit 1177a6c8dcfd6625c541d6ffc3c6915b8b6354f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While there, also make MODULE_PNP_INFO to reflect that the device
description is provided.

Reported-by:	jrtc27
Reviewed-by:	jrtc27, imp
Differential Revision: https://reviews.freebsd.org/D40430

(cherry picked from commit 1177a6c8dcfd6625c541d6ffc3c6915b8b6354f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Add PNP info to PCI attachment of gve(4) driver.</title>
<updated>2023-08-18T23:18:15+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2023-06-06T00:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=80a7ab5a4f7952c24f817ee8a21bc1d4a1fb2436'/>
<id>80a7ab5a4f7952c24f817ee8a21bc1d4a1fb2436</id>
<content type='text'>
Reviewed-by:		imp
Differential Revision:	https://reviews.freebsd.org/D40429

(cherry picked from commit 1bbdfb0b438689a839e29094fcb582a104cbabd9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by:		imp
Differential Revision:	https://reviews.freebsd.org/D40429

(cherry picked from commit 1bbdfb0b438689a839e29094fcb582a104cbabd9)
</pre>
</div>
</content>
</entry>
<entry>
<title>gve: Fix build on i386 and enable LINT builds.</title>
<updated>2023-08-18T23:18:15+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2023-06-04T23:35:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=78f491c86d04b8938ff7b26481268b8f223d86e0'/>
<id>78f491c86d04b8938ff7b26481268b8f223d86e0</id>
<content type='text'>
Reviewed-by:	imp
Differential Revision: https://reviews.freebsd.org/D40419

(cherry picked from commit 4d779448adb32ef6424abb781dab87065964d42f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by:	imp
Differential Revision: https://reviews.freebsd.org/D40419

(cherry picked from commit 4d779448adb32ef6424abb781dab87065964d42f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add gve, the driver for Google Virtual NIC (gVNIC)</title>
<updated>2023-08-18T23:18:15+00:00</updated>
<author>
<name>Shailend Chand</name>
<email>shailend@google.com</email>
</author>
<published>2023-06-02T18:58:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4e846759f0a327c8e150ab8910b06f93edecf0d9'/>
<id>4e846759f0a327c8e150ab8910b06f93edecf0d9</id>
<content type='text'>
gVNIC is a virtual network interface designed specifically for
Google Compute Engine (GCE). It is required to support per-VM Tier_1
networking performance, and for using certain VM shapes on GCE.

The NIC supports TSO, Rx and Tx checksum offloads, and RSS.
It does not currently do hardware LRO, and thus the software-LRO
in the host is used instead. It also supports jumbo frames.

For each queue, the driver negotiates a set of pages with the NIC to
serve as a fixed bounce buffer, this precludes the use of iflib.

Reviewed-by: 		markj
Differential Revision: https://reviews.freebsd.org/D39873

(cherry picked from commit 54dfc97b0bd99f1c3bcbb37357cf28cd81a7cf00)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gVNIC is a virtual network interface designed specifically for
Google Compute Engine (GCE). It is required to support per-VM Tier_1
networking performance, and for using certain VM shapes on GCE.

The NIC supports TSO, Rx and Tx checksum offloads, and RSS.
It does not currently do hardware LRO, and thus the software-LRO
in the host is used instead. It also supports jumbo frames.

For each queue, the driver negotiates a set of pages with the NIC to
serve as a fixed bounce buffer, this precludes the use of iflib.

Reviewed-by: 		markj
Differential Revision: https://reviews.freebsd.org/D39873

(cherry picked from commit 54dfc97b0bd99f1c3bcbb37357cf28cd81a7cf00)
</pre>
</div>
</content>
</entry>
</feed>
