<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/bxe, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ifnet: Remove if_getamcount()</title>
<updated>2024-10-10T10:00:48+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-09-04T13:07:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=66ce3c8460bb9d4b98dd6230b9a685aaa6bc8d06'/>
<id>66ce3c8460bb9d4b98dd6230b9a685aaa6bc8d06</id>
<content type='text'>
All uses of this function were incorrect.  if_amcount is a reference
count which tracks the number of times the network stack internally set
IFF_ALLMULTI.  (if_pcount is the corresponding counter for IFF_PROMISC.)

Remove if_getamcount() and fix up callers to get the number of assigned
multicast addresses instead, since that's what they actually want.

Sponsored by:	Klara, Inc.
Reviewed by:	zlei, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46523

(cherry picked from commit 408c909dc64f77d2696d6fec77a2e0b00255cf96)
(cherry picked from commit b513c311d0db5c301c939b1cf44b2826e09011d3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All uses of this function were incorrect.  if_amcount is a reference
count which tracks the number of times the network stack internally set
IFF_ALLMULTI.  (if_pcount is the corresponding counter for IFF_PROMISC.)

Remove if_getamcount() and fix up callers to get the number of assigned
multicast addresses instead, since that's what they actually want.

Sponsored by:	Klara, Inc.
Reviewed by:	zlei, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46523

(cherry picked from commit 408c909dc64f77d2696d6fec77a2e0b00255cf96)
(cherry picked from commit b513c311d0db5c301c939b1cf44b2826e09011d3)
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Remove unneeded NULL check for the allocated ifnet</title>
<updated>2024-10-08T10:07:18+00:00</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-06-28T10:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f500e5c6c99bd4520daa4524113462e3cf68f032'/>
<id>f500e5c6c99bd4520daa4524113462e3cf68f032</id>
<content type='text'>
Change 4787572d0580 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().

No functional change intended.

Reviewed by:	kp, imp, glebius, stevek
MFC after:	2 weeks
Differential Revision:  https://reviews.freebsd.org/D45740

MFC note: This is only a partial MFC, as some drivers do not exist in
stable/13 branch. The if_epair(4) drifts too much from stable/14 so not
included in this MFC.

(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
(cherry picked from commit 6b1f530935c5f84ec65dad87b7c20c6b7a72a6d3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change 4787572d0580 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().

No functional change intended.

Reviewed by:	kp, imp, glebius, stevek
MFC after:	2 weeks
Differential Revision:  https://reviews.freebsd.org/D45740

MFC note: This is only a partial MFC, as some drivers do not exist in
stable/13 branch. The if_epair(4) drifts too much from stable/14 so not
included in this MFC.

(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
(cherry picked from commit 6b1f530935c5f84ec65dad87b7c20c6b7a72a6d3)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Fix two typos in a kernel messages</title>
<updated>2024-03-03T17:50:04+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-02-27T16:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5c765273cea5154002842adf1889a3ba09bd31aa'/>
<id>5c765273cea5154002842adf1889a3ba09bd31aa</id>
<content type='text'>
- s/successfull/successful/

(cherry picked from commit e2f36496136975d4b591b230a71986f1508629c1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/successfull/successful/

(cherry picked from commit e2f36496136975d4b591b230a71986f1508629c1)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:25+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3bc80996974a61a4223eae4c1ccd47b6ee32a48a'/>
<id>3bc80996974a61a4223eae4c1ccd47b6ee32a48a</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Use CTLFLAG_RDTUN flag definition</title>
<updated>2023-04-17T06:17:49+00:00</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2023-04-12T04:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f500ecbeae7ee62d1994155ff819cf8b59c5509e'/>
<id>f500ecbeae7ee62d1994155ff819cf8b59c5509e</id>
<content type='text'>
sysctl variables rx_budget and max_aggregation_size are read-only loader
tunable. Mark them with CTLFLAG_RD flag.

No functional change intended.

Reviewed by:	hselasky, erj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D39466

(cherry picked from commit 8bd9afe9e1821368f4bb0d39c8c6703bf5007fd1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sysctl variables rx_budget and max_aggregation_size are read-only loader
tunable. Mark them with CTLFLAG_RD flag.

No functional change intended.

Reviewed by:	hselasky, erj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D39466

(cherry picked from commit 8bd9afe9e1821368f4bb0d39c8c6703bf5007fd1)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Fix a typo in a source code comment</title>
<updated>2022-11-04T05:05:32+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-11-01T06:55:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d7561c042334c785f179f44e47f8f3bd4cea5822'/>
<id>d7561c042334c785f179f44e47f8f3bd4cea5822</id>
<content type='text'>
- s/interrutps/interrupts/

(cherry picked from commit e902e62644eebea1ae9b0679ab71a669f3596004)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/interrutps/interrupts/

(cherry picked from commit e902e62644eebea1ae9b0679ab71a669f3596004)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Grammar fix for a source code comment</title>
<updated>2022-09-07T07:30:17+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-09-04T15:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96ab24fc6ac7ba3d8b8f03f3bff959fb94508874'/>
<id>96ab24fc6ac7ba3d8b8f03f3bff959fb94508874</id>
<content type='text'>
- s/that that/that the/

(cherry picked from commit 6e9e7b0583593a8e45a3e97458c7a74fee4d43bf)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/that that/that the/

(cherry picked from commit 6e9e7b0583593a8e45a3e97458c7a74fee4d43bf)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Fix two typos in source code comments</title>
<updated>2022-09-06T05:38:57+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-09-03T13:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f3547e8452f4fbcbd4e0bb2ffb9f7c0c5a621398'/>
<id>f3547e8452f4fbcbd4e0bb2ffb9f7c0c5a621398</id>
<content type='text'>
- s/overriden/overridden/

(cherry picked from commit f93ef3ff068c96062fadd503979473fe1b1db139)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/overriden/overridden/

(cherry picked from commit f93ef3ff068c96062fadd503979473fe1b1db139)
</pre>
</div>
</content>
</entry>
<entry>
<title>ddb: use _FLAGS command macros where appropriate</title>
<updated>2022-08-11T14:25:53+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2022-07-05T14:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2571d6f331a46e2a5065874dc6bbcca4aa6613d8'/>
<id>2571d6f331a46e2a5065874dc6bbcca4aa6613d8</id>
<content type='text'>
Some command definitions were forced to use DB_FUNC in order to specify
their required flags, CS_OWN or CS_MORE. Use the new macros to simplify
these.

Reviewed by:	markj, jhb
MFC after:	3 days
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D35582

(cherry picked from commit 258958b3c7e017266080ae7fc9e3d8e64b6450d4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some command definitions were forced to use DB_FUNC in order to specify
their required flags, CS_OWN or CS_MORE. Use the new macros to simplify
these.

Reviewed by:	markj, jhb
MFC after:	3 days
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D35582

(cherry picked from commit 258958b3c7e017266080ae7fc9e3d8e64b6450d4)
</pre>
</div>
</content>
</entry>
<entry>
<title>bxe(4): Fix a typo in an error message</title>
<updated>2022-04-09T06:07:05+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-04-02T06:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=377c2f3a457de9fb2c9d0f99645bcfd62d2a5efa'/>
<id>377c2f3a457de9fb2c9d0f99645bcfd62d2a5efa</id>
<content type='text'>
- s/intergers/integers/

(cherry picked from commit e443f2102eb596f9e0bd9a8bc084755229bd7e5f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/intergers/integers/

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