<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/enic, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>enic: fix potential panic due to not understanding what iflib had allocated</title>
<updated>2025-03-03T20:49:01+00:00</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2025-03-03T20:46:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1c9c4a25e600bcfad3eec891d43221b55ddf7e19'/>
<id>1c9c4a25e600bcfad3eec891d43221b55ddf7e19</id>
<content type='text'>
For safety I was trying to clear out the descriptor but the full descriptor
was not allocated.  Remove any code trying to do that so the same mistake
won't be made.  This was found when looking to MFC the prior change
and having the loader, load the module.

Remove cq-&gt;ntxqsets since the completion queue is part of the RX and TX sets
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For safety I was trying to clear out the descriptor but the full descriptor
was not allocated.  Remove any code trying to do that so the same mistake
won't be made.  This was found when looking to MFC the prior change
and having the loader, load the module.

Remove cq-&gt;ntxqsets since the completion queue is part of the RX and TX sets
</pre>
</div>
</content>
</entry>
<entry>
<title>enic(4): fix down/up, MTU changes and more</title>
<updated>2025-01-09T16:52:54+00:00</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2025-01-09T16:28:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0acab8b3d1336d4db73a9946ef76b4bcd0b0aabe'/>
<id>0acab8b3d1336d4db73a9946ef76b4bcd0b0aabe</id>
<content type='text'>
ifconfig down/up cycles was not working.  Fix that which is required
to support MTU changes.  Now doing ifconfig enic0 mtu 3000 for example
works.  If the MTU is changes in the VIC HW configuration, that is not
reflected in and the OS reports the default 1500.  I need to look at
that but changing it via ifconfig works.  So this is different then
what Linux does.

Change TX interrupt allocation to be in this driver.  Change the admin
interrupt count to 2.  This make multiple queues work but need to be
done as pairs so if the VIC has more TX or RX queues setup in the
VIC configuration it will use the lesser value.

While updating the TX interrupt also add support for devcmd2.

Enable checksum offloading.

PR:	282095
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ifconfig down/up cycles was not working.  Fix that which is required
to support MTU changes.  Now doing ifconfig enic0 mtu 3000 for example
works.  If the MTU is changes in the VIC HW configuration, that is not
reflected in and the OS reports the default 1500.  I need to look at
that but changing it via ifconfig works.  So this is different then
what Linux does.

Change TX interrupt allocation to be in this driver.  Change the admin
interrupt count to 2.  This make multiple queues work but need to be
done as pairs so if the VIC has more TX or RX queues setup in the
VIC configuration it will use the lesser value.

While updating the TX interrupt also add support for devcmd2.

Enable checksum offloading.

PR:	282095
</pre>
</div>
</content>
</entry>
<entry>
<title>enic: Remove a stray semicolon</title>
<updated>2024-10-24T15:04:49+00:00</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-10-24T15:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=75ff90814aec7a68e719d326f8dd0a7e1d0fc66d'/>
<id>75ff90814aec7a68e719d326f8dd0a7e1d0fc66d</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>sys/dev/enic/if_enic.c: remove an extra semicolon</title>
<updated>2024-02-03T01:35:01+00:00</updated>
<author>
<name>rilysh</name>
<email>nightquick@proton.me</email>
</author>
<published>2024-02-03T00:38:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f830db48c131064bfb534efff92e37653d6f05c4'/>
<id>f830db48c131064bfb534efff92e37653d6f05c4</id>
<content type='text'>
Signed-off-by: rilysh &lt;nightquick@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/959
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: rilysh &lt;nightquick@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/959
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a few more stray __FBSDID uses</title>
<updated>2023-09-25T14:49:52+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-09-25T14:49:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16837d353cdde87672d08112610e51e4121c4e50'/>
<id>16837d353cdde87672d08112610e51e4121c4e50</id>
<content type='text'>
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41954
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41954
</pre>
</div>
</content>
</entry>
<entry>
<title>enic: Don't restart on VLAN changes</title>
<updated>2023-08-24T20:46:56+00:00</updated>
<author>
<name>Kevin Bowling</name>
<email>kbowling@FreeBSD.org</email>
</author>
<published>2023-08-24T20:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fe6c4e214d76b0e856e5a050abb5420de4f5020b'/>
<id>fe6c4e214d76b0e856e5a050abb5420de4f5020b</id>
<content type='text'>
In rS360398, a new iflib device method was added with default of opt out
for VLAN events needing an interface reset.

This re-init is unintentional for vmxnet3(4).

MFC after:	2 weeks
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D41558
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In rS360398, a new iflib device method was added with default of opt out
for VLAN events needing an interface reset.

This re-init is unintentional for vmxnet3(4).

MFC after:	2 weeks
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D41558
</pre>
</div>
</content>
</entry>
<entry>
<title>iflib drivers: Constify PCI ID LUTs</title>
<updated>2023-08-17T18:34:23+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2023-08-16T16:49:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=51e235148a4becba94e824a44bd69687644a7f56'/>
<id>51e235148a4becba94e824a44bd69687644a7f56</id>
<content type='text'>
Since d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is ready
for this change.
While at it, make isc_driver_version strings (static) const where
not apparently un-const on purpose, too.
This reduces the size of the amd64 GENERIC by about 10 KiB.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is ready
for this change.
While at it, make isc_driver_version strings (static) const where
not apparently un-const on purpose, too.
This reduces the size of the amd64 GENERIC by about 10 KiB.
</pre>
</div>
</content>
</entry>
<entry>
<title>enic(4): Remove unused dupe prototype</title>
<updated>2023-07-19T16:58:51+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2023-07-16T07:43:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=13d1f5cb62d796397312e87ce93b6aff36f9b75d'/>
<id>13d1f5cb62d796397312e87ce93b6aff36f9b75d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>enic: convert to IfAPI</title>
<updated>2023-02-06T21:19:48+00:00</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2023-02-06T21:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bbd354cb2382917a2cfbbc3e918ccfe342b645b4'/>
<id>bbd354cb2382917a2cfbbc3e918ccfe342b645b4</id>
<content type='text'>
Prompted by:	jhibbits
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prompted by:	jhibbits
</pre>
</div>
</content>
</entry>
<entry>
<title>enic: Cisco VIC driver</title>
<updated>2023-02-06T16:46:02+00:00</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2023-01-27T23:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9c067b844f85a224f0416e6eb46ba3ef82aec5c4'/>
<id>9c067b844f85a224f0416e6eb46ba3ef82aec5c4</id>
<content type='text'>
This driver is based of the enic (Cisco VIC) DPDK driver.  It provides
basic ethernet functionality.  Has been run with various VIC cards to
do UEFI PXE boot with NFS root.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This driver is based of the enic (Cisco VIC) DPDK driver.  It provides
basic ethernet functionality.  Has been run with various VIC cards to
do UEFI PXE boot with NFS root.
</pre>
</div>
</content>
</entry>
</feed>
