<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mlx4, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-06-07T06:46:18Z</updated>
<entry>
<title>mlx4core: Fix a memory leak when deleting slave's resources</title>
<updated>2022-06-07T06:46:18Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-05-30T18:11:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8215345313aa9ac7aca6cbe0851fa452088a784'/>
<id>urn:sha1:e8215345313aa9ac7aca6cbe0851fa452088a784</id>
<content type='text'>
mlx4_delete_all_resources_for_slave() in the resource tracker should free
all memory allocated for a slave. While releasing memory of fs_rule,
it misses releasing memory of fs_rule-&gt;mirr_mbox.

Linux commit:
461d5f1b59490ce0096dfda45e10038c122a7892

PR:		264249
Sponsored by:	NVIDIA Networking

(cherry picked from commit f29c9901a41fb650d46fd48f4880a894f54aa737)
</content>
</entry>
<entry>
<title>mlx4: Fix a memory leak bug.</title>
<updated>2022-06-07T06:46:14Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-05-19T08:10:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=936bd793479e274155fa2c42e770d0e4e35943cc'/>
<id>urn:sha1:936bd793479e274155fa2c42e770d0e4e35943cc</id>
<content type='text'>
In function mlx4_opreq_action(), pointer "mailbox" is not released,
when mlx4_cmd_box() return and error, causing a memory leak bug.
Fix this issue by going to "out" label, mlx4_free_cmd_mailbox() can
free this pointer.

Linux commit:
febfd9d3c7f74063e8e630b15413ca91b567f963

PR:		264056
Sponsored by:	NVIDIA Networking

(cherry picked from commit 527762b2f776381569bd662ce236d2845234c0a7)
</content>
</entry>
<entry>
<title>mlx4en(4): Fix two in source code comments</title>
<updated>2022-04-09T06:24:51Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-04-02T11:33:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c04c711a83a634309640ec73ef2319714d247ee8'/>
<id>urn:sha1:c04c711a83a634309640ec73ef2319714d247ee8</id>
<content type='text'>
- s/differnt/different/
- s/differntly/differently/

(cherry picked from commit 6039e38f93819050ef7627f16554c97830b98a32)
</content>
</entry>
<entry>
<title>Fix two typos in source code comments</title>
<updated>2021-10-19T05:28:08Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-10-16T06:09:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a69f6e99655e0ce995baf0574ebf7005be0241d'/>
<id>urn:sha1:2a69f6e99655e0ce995baf0574ebf7005be0241d</id>
<content type='text'>
- s/alocated/allocated/
- s/realocated/reallocated/

(cherry picked from commit 899a3b38f5172d70360396caeebb5b694638282e)
</content>
</entry>
<entry>
<title>mlx4en(4): Fix wrong mbuf cluster size in mlx4_en_debugnet_init()</title>
<updated>2021-10-12T12:17:02Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-10-05T08:46:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d804809630fd145683de92ba502a9ed34b94115'/>
<id>urn:sha1:8d804809630fd145683de92ba502a9ed34b94115</id>
<content type='text'>
This fixes an "invalid cluster size" panic when debugnet is activated.

panic()
m_getzone()
debugnet_mbuf_reinit()
debugnet_any_ifnet_update()
ifhwioctl()
ifioctl()

Submitted by:	ae@
PR:		258923
Sponsored by:	NVIDIA Networking

(cherry picked from commit 5a7de2b42caf6241e87b417a0521e9ab303989d7)
</content>
</entry>
<entry>
<title>MFC 9a47ae044b48:</title>
<updated>2021-01-22T12:27:46Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-01-08T10:45:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1e64a0921c792ab6a4461c88a572c022f2a5af1'/>
<id>urn:sha1:e1e64a0921c792ab6a4461c88a572c022f2a5af1</id>
<content type='text'>
Bump driver versions for mlx5en(4) and mlx4en(4).

Sponsored by: Mellanox Technologies // NVIDIA Networking
</content>
</entry>
<entry>
<title>MFC r367555:</title>
<updated>2020-12-01T12:41:25Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-01T12:41:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4e732d71e1635d7a707de9d4a2cafcc900dca46'/>
<id>urn:sha1:e4e732d71e1635d7a707de9d4a2cafcc900dca46</id>
<content type='text'>
Include GID type when deleting GIDs from HW table under RoCE in mlx4ib.
Refer to the Linux commit mentioned below for a more detailed description.

Linux commit:
a18177925c252da7801149abe217c05b80884798

Requested by:	Isilon
Sponsored by:	Mellanox Technologies // NVIDIA Networking
</content>
</entry>
<entry>
<title>MFC r362953:</title>
<updated>2020-07-13T15:33:06Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-07-13T15:33:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=edff2474e8b747eca2e276bc20b637ea72cafa9b'/>
<id>urn:sha1:edff2474e8b747eca2e276bc20b637ea72cafa9b</id>
<content type='text'>
Infiniband clients must be attached and detached in a specific order in ibcore.

Currently the linking order of the infiniband, IB, modules decide in which
order the clients are attached and detached. For example one IB client may
use resources from another IB client. This can lead to a potential deadlock
at shutdown. For example if the ipoib is unregistered after the ib_multicast
client is detached, then if ipoib is using multicast addresses a deadlock may
happen, because ib_multicast will wait for all its resources to be freed before
returning from the remove method.

Fix this by using module_xxx_order() instead of module_xxx().

Differential Revision:	https://reviews.freebsd.org/D23973
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r362271:</title>
<updated>2020-06-24T05:10:41Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-24T05:10:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5de83306bfa84f66e0d7365fc8a55ac548317944'/>
<id>urn:sha1:5de83306bfa84f66e0d7365fc8a55ac548317944</id>
<content type='text'>
Allow multicast packets to be received in promiscious mode, in mlx4en(4).

Make sure we disable the multicast filter in promiscious mode aswell as when
the all multicast flag is set.

Found by:	Tycho Nightingale &lt;tychon@freebsd.org&gt;
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r362201:</title>
<updated>2020-06-22T21:28:51Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-06-22T21:28:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49ea81284416447c8c59ea372120c8ce8ce4880d'/>
<id>urn:sha1:49ea81284416447c8c59ea372120c8ce8ce4880d</id>
<content type='text'>
Avoid trying to toggle TSO twice

Remove TSO from the toggle mask when automatically disabled by TXCKSUM* in
various NIC drivers.

Reviewed by:    hselasky, np, gallatin, jpaetzel
Approved by:    mav (mentor)
Sponsored by:   iXsystems, Inc.
Differential Revision:  https://reviews.freebsd.org/D25120
</content>
</entry>
</feed>
