<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mlx5/driver.h, branch releng/12.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r367719:</title>
<updated>2020-12-01T13:09:04+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-01T13:09:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a398dd340b3fbdd8125439c82aeb58e0a2f2030a'/>
<id>a398dd340b3fbdd8125439c82aeb58e0a2f2030a</id>
<content type='text'>
Make mlx5_cmd_exec_cb() a safe API in mlx5core.

APIs that have deferred callbacks should have some kind of cleanup
function that callers can use to fence the callbacks. Otherwise things
like module unloading can lead to dangling function pointers, or worse.

The IB MR code is the only place that calls this function and had a
really poor attempt at creating this fence. Provide a good version in
the core code as future patches will add more places that need this
fence.

Linux commit:
e355477ed9e4f401e3931043df97325d38552d54

Sponsored by:	Mellanox Technologies // NVIDIA Networking
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make mlx5_cmd_exec_cb() a safe API in mlx5core.

APIs that have deferred callbacks should have some kind of cleanup
function that callers can use to fence the callbacks. Otherwise things
like module unloading can lead to dangling function pointers, or worse.

The IB MR code is the only place that calls this function and had a
really poor attempt at creating this fence. Provide a good version in
the core code as future patches will add more places that need this
fence.

Linux commit:
e355477ed9e4f401e3931043df97325d38552d54

Sponsored by:	Mellanox Technologies // NVIDIA Networking
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r367718:</title>
<updated>2020-12-01T13:06:26+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-01T13:06:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a3942b0737b66c207ecaa2901769226474e77058'/>
<id>a3942b0737b66c207ecaa2901769226474e77058</id>
<content type='text'>
Report EQE data upon CQ completion in mlx5core.

Report EQE data upon CQ completion to let upper layers use this data.

Linux commit:
4e0e2ea1886afe8c001971ff767f6670312a9b04

Sponsored by:	Mellanox Technologies // NVIDIA Networking
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Report EQE data upon CQ completion in mlx5core.

Report EQE data upon CQ completion to let upper layers use this data.

Linux commit:
4e0e2ea1886afe8c001971ff767f6670312a9b04

Sponsored by:	Mellanox Technologies // NVIDIA Networking
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r357294:</title>
<updated>2020-12-01T13:03:09+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-01T13:03:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b09cd738df375e948b3e9a67b2ecb3c40902e9e'/>
<id>3b09cd738df375e948b3e9a67b2ecb3c40902e9e</id>
<content type='text'>
Widen EPOCH(9) usage in mlx5en(4).

Make completion event path mostly lockless using EPOCH(9).

Implement a mechanism using EPOCH(9) which allows us to make
the callback path for completion events mostly lockless.

Simplify draining callback events using epoch_wait().

While at it make sure all receive completion callbacks are
covered by the network EPOCH(9), because this is required
when calling if_input() and ether_input() after r357012.

Sponsored by:	Mellanox Technologies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Widen EPOCH(9) usage in mlx5en(4).

Make completion event path mostly lockless using EPOCH(9).

Implement a mechanism using EPOCH(9) which allows us to make
the callback path for completion events mostly lockless.

Simplify draining callback events using epoch_wait().

While at it make sure all receive completion callbacks are
covered by the network EPOCH(9), because this is required
when calling if_input() and ether_input() after r357012.

Sponsored by:	Mellanox Technologies
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r364999:</title>
<updated>2020-09-07T10:34:22+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-07T10:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3bef73c9ef8f2de87514aaea8df2c9d431a6396d'/>
<id>3bef73c9ef8f2de87514aaea8df2c9d431a6396d</id>
<content type='text'>
mlx5_core: Import PDDR register definitions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mlx5_core: Import PDDR register definitions
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r359100:</title>
<updated>2020-04-01T19:38:46+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-04-01T19:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ea73dda11ed1b62cffdfea57bca2fb39d4c7041e'/>
<id>ea73dda11ed1b62cffdfea57bca2fb39d4c7041e</id>
<content type='text'>
mlx5: Restore eswitch management code from attic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mlx5: Restore eswitch management code from attic.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r357801:</title>
<updated>2020-02-17T09:53:23+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-02-17T09:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8f9c43ab8b386f42ca2306540ef493947102adeb'/>
<id>8f9c43ab8b386f42ca2306540ef493947102adeb</id>
<content type='text'>
Add support for disabling and polling MSIX interrupts in mlx5core.

Sponsored by:	Mellanox Technologies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for disabling and polling MSIX interrupts in mlx5core.

Sponsored by:	Mellanox Technologies
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r355422:</title>
<updated>2019-12-12T13:47:02+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-12-12T13:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=47f3b3942e7a4598be5bff30aa4eb94b31a9faa0'/>
<id>47f3b3942e7a4598be5bff30aa4eb94b31a9faa0</id>
<content type='text'>
mlx5: Do not poke hardware for statistic after teardown is started.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mlx5: Do not poke hardware for statistic after teardown is started.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r352985:</title>
<updated>2019-10-07T09:51:03+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-07T09:51:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6e9b2c0e32c3afaf724ab994b027189396ab24a2'/>
<id>6e9b2c0e32c3afaf724ab994b027189396ab24a2</id>
<content type='text'>
Add sysctl(8) to get and set forward error correction, FEC, configuration
in mlx5en(4).

Sponsored by:	Mellanox Technologies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add sysctl(8) to get and set forward error correction, FEC, configuration
in mlx5en(4).

Sponsored by:	Mellanox Technologies
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r352978:</title>
<updated>2019-10-07T09:32:02+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-07T09:32:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8814656f11286245e74a59480bf15dba48cb7a5d'/>
<id>8814656f11286245e74a59480bf15dba48cb7a5d</id>
<content type='text'>
Add definition for the Port Buffer Status Register in mlx5core.

Submitted by:	kib@
Sponsored by:	Mellanox Technologies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add definition for the Port Buffer Status Register in mlx5core.

Submitted by:	kib@
Sponsored by:	Mellanox Technologies
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r352977:</title>
<updated>2019-10-07T09:30:06+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-07T09:30:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b5eea91cb66a3079bbe65e5196563b9ea81922d1'/>
<id>b5eea91cb66a3079bbe65e5196563b9ea81922d1</id>
<content type='text'>
Sort the ports registers definitions numerically in mlx5core.

Submitted by:	kib@
Sponsored by:	Mellanox Technologies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sort the ports registers definitions numerically in mlx5core.

Submitted by:	kib@
Sponsored by:	Mellanox Technologies
</pre>
</div>
</content>
</entry>
</feed>
