<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/ixgbe, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-08-21T19:34:41Z</updated>
<entry>
<title>ixgbe: fix impossible condition</title>
<updated>2020-08-21T19:34:41Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2020-08-21T19:34:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ab1c54fec66803235a8923333fa79f2cbfa33354'/>
<id>urn:sha1:ab1c54fec66803235a8923333fa79f2cbfa33354</id>
<content type='text'>
Coverity flagged this condition: The condition
    offset == 0 &amp;&amp; offset == 65535
can never be true because offset cannot be equal
to two different values at the same time.

Submitted by:	bret_ketchum@dell.com
Reported by:	Coverity
Reviewed by:	tsoome, cem
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D26144
</content>
</entry>
<entry>
<title>em/ix/ixv/ixl/iavf: Implement ifdi_needs_restart iflib method</title>
<updated>2020-05-11T17:42:04Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2020-05-11T17:42:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cf1509179cd14a34ef5fa7492f62b1082cfae2b2'/>
<id>urn:sha1:cf1509179cd14a34ef5fa7492f62b1082cfae2b2</id>
<content type='text'>
Pursuant to r360398, implement driver-specific versions of the
ifdi_needs_restart iflib device method.

Some (if not most?) Intel network cards don't need reinitializing when a
VLAN is added or removed from the device hardware, so these implement
ifdi_needs_restart in a way that tell iflib not to bring the interface
up or down when a VLAN is added or removed, regardless of whether the
VLAN_HWFILTER interface capability flag is set or not.

This could potentially solve several PRs relating to link flaps that
occur when VLANs are added/removed to devices.

Signed-off-by: Eric Joyner &lt;erj@freebsd.org&gt;

PR:		240818, 241785
Reviewed by:	gallatin@, olivier@
MFC after:	3 days
MFC with:	r360398
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D24659
</content>
</entry>
<entry>
<title>Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many)</title>
<updated>2020-02-24T10:51:26Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2020-02-24T10:51:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=20b91f0aa52c8415e0bc1a06b8b4b5e2cac47bd2'/>
<id>urn:sha1:20b91f0aa52c8415e0bc1a06b8b4b5e2cac47bd2</id>
<content type='text'>
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked).
Use it in preparation for a general review of all nodes.

This is non-functional change that adds annotations to SYSCTL_NODE and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.
</content>
</entry>
<entry>
<title>ixgbe(4): Eliminate bogus sizeof() expressions</title>
<updated>2020-01-29T05:31:40Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-01-29T05:31:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d09fbcd0b6eae765a190eaa4dc931050af7bd25f'/>
<id>urn:sha1:d09fbcd0b6eae765a190eaa4dc931050af7bd25f</id>
<content type='text'>
All of these uses of sizeof() were on the wrong type in relation to the pointer
passed to SYSCTL_ADD_PROC as arg1.  Fortunately, none of the handlers actually
use arg2.  So just don't pass a (non-zero) arg2.

Reported by:	Coverity
CID:		1007701
</content>
</entry>
<entry>
<title>if_ixv: disable RSS configuration on 82599 and X540 VFs</title>
<updated>2019-11-05T06:34:20Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2019-11-05T06:34:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=236204ee0fb7c158c815099b9003919622aad85f'/>
<id>urn:sha1:236204ee0fb7c158c815099b9003919622aad85f</id>
<content type='text'>
It is reported that those VFs share their RSS configuration with PF and,
thus, they cannot be configured independently.

Also:
- add missing opt_rss.h to if_ixv.c, otherwise RSS kernel option could
  not be seen
- do not enable IXGBE_FEATURE_RSS on the older VFs
- set flowid / hash type to M_HASHTYPE_NONE or M_HASHTYPE_OPAQUE_HASH
  (based on what the hardware reports) if IXGBE_FEATURE_RSS is not set

Reviewed by:	nobody
MFC after:	4 weeks
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D21705
</content>
</entry>
<entry>
<title>ix: report isc_pause_frames during stat update</title>
<updated>2019-10-16T17:16:32Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-10-16T17:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e37d3dc11c2087cc3ce3e87176638eecf5e99243'/>
<id>urn:sha1:e37d3dc11c2087cc3ce3e87176638eecf5e99243</id>
<content type='text'>
From Jake:
Notify the iflib stack of whether we received any pause frames during
the timer window. This allows the stack to avoid reporting a Tx hang due
to the device being paused.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;

Submitted by:	Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Reviewed by:	gallatin@
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D21869
</content>
</entry>
<entry>
<title>ixgbe: Disable EEE for backplane X550EM_X</title>
<updated>2019-10-15T21:56:19Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-10-15T21:56:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d61b6a41dd30a9b175c1c41cd3acf5028db021a1'/>
<id>urn:sha1:d61b6a41dd30a9b175c1c41cd3acf5028db021a1</id>
<content type='text'>
From Zach:
Intel documentation indicates that backplane X550EM_X KR devices do not
support Energy Efficient Ethernet. Prior to this patch, X552 devices
(device ID 0x15AB) will crash the system when transitioning EEE state
via sysctl.

Signed-off-by: Zach Vargas &lt;zvargas@xes-inc.com&gt;

PR:		240320
Submitted by:	Zach Vargas &lt;zvargas@xes-inc.com&gt;
Reviewed by:	erj@
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D21673
</content>
</entry>
<entry>
<title>Convert if_foreach_llmaddr() KPI.</title>
<updated>2019-10-14T20:21:02Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2019-10-14T20:21:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ba76aa63573f4aeb8fbea6dc85548660cc6d083b'/>
<id>urn:sha1:ba76aa63573f4aeb8fbea6dc85548660cc6d083b</id>
<content type='text'>
Reviewed by:	erj
</content>
</entry>
<entry>
<title>ix, ixv: Read msix_bar from device configuration</title>
<updated>2019-09-24T17:06:32Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-09-24T17:06:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=749597dc1d21dce46fb94bfbe34cdb20ec1d9ab3'/>
<id>urn:sha1:749597dc1d21dce46fb94bfbe34cdb20ec1d9ab3</id>
<content type='text'>
Instead of predicting the MSI-X bar index based on the device's MAC
type, read it from the device's PCI configuration instead.

PR:		239704
Submitted by:	Piotr Pietruszewski &lt;piotr.pietruszewski@intel.com&gt;
Reviewed by:	erj@
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D21547
</content>
</entry>
<entry>
<title>ixgbe(4): Fix enabling/disabling and reconfiguration of queues</title>
<updated>2019-07-23T18:14:32Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-07-23T18:14:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2dc2d580354e95491a033fa9e21c8ef0cbd9bc42'/>
<id>urn:sha1:2dc2d580354e95491a033fa9e21c8ef0cbd9bc42</id>
<content type='text'>
- Wrong order of casting and bit shift caused that enabling and disabling
  queues didn't work properly for queues number larger than 32. Use literals
  with right suffix instead.

- TX ring tail address was not updated during reinitiailzation of TX
  structures. It could block sending traffic.

- Also remove unused variables 'eims' and 'active_queues'.

Submitted by:	Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;
Reviewed by:	erj@
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D20826
</content>
</entry>
</feed>
