<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ena, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-01-14T07:43:23Z</updated>
<entry>
<title>ena: Update driver version to v2.7.0</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-10-30T11:12:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c8a0dbcaff3f17a94589a957aafdfa3ab5c9d235'/>
<id>urn:sha1:c8a0dbcaff3f17a94589a957aafdfa3ab5c9d235</id>
<content type='text'>
Features:
* Introduce customer and SRD metrics through sysctl
* Introduce spreading IRQs to CPUs capability using sysctl
* Upgrade ena-com to v2.7.0

Bug Fixes:
* Remove outdated APIs

Minor Changes:
* Introduce a shared stats sample interval for all stats

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

(cherry picked from commit 4e2688cc762d94b190029f0c5efab9c4bb5521be)
</content>
</entry>
<entry>
<title>ena: Update the license dating to 2023</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-10-23T17:16:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba2007c083ef3e3fdede46072af30b164abbe4b6'/>
<id>urn:sha1:ba2007c083ef3e3fdede46072af30b164abbe4b6</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>
</entry>
<entry>
<title>ena: Support srd metrics with sysctl</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-12T11:17:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be62927774761ff99dda241e6b3e3e0d8b91fb05'/>
<id>urn:sha1:be62927774761ff99dda241e6b3e3e0d8b91fb05</id>
<content type='text'>
This commit introduces SRD metrics through sysctl.
The metrics can be queried using the following sysctl node:
sysctl dev.ena.&lt;device index&gt;.ena_srd_info

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

(cherry picked from commit 36d42c862f4a5643f6e2395e8d7b7e5c4580499a)
</content>
</entry>
<entry>
<title>ena: Support customer metric with sysctl</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-12T10:17:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=86f779a18c0d6efb722b4763c1fa158626382ba3'/>
<id>urn:sha1:86f779a18c0d6efb722b4763c1fa158626382ba3</id>
<content type='text'>
This commit adds sysctl support for customer metrics.
Different customer metrics can be found in the following sysctl node:
sysctl dev.ena.&lt;device index&gt;.customer_metrics

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

(cherry picked from commit f97993ad7b9c9e4787bd198d11f348c271af513e)
</content>
</entry>
<entry>
<title>ena: Introduce shared sample interval for all stats</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-12T10:13:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cdf3fb73ae13214b6575f4761478c5be534cbed9'/>
<id>urn:sha1:cdf3fb73ae13214b6575f4761478c5be534cbed9</id>
<content type='text'>
Rename sample_interval node to stats_sample_interval and move
it up in the sysctl tree to make it clear that it's relevant for
all the stats and not only ENI metrics (Currently, sample interval node
is found under eni_metrics node).

Path to node:
dev.ena.&lt;device_index&gt;.stats_sample_interval

Once this parameter is set it will set the sample interval for all the
stats node including SRD/customer metrics.

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

(cherry picked from commit 5b925280d9a54eaefd85827bf6e84049aea8fa98)
</content>
</entry>
<entry>
<title>ena: Remove CQ tail pointer update API</title>
<updated>2024-01-14T07:43:23Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-11T08:43:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=026a78a2adb461e0f340a5d6f8d7284a0df9da29'/>
<id>urn:sha1:026a78a2adb461e0f340a5d6f8d7284a0df9da29</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>
</entry>
<entry>
<title>ena: Update ena_com_update_intr_reg API usage</title>
<updated>2024-01-14T07:43:22Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-09-11T08:38:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f7f8526c38db6febb68f66bf9edbf819bc9c8e4'/>
<id>urn:sha1:2f7f8526c38db6febb68f66bf9edbf819bc9c8e4</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>
</entry>
<entry>
<title>ena: Change measurement unit of time since last tx cleanup to ms</title>
<updated>2024-01-14T07:43:22Z</updated>
<author>
<name>Arthur Kiyanovski</name>
<email>akiyano@amazon.com</email>
</author>
<published>2023-06-14T10:12:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e9bfa8040b59409f6f4d3c963e2221d23487746'/>
<id>urn:sha1:6e9bfa8040b59409f6f4d3c963e2221d23487746</id>
<content type='text'>
This commit:
1. Sets the time since last cleanup to milliseconds.
2. Fixes incorrect indentations.

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

(cherry picked from commit 9272e45c04c0d4fcb5d767e962783f3ab192f64e)
</content>
</entry>
<entry>
<title>ena: Add sysctl support for spreading IRQs</title>
<updated>2024-01-14T07:43:22Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-10-30T11:27:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=99c3944243a055f52611b2a65dcb87d08295da3b'/>
<id>urn:sha1:99c3944243a055f52611b2a65dcb87d08295da3b</id>
<content type='text'>
This commit allows spreading IO IRQs over different CPUs through sysctl.
Two sysctl nodes are introduced:
1- base_cpu: servers as the first CPU to which the first IO IRQ
will be bound.
2- cpu_stride: sets the distance between every two CPUs to which every
two consecutive IO IRQs are bound.

For example for doing the following IO IRQs / CPU binding:

IRQ idx |  CPU
----------------
   1    |   0
   2    |   2
   3    |   4
   4    |   6

Run the following commands:
sysctl dev.ena.&lt;device index&gt;.irq_affinity.base_cpu=0
sysctl dev.ena.&lt;device_index&gt;.irq_affinity.cpu_stride=2

Also introduced rss_enabled field, which is intended to replace
'#ifdef RSS' in multiple places, in order to prevent code duplication.

We want to bind interrupts to CPUs in case of rss set OR in case
the newly defined sysctl paremeter is set. This requires to remove a
couple of '#ifdef RSS' as well in the structs, since we'll be using the
relevant parameters in the CPU binding code.

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

(cherry picked from commit f9e1d9471077109c19fd7d6dc9c1d35432efdede)
</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='https://cgit-dev.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>
</feed>
