<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ena/ena_datapath.c, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ena: Trigger reset when mbuf is NULL error happens</title>
<updated>2024-10-31T14:54:11+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2024-08-07T06:24:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc489c17d2ac7b0a18b5dac8ed31d2fa2d7a06ed'/>
<id>cc489c17d2ac7b0a18b5dac8ed31d2fa2d7a06ed</id>
<content type='text'>
The mbuf is NULL issue happens when the device sends the driver
a completion with a wrong request id.
Trigger a reset whenever this happens.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit da73e3a7d08c215a5d8530fea9a9730f8ac3709f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mbuf is NULL issue happens when the device sends the driver
a completion with a wrong request id.
Trigger a reset whenever this happens.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit da73e3a7d08c215a5d8530fea9a9730f8ac3709f)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Add differentiation for missing TX completions reset</title>
<updated>2024-10-31T14:54:11+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2024-08-07T06:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=db0c751ed7f1dc1c2c3daeaafa9c5354f48b8589'/>
<id>db0c751ed7f1dc1c2c3daeaafa9c5354f48b8589</id>
<content type='text'>
This commit adds differentiation for a reset caused by missing tx
completions, by verifying if the driver didn't receive tx
completions caused by missing interrupts.
The cleanup_running field was added to ena_ring because
cleanup_task.ta_pending is zeroed before ena_cleanup() runs.

Also ena_increment_reset_counter() API was added in order to support
only incrementing the reset counter.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit a33ec635d1f6d574d54e6f6d74766d070183be4c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds differentiation for a reset caused by missing tx
completions, by verifying if the driver didn't receive tx
completions caused by missing interrupts.
The cleanup_running field was added to ena_ring because
cleanup_task.ta_pending is zeroed before ena_cleanup() runs.

Also ena_increment_reset_counter() API was added in order to support
only incrementing the reset counter.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit a33ec635d1f6d574d54e6f6d74766d070183be4c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Add reset reason for corrupted RX cdescs</title>
<updated>2024-10-31T14:54:10+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2024-08-07T06:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e445e3afde09d931cdfef0cbf45f23aa8556537d'/>
<id>e445e3afde09d931cdfef0cbf45f23aa8556537d</id>
<content type='text'>
RX completion descriptors may sometimes contain errors due
to corruption. Upon identifying such a case, the driver will
trigger a reset with an explicit reset reason
ENA_REGS_RESET_RX_DESCRIPTOR_MALFORMED.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 4af71159db3cd4a37055b2b3d982ec53703c5c3d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RX completion descriptors may sometimes contain errors due
to corruption. Upon identifying such a case, the driver will
trigger a reset with an explicit reset reason
ENA_REGS_RESET_RX_DESCRIPTOR_MALFORMED.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 4af71159db3cd4a37055b2b3d982ec53703c5c3d)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Add reset reason for corrupted TX cdescs</title>
<updated>2024-10-31T14:54:10+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2024-08-07T06:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=189bc23fd0e4ddc0485dd52b2925728d321ab8ec'/>
<id>189bc23fd0e4ddc0485dd52b2925728d321ab8ec</id>
<content type='text'>
TX completion descriptors may sometimes contain errors due
to corruption. Upon identifying such a case, the driver will
trigger a reset with an explicit reset reason
ENA_REGS_RESET_TX_DESCRIPTOR_MALFORMED.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 38727218460008a500fbc18f08c90082ed678895)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TX completion descriptors may sometimes contain errors due
to corruption. Upon identifying such a case, the driver will
trigger a reset with an explicit reset reason
ENA_REGS_RESET_TX_DESCRIPTOR_MALFORMED.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 38727218460008a500fbc18f08c90082ed678895)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Update license signatures to 2024</title>
<updated>2024-10-31T14:54:10+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2024-08-07T06:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b1718de62f16b203fcaef236d5699a4aba90d003'/>
<id>b1718de62f16b203fcaef236d5699a4aba90d003</id>
<content type='text'>
This commit updates all the license signatures to 2024.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 8d6806cd08c093fc001db1f94cf122368b8d1549)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit updates all the license signatures to 2024.

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.

(cherry picked from commit 8d6806cd08c093fc001db1f94cf122368b8d1549)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Update the license dating to 2023</title>
<updated>2024-01-14T21:18:11+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-10-23T17:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eb29118a2fe523d5f7abd804274a47e37f4c3b1e'/>
<id>eb29118a2fe523d5f7abd804274a47e37f4c3b1e</id>
<content type='text'>
Some of the files are using outdated linceses.
Update the license to be 2023.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 246aa273244e91a30d70997a3be790a29f9eb29c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of the files are using outdated linceses.
Update the license to be 2023.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 246aa273244e91a30d70997a3be790a29f9eb29c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Remove CQ tail pointer update API</title>
<updated>2024-01-14T21:18:10+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-11T08:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9d773b0d5f56268ce7fc2fc60d8d551963de8f36'/>
<id>9d773b0d5f56268ce7fc2fc60d8d551963de8f36</id>
<content type='text'>
This commit removes the usage of this API from the freebsd driver since
the relevant functionality is not supported by the device.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 2835752e075f2fa3edcb596df8306c570ec4cae6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes the usage of this API from the freebsd driver since
the relevant functionality is not supported by the device.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 2835752e075f2fa3edcb596df8306c570ec4cae6)
</pre>
</div>
</content>
</entry>
<entry>
<title>ena: Update ena_com_update_intr_reg API usage</title>
<updated>2024-01-14T21:18:10+00:00</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-11T08:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=00916b6d298e61140c6730b9f21e0d0fb0886f04'/>
<id>00916b6d298e61140c6730b9f21e0d0fb0886f04</id>
<content type='text'>
This commit fixes the usage of this function to be compatible with the
new API introduced by ena-com update to v2.7.0

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 72e34ebdd08854dc896f267b0461e241c4040241)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes the usage of this function to be compatible with the
new API introduced by ena-com update to v2.7.0

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

(cherry picked from commit 72e34ebdd08854dc896f267b0461e241c4040241)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>Mechanically convert ena(4) to DrvAPI</title>
<updated>2023-01-13T16:09:17+00:00</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2023-01-13T16:04:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7583c633e0aa5572715d1c792cdc505c2237e820'/>
<id>7583c633e0aa5572715d1c792cdc505c2237e820</id>
<content type='text'>
Reviewed by: mw
Differential Revision: https://reviews.freebsd.org/D37837
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: mw
Differential Revision: https://reviews.freebsd.org/D37837
</pre>
</div>
</content>
</entry>
</feed>
