<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ixgbe, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-05-14T19:56:54Z</updated>
<entry>
<title>MFC r360398 and r360902</title>
<updated>2020-05-14T19:56:54Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2020-05-14T19:56:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=098959689147cbadf167971a6e6ebc822267024a'/>
<id>urn:sha1:098959689147cbadf167971a6e6ebc822267024a</id>
<content type='text'>
These commits introduce a new iflib device-dependent method and
implements that method in the Intel ethernet network drivers;
this method tells iflib if the network interface needs to be
restarted when certain events happen.

This fixes several issues that occur when VLANs are registered
or unregistered with the network interface.

PR:		240818, 241785
Sponsored by:	Intel Corporation
</content>
</entry>
<entry>
<title>MFC isc_pause_frame field fixes to Intel ethernet drivers</title>
<updated>2020-01-02T22:57:21Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2020-01-02T22:57:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=84945cafdd94d30c78c0e5aa21ca6c2f67eedf5a'/>
<id>urn:sha1:84945cafdd94d30c78c0e5aa21ca6c2f67eedf5a</id>
<content type='text'>
This MFC includes: r353656, r353657, r353658, and r353661

Sponsored by:	Intel Corporation
</content>
</entry>
<entry>
<title>MFC r354349: if_ixv: disable RSS configuration on 82599 and X540 VFs</title>
<updated>2019-12-03T07:22:16Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2019-12-03T07:22:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83b8fa61318b9b95f7586ab7a136efbebe38003d'/>
<id>urn:sha1:83b8fa61318b9b95f7586ab7a136efbebe38003d</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
</content>
</entry>
<entry>
<title>MFC r353599</title>
<updated>2019-10-16T17:26:24Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-10-16T17:26:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d255c82ea211338d0918bb16873df2debc24150'/>
<id>urn:sha1:2d255c82ea211338d0918bb16873df2debc24150</id>
<content type='text'>
MFCs ixgbe: Disable EEE for backplane X550EM_X

This prevents a possible kernel panic on X552 backplane devices.

Sponsored by:	Intel Corporation
</content>
</entry>
<entry>
<title>MFC r352656: ix/ixv: Read MSI-X bar from device config</title>
<updated>2019-09-30T17:36:49Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-09-30T17:36:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7cf7a170b4f2b448653bafa526dfa65bb8e1edda'/>
<id>urn:sha1:7cf7a170b4f2b448653bafa526dfa65bb8e1edda</id>
<content type='text'>
This fixes an issue with some HP-branded Intel 10G cards not being able to use
MSI-X.

Sponsored by:	Intel Corporation
</content>
</entry>
<entry>
<title>MFC r345303, r345305, r345657, r345658</title>
<updated>2019-04-17T23:02:37Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-04-17T23:02:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb517a6207e178bc938b3b712d8ee46f76c05eba'/>
<id>urn:sha1:cb517a6207e178bc938b3b712d8ee46f76c05eba</id>
<content type='text'>
Includes:
- iflib: prevent possible infinite loop in iflib_encap
- iflib: expose the Rx mbuf buffer size to drivers
- iflib: hold the CTX lock in iflib_pseudo_register
- iflib: return ENETDOWN when the network device is down
</content>
</entry>
<entry>
<title>MFC r344643 and r345306</title>
<updated>2019-04-17T22:41:27Z</updated>
<author>
<name>Eric Joyner</name>
<email>erj@FreeBSD.org</email>
</author>
<published>2019-04-17T22:41:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b8b92071543cff179b3a41856c3ce54dfc56cdf'/>
<id>urn:sha1:1b8b92071543cff179b3a41856c3ce54dfc56cdf</id>
<content type='text'>
Includes two ixgbe/ixv fixes:
ixgbe(4): Fix panic triggered by assertion from interrupt
ixv(4): Add missing IFLIB_IS_VF flag in iflib shared ctx

Sponsored by:	Intel Corporation
</content>
</entry>
<entry>
<title>MFC r343617, r343618:</title>
<updated>2019-02-15T09:49:09Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-02-15T09:49:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0eecda315c98a87757622259f10fe76949e300ab'/>
<id>urn:sha1:0eecda315c98a87757622259f10fe76949e300ab</id>
<content type='text'>
Make iflib a loadable module.
</content>
</entry>
<entry>
<title>MFC: r343622</title>
<updated>2019-02-13T15:27:17Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2019-02-13T15:27:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2eca20234716e8bc2b6e3488a9af00582f30bf47'/>
<id>urn:sha1:2eca20234716e8bc2b6e3488a9af00582f30bf47</id>
<content type='text'>
ix(4),ixv(4): Fix TSO offloads when TXCSUM is disabled

This patch and commit message are based on r340256 created by Jacob Keller:

The iflib stack does not disable TSO automatically when TXCSUM is
disabled, instead assuming that the driver will correctly handle TSOs
even when CSUM_IP is not set.

This results in iflib calling ixgbe_isc_txd_encap with packets which have
CSUM_IP_TSO, but do not have CSUM_IP or CSUM_IP_TCP set. Because of
this, ixgbe_tx_ctx_setup will not setup the IPv4 checksum offloading.

This results in bad TSO packets being sent if a user disables TXCSUM
without disabling TSO.

Fix this by updating the ixgbe_tx_ctx_setup function to check both
CSUM_IP and CSUM_IP_TSO when deciding whether to enable checksums.

Once this is corrected, another issue for TSO packets is revealed. The
driver sets IFLIB_NEED_ZERO_CSUM in order to enable a work around that
causes the ip-&gt;sum field to be zero'd. This is necessary for ix
hardware to correctly perform TSOs.

However, if TXCSUM is disabled, then the work around is not enabled, as
CSUM_IP will not be set when the iflib stack checks to see if it should
clear the sum field.

Fix this by adding IFLIB_TSO_INIT_IP to the iflib flags for the ix and
ixv interface files.

Once both of these changes are made, the ix and ixv drivers should
correctly offload TSO packets when TSO offload is enabled, regardless
of whether TXCSUM is enabled or disabled.

Submitted by:	Piotr Pietruszewski &lt;piotr.pietruszewski@intel.com&gt;
Reviewed by:	IntelNetworking
Differential Revision:	https://reviews.freebsd.org/D18470
</content>
</entry>
<entry>
<title>MFC: r343621</title>
<updated>2019-02-13T15:19:31Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2019-02-13T15:19:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8cb609256e9530547534365282b82c733e57f4a'/>
<id>urn:sha1:e8cb609256e9530547534365282b82c733e57f4a</id>
<content type='text'>
ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status

From Piotr:

This patch introduces adapter-&gt;task_requests register responsible for
recording requests for mod_task, msf_task, mbx_task, fdir_task and
phy_task calls. Instead of enqueueing these tasks with
GROUPTASK_ENQUEUE, handlers will be called directly from
ixgbe_if_update_admin_status() while holding ctx lock.

SIOCGIFXMEDIA ioctl() call reads adapter-&gt;media list. The list is
deleted and rewritten in ixgbe_handle_msf() task without holding ctx
lock. This change is needed to maintain data coherency when sharing
adapter info via ioctl() calls.

Patch co-authored by Krzysztof Galazka &lt;krzysztof.galazka@intel.com&gt;.

PR:		221317
Submitted by:	Piotr Pietruszewski &lt;piotr.pietruszewski@intel.com&gt;
Reviewed by:	sbruno@, IntelNetworking
Differential Revision:	https://reviews.freebsd.org/D18468
</content>
</entry>
</feed>
