Author: erj
Date: Wed Sep 23 23:56:49 2020
New Revision: 366097
URL: https://svnweb.freebsd.org/changeset/base/366097
Log:
MFS r365983
Contains fixes for issues in em(4)/igb(4):
- Fix define and includes with RSS option enabled
- Properly retain promisc flag in init
PR: 2
Author: erj
Date: Mon Sep 21 22:52:57 2020
New Revision: 365983
URL: https://svnweb.freebsd.org/changeset/base/365983
Log:
MFC r365774 and r365776
These two commits fix issues in em(4)/igb(4):
- Fix define and includes with RSS option enabled
- Properly retain promisc flag in init
Author: erj
Date: Tue Sep 15 21:07:30 2020
New Revision: 365776
URL: https://svnweb.freebsd.org/changeset/base/365776
Log:
e1000: Properly retain promisc flag
From Franco:
The iflib rewrite forced the promisc flag but it was not reported
to the system. Noticed on a stock VM that went i
Author: erj
Date: Tue Sep 15 21:00:25 2020
New Revision: 365774
URL: https://svnweb.freebsd.org/changeset/base/365774
Log:
igb(4): Fix define and includes with RSS option enabled
This re-adds the opt_rss.h header to the driver and includes some
RSS-specific headers when RSS is defined.
Author: erj
Date: Mon Sep 14 23:49:17 2020
New Revision: 365736
URL: https://svnweb.freebsd.org/changeset/base/365736
Log:
MFS r365647: ixl powerpc64 fixes
PR: 249254
Approved by: re (gjb@)
Modified:
releng/12.2/sys/dev/ixl/i40e_prototype.h
releng/12.2/sys/dev/ixl/ixl_pf_m
Author: erj
Date: Mon Sep 14 22:42:17 2020
New Revision: 365733
URL: https://svnweb.freebsd.org/changeset/base/365733
Log:
ice(4): Add Intel 100GbE Ethernet Driver to kernel
This also adds the "package" file that's loaded by the device for
configuration, used in the included ice_ddp kerne
Author: erj
Date: Mon Sep 14 21:33:11 2020
New Revision: 365731
URL: https://svnweb.freebsd.org/changeset/base/365731
Log:
ice: MFC commits for update to 0.26.16
These include r365332, r365550, and r365617, which update
both the ice_ddp package and the ice(4) driver itself.
Relnotes:
Author: erj
Date: Sat Sep 12 00:22:02 2020
New Revision: 365647
URL: https://svnweb.freebsd.org/changeset/base/365647
Log:
MFC r358698 and r364241
r358698: ixl: Add missing conversions from/to LE16
r364241: Remove redeclaration found by gcc build
Together, these should allow ixl(4) t
Author: erj
Date: Thu Sep 10 23:46:13 2020
New Revision: 365617
URL: https://svnweb.freebsd.org/changeset/base/365617
Log:
ice(4): Update to 0.26.16
Summary of changes:
- Assorted bug fixes
- Support for newer versions of the device firmware
- Suspend/resume support
- Support for
Author: erj
Date: Thu Sep 10 20:46:16 2020
New Revision: 365612
URL: https://svnweb.freebsd.org/changeset/base/365612
Log:
MFC r361541, r362038, r364240
These MFCs add the ice(4) driver to the kernel for Intel 800 Series
Ethernet adapters, a couple fixes for the ice_ddp module makefile, a
Author: erj
Date: Thu Sep 10 04:00:13 2020
New Revision: 365550
URL: https://svnweb.freebsd.org/changeset/base/365550
Log:
ice_ddp: Fix 1.3.16.0 package
The version uploaded in the previous commit was far too small. This one
should be the right size.
MFC after:1 day
Sponsored b
Author: erj
Date: Fri Sep 4 21:21:23 2020
New Revision: 365339
URL: https://svnweb.freebsd.org/changeset/base/365339
Log:
MFC r365231: ixl(4): Add support for X710-T*L devices
PR: 249058
Sponsored by: Intel Corporation
Modified:
stable/12/sys/dev/ixl/i40e_adminq_cmd.h
stab
Author: erj
Date: Fri Sep 4 17:37:58 2020
New Revision: 365332
URL: https://svnweb.freebsd.org/changeset/base/365332
Log:
ice_ddp: Update package file to 1.3.16.0
This package is intended to be used with ice(4) version 0.26.16. That
update will happen in a forthcoming commit.
MFC af
Author: erj
Date: Tue Sep 1 23:16:38 2020
New Revision: 365231
URL: https://svnweb.freebsd.org/changeset/base/365231
Log:
ixl(4): Add support for X710-T*L devices
Add support for new devices which are capable of 2.5 and 5G speeds, as well as
Energy Efficient Ethernet (EEE):
- introd
Author: erj
Date: Tue Aug 4 23:30:10 2020
New Revision: 363876
URL: https://svnweb.freebsd.org/changeset/base/363876
Log:
MFC r361992: ixl(4): Add FW recovery mode support and other things
Update the iflib version of ixl driver based on the OOT version ixl-1.11.29.
Major changes:
Author: erj
Date: Thu Jul 30 19:11:01 2020
New Revision: 363712
URL: https://svnweb.freebsd.org/changeset/base/363712
Log:
MFC r358908: Enable ixl device on PowerPC64
Relnotes: yes
Modified:
stable/12/sys/conf/files.powerpc
stable/12/sys/conf/options.powerpc
stable/12/sys/modules
Done in r363711. I apologize for it taking so long.
On Fri, Jul 24, 2020 at 8:49 PM Yoshihiro Takahashi
wrote:
> Please merge this change to stable/12 branch until a proper fix is
> done.
>
> ---
> Yoshihiro Takahashi
>
> In article <202006111559.05bfxnsa070...@repo.fr
Author: erj
Date: Thu Jul 30 18:31:25 2020
New Revision: 363711
URL: https://svnweb.freebsd.org/changeset/base/363711
Log:
MFC r362063: em(4): Always reinit interface when adding/removing VLAN
PR: 240818
Sponsored by: Intel Corporation
Modified:
stable/12/sys/dev/e1000/if_em.
Author: erj
Date: Fri Jun 12 00:42:05 2020
New Revision: 362080
URL: https://svnweb.freebsd.org/changeset/base/362080
Log:
MFC r361805: em(4): Add support for Comet Lake Mobile Platform
This change introduces Comet Lake Mobile Platform support in the e1000
driver along with shared code pa
Author: erj
Date: Thu Jun 11 15:59:49 2020
New Revision: 362063
URL: https://svnweb.freebsd.org/changeset/base/362063
Log:
em(4): Always reinit interface when adding/removing VLAN
This partially reverts r361053 since there have been reports
by users that this breaks some functionality for
Author: erj
Date: Tue Jun 9 22:42:54 2020
New Revision: 361992
URL: https://svnweb.freebsd.org/changeset/base/361992
Log:
ixl(4): Add FW recovery mode support and other things
Update the iflib version of ixl driver based on the OOT version ixl-1.11.29.
Major changes:
- Extract if
Author: erj
Date: Thu Jun 4 20:39:28 2020
New Revision: 361805
URL: https://svnweb.freebsd.org/changeset/base/361805
Log:
em(4): Add support for Comet Lake Mobile Platform, update shared code
This change introduces Comet Lake Mobile Platform support in the e1000
driver along with shared
On Tue, May 26, 2020 at 5:39 PM Rodney W. Grimes
wrote
> That ones a bit iffy in a source released situation, what does it
> mean to "reverse engineer" source code?
>
I don't know. Keep in mind that is the license for that binary in the
directory; the actual
source code for the driver (not in th
Author: erj
Date: Tue May 26 23:35:10 2020
New Revision: 361541
URL: https://svnweb.freebsd.org/changeset/base/361541
Log:
ice(4): Introduce new driver for Intel E800 Ethernet controllers
The ice(4) driver is the driver for the Intel E8xx series Ethernet
controllers; currently with codena
Author: erj
Date: Thu May 14 21:59:23 2020
New Revision: 361063
URL: https://svnweb.freebsd.org/changeset/base/361063
Log:
Partially MFC r354344: iflib: properly release memory allocated for DMA
This also removes the unused function iflib_deregister(); accidentally
introduced in a previou
Author: erj
Date: Thu May 14 21:36:59 2020
New Revision: 361061
URL: https://svnweb.freebsd.org/changeset/base/361061
Log:
MFC r356310: iflib: Prevent watchdog from resetting idle queues
Sponsored by: Intel Corporation
Modified:
stable/11/sys/net/iflib.c
Directory Properties:
stable/11
Author: erj
Date: Thu May 14 20:43:44 2020
New Revision: 361058
URL: https://svnweb.freebsd.org/changeset/base/361058
Log:
MFC r354207: iflib: cleanup memory leaks on driver detach
Sponsored by: Intel Corporation
Modified:
stable/11/sys/net/iflib.c
Directory Properties:
stable/11/ (p
Author: erj
Date: Thu May 14 20:23:25 2020
New Revision: 361057
URL: https://svnweb.freebsd.org/changeset/base/361057
Log:
Partially MFC r353967: iflib: call ether_ifdetach and netmap_detach before
stop
This MFCs most of the patch except for the parts where the new
iflib_unregister_vlan_
Author: erj
Date: Thu May 14 20:07:02 2020
New Revision: 361055
URL: https://svnweb.freebsd.org/changeset/base/361055
Log:
MFC r360398: iflib: Stop interface before (un)registering VLAN
This is now misleadingly named for stable/11; this was meant to fix an
issue in an out-of-tree iavf(4)
Author: erj
Date: Thu May 14 19:56:54 2020
New Revision: 361053
URL: https://svnweb.freebsd.org/changeset/base/361053
Log:
MFC r360398 and r360902
These commits introduce a new iflib device-dependent method and
implements that method in the Intel ethernet network drivers;
this method te
r 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
PR: 240818, 241785
Reviewed by: gallatin@, olivier@
MFC after:3
Hi Aleksandr,
Part of this patch was to introduce a driver-dependent iflib function that
would allow drivers to tell iflib whether or not to flap the interface when
a vlan is registered or unregistered. I think this could be fixed for em(4)
by having it implement that function to either always ret
Author: erj
Date: Mon Apr 27 22:02:44 2020
New Revision: 360398
URL: https://svnweb.freebsd.org/changeset/base/360398
Log:
iflib: Stop interface before (un)registering VLAN
This patch is intended to solve a specific problem that iavf(4)
encounters, but what it does can be extended to solv
Hi Mark,
Is the addition of #include in sys/sys/refcount.h
actually necessary? I don't see anything in there used in refcount.h, and
the kernel appears to compile without it, at least on amd64.
- Eric
On Fri, Feb 28, 2020 at 8:05 AM Mark Johnston wrote:
> Author: markj
> Date: Fri Feb 28 16:0
Author: erj
Date: Fri Jan 10 18:31:59 2020
New Revision: 356606
URL: https://svnweb.freebsd.org/changeset/base/356606
Log:
MFC r356309: ixl: prevent non-privileged access to NVM update interface
Sponsored by: Intel Corporation
Modified:
stable/12/sys/dev/ixl/if_ixl.c
stable/12/sys/dev/
Author: erj
Date: Fri Jan 10 18:29:05 2020
New Revision: 356605
URL: https://svnweb.freebsd.org/changeset/base/356605
Log:
MFC r356310: iflib: Prevent watchdog from resetting idle queues
Sponsored by: Intel Corporation
Modified:
stable/12/sys/net/iflib.c
Directory Properties:
stable/12
Author: erj
Date: Thu Jan 2 23:35:06 2020
New Revision: 356310
URL: https://svnweb.freebsd.org/changeset/base/356310
Log:
iflib: Prevent watchdog from resetting idle queues
While changing link state in iflib_link_state_change(), queues are
marked as IFLIB_QUEUE_IDLE to disable watchdog.
Author: erj
Date: Thu Jan 2 23:24:57 2020
New Revision: 356309
URL: https://svnweb.freebsd.org/changeset/base/356309
Log:
ixl: prevent non-privileged access to NVM update interface
Add a privilege check to the ixl_handle_nvmupd_cmd function, ensuring
that only privileged users are allowe
Author: erj
Date: Thu Jan 2 23:18:43 2020
New Revision: 356307
URL: https://svnweb.freebsd.org/changeset/base/356307
Log:
MFC r355055: Fix gcc build for bitstring_test by specifying
"-fno-strict-overflow"
Sponsored by: Intel Corporation
Modified:
stable/12/tests/sys/sys/Makefile
Direct
Author: erj
Date: Thu Jan 2 23:16:27 2020
New Revision: 356306
URL: https://svnweb.freebsd.org/changeset/base/356306
Log:
MFC r354977: bitstring: add functions to find contiguous set/unset bit
sequences
This MFC also includes extra commits that improve on the original:
r355032: bitstrin
Author: erj
Date: Thu Jan 2 23:05:48 2020
New Revision: 356304
URL: https://svnweb.freebsd.org/changeset/base/356304
Log:
MFC r354975: bitstring: exit early if _start is past size of the bitstring
This fixes a possible buffer read overflow.
Sponsored by: Intel Corporation
Modified:
Author: erj
Date: Thu Jan 2 22:57:21 2020
New Revision: 356302
URL: https://svnweb.freebsd.org/changeset/base/356302
Log:
MFC isc_pause_frame field fixes to Intel ethernet drivers
This MFC includes: r353656, r353657, r353658, and r353661
Sponsored by: Intel Corporation
Modified:
st
Author: erj
Date: Thu Jan 2 22:47:10 2020
New Revision: 356299
URL: https://svnweb.freebsd.org/changeset/base/356299
Log:
MFC r354344: iflib: properly release memory allocated for DMA
Prevents M_DEVBUF memory from leaking due to iflib DMA allocations.
Sponsored by: Intel Corporation
Author: erj
Date: Thu Jan 2 22:44:38 2020
New Revision: 356298
URL: https://svnweb.freebsd.org/changeset/base/356298
Log:
MFC r354207: iflib: cleanup memory leaks on driver detach
Sponsored by: Intel Corporation
Modified:
stable/12/sys/net/iflib.c
Directory Properties:
stable/12/ (p
Author: erj
Date: Thu Jan 2 22:42:18 2020
New Revision: 356297
URL: https://svnweb.freebsd.org/changeset/base/356297
Log:
MFC r353967: iflib: call ether_ifdetach and netmap_detach before stop
This prevents a possible page fault resulting from a race condition.
Sponsored by: Intel Corp
Author: erj
Date: Thu Jan 2 21:58:34 2020
New Revision: 356291
URL: https://svnweb.freebsd.org/changeset/base/356291
Log:
MFC r351153: net: Update SFF-8024 definitions and strings with values from
rev 4.6
This will let ifconfig -v's SFF eeprom read functionality recognize more
module ty
On Thu, Nov 21, 2019 at 12:07 PM Conrad Meyer wrote:
> Hi Eric,
>
> On Thu, Nov 21, 2019 at 11:58 AM Eric Joyner wrote:
> >
> > Author: erj
> > Date: Thu Nov 21 19:57:56 2019
> > New Revision: 354977
> > URL: https://svnweb.freebsd.org/changeset/base/3
Author: erj
Date: Thu Nov 21 19:57:56 2019
New Revision: 354977
URL: https://svnweb.freebsd.org/changeset/base/354977
Log:
bitstring: add functions to find contiguous set/unset bit sequences
Add bit_ffs_area_at and bit_ffc_area_at functions for searching a bit
string for a sequence of con
Author: erj
Date: Thu Nov 21 19:36:11 2019
New Revision: 354975
URL: https://svnweb.freebsd.org/changeset/base/354975
Log:
bitstring: exit early if _start is past size of the bitstring
bit_ffs_at and bit_ffc_at both take _start parameters which indicate to
start searching from _start onwa
Author: erj
Date: Tue Nov 5 00:12:21 2019
New Revision: 354345
URL: https://svnweb.freebsd.org/changeset/base/354345
Log:
net: add ETHER_IS_ZERO macro similar to ETHER_IS_BROADCAST
Some places in network code may need to verify that an ethernet address
is not the 'zero' address. Provide
Author: erj
Date: Mon Nov 4 23:06:57 2019
New Revision: 354344
URL: https://svnweb.freebsd.org/changeset/base/354344
Log:
iflib: properly release memory allocated for DMA
DMA memory allocations using the bus_dma.h interface are not properly
released in all cases for both Tx and Rx. This
Author: erj
Date: Mon Nov 4 22:57:36 2019
New Revision: 354343
URL: https://svnweb.freebsd.org/changeset/base/354343
Log:
net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN
A couple of drivers and one place in if.c use ETH_ADDR_LEN, even though
net/ethernet.h provides an equivalent ETHER_ADDR_
Author: erj
Date: Wed Oct 30 20:45:12 2019
New Revision: 354207
URL: https://svnweb.freebsd.org/changeset/base/354207
Log:
iflib: cleanup memory leaks on driver detach
From Jake:
The iflib stack failed to release all of the memory allocated under
M_IFLIB during device detach.
Speci
Author: erj
Date: Wed Oct 23 23:20:49 2019
New Revision: 353967
URL: https://svnweb.freebsd.org/changeset/base/353967
Log:
iflib: call ether_ifdetach and netmap_detach before stop
From Jake:
Calling ether_ifdetach after iflib_stop leads to a potential race where
a stale ifp pointer can
Author: erj
Date: Wed Oct 16 21:54:48 2019
New Revision: 353669
URL: https://svnweb.freebsd.org/changeset/base/353669
Log:
MFC r353599
MFCs ixgbe: Disable EEE for backplane X550EM_X
This prevents a possible kernel panic on X552 backplane devices.
PR: 240320
Sponsored b
Author: erj
Date: Wed Oct 16 21:46:49 2019
New Revision: 353665
URL: https://svnweb.freebsd.org/changeset/base/353665
Log:
MFC r353660: ixgbe: Disable EEE for backplane X550EM_X
This prevents a kernel panic when configuring EEE on X552 devices.
PR: 240320
Approved by: re@
Does r353661 fix it? I didn't catch "adapter" being used, probably due to
committing patches for the other drivers that do use "adapter".
On Wed, Oct 16, 2019 at 10:57 AM O. Hartmann wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Am Wed, 16
Author: erj
Date: Wed Oct 16 18:12:22 2019
New Revision: 353661
URL: https://svnweb.freebsd.org/changeset/base/353661
Log:
Fix compile error introduced in r353658
"adapter" doesn't exist in ixl.
Reported by: O. Hartmann
Modified:
head/sys/dev/ixl/ixl_pf_main.c
Modified: head/sys/
Author: erj
Date: Wed Oct 16 17:26:24 2019
New Revision: 353660
URL: https://svnweb.freebsd.org/changeset/base/353660
Log:
MFC r353599
MFCs ixgbe: Disable EEE for backplane X550EM_X
This prevents a possible kernel panic on X552 backplane devices.
Sponsored by: Intel Corporation
M
Author: erj
Date: Wed Oct 16 17:19:17 2019
New Revision: 353658
URL: https://svnweb.freebsd.org/changeset/base/353658
Log:
ixl: report whether device received pause frames
From Jake:
When updating the device statistics, report whether or not we have
received any pause frames to the ifli
Author: erj
Date: Wed Oct 16 17:16:32 2019
New Revision: 353657
URL: https://svnweb.freebsd.org/changeset/base/353657
Log:
ix: report isc_pause_frames during stat update
From Jake:
Notify the iflib stack of whether we received any pause frames during
the timer window. This allows the st
Author: erj
Date: Wed Oct 16 17:13:46 2019
New Revision: 353656
URL: https://svnweb.freebsd.org/changeset/base/353656
Log:
e1000: correctly set isc_pause_frames only when XOFF increases
From Jake:
The e1000 driver sets the iflib shared context isc_pause_frames value to
the number of rec
Author: erj
Date: Tue Oct 15 21:56:19 2019
New Revision: 353599
URL: https://svnweb.freebsd.org/changeset/base/353599
Log:
ixgbe: Disable EEE for backplane X550EM_X
From Zach:
Intel documentation indicates that backplane X550EM_X KR devices do not
support Energy Efficient Ethernet. Prio
Author: erj
Date: Mon Sep 30 18:22:33 2019
New Revision: 352912
URL: https://svnweb.freebsd.org/changeset/base/352912
Log:
MFC r352910 and r352911
MFC r352910: iflib: Remove redundant VLAN events deregistration
MFC r352911: ix/ixv: Read MSI-X bar from device config
These fix an issue
Author: erj
Date: Mon Sep 30 17:36:49 2019
New Revision: 352911
URL: https://svnweb.freebsd.org/changeset/base/352911
Log:
MFC r352656: ix/ixv: Read MSI-X bar from device config
This fixes an issue with some HP-branded Intel 10G cards not being able to use
MSI-X.
Sponsored by: Intel
Author: erj
Date: Mon Sep 30 17:34:25 2019
New Revision: 352910
URL: https://svnweb.freebsd.org/changeset/base/352910
Log:
MFC r352655: iflib: Remove redundant VLAN events deregistration
This fixes a kernel panic that can occur when unloading an iflib-using driver.
Sponsored by: Intel
Author: erj
Date: Tue Sep 24 17:06:32 2019
New Revision: 352656
URL: https://svnweb.freebsd.org/changeset/base/352656
Log:
ix, ixv: Read msix_bar from device configuration
Instead of predicting the MSI-X bar index based on the device's MAC
type, read it from the device's PCI configuration
Author: erj
Date: Tue Sep 24 17:03:31 2019
New Revision: 352655
URL: https://svnweb.freebsd.org/changeset/base/352655
Log:
iflib: Remove redundant VLAN events deregistration
From Piotr:
r351152 introduced iflib_deregister() function calling
EVENTHANDLER_DEREGISTER() to unregister VLAN e
Author: erj
Date: Mon Sep 9 18:07:31 2019
New Revision: 352091
URL: https://svnweb.freebsd.org/changeset/base/352091
Log:
iflib: initialize the STATE_LOCK in iflib_register
From Jake:
r347197 contained an MFC for r332389, adding the STATE_LOCK to the iflib
core driver. Unfortunately, t
Author: erj
Date: Wed Apr 17 23:09:06 2019
New Revision: 346338
URL: https://svnweb.freebsd.org/changeset/base/346338
Log:
MFC r345312
iflib: mark isc_driver_version as constant
From Jake:
The iflib core never modifies the isc_driver_version string. Allow
drivers to safely assign p
Author: erj
Date: Wed Apr 17 22:41:27 2019
New Revision: 346335
URL: https://svnweb.freebsd.org/changeset/base/346335
Log:
MFC r344643 and r345306
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
Author: erj
Date: Wed Apr 17 23:02:37 2019
New Revision: 346337
URL: https://svnweb.freebsd.org/changeset/base/346337
Log:
MFC r345303, r345305, r345657, r345658
Includes:
- iflib: prevent possible infinite loop in iflib_encap
- iflib: expose the Rx mbuf buffer size to drivers
- iflib
Author: erj
Date: Wed Apr 17 22:45:19 2019
New Revision: 346336
URL: https://svnweb.freebsd.org/changeset/base/346336
Log:
MFC r344817
Remove references to CONTIGMALLOC_WORKS in iflib and em
From Jake:
"The iflib_fl_setup() function tries to pick various buffer sizes based
on the m
Author: erj
Date: Thu Mar 28 20:43:47 2019
New Revision: 345657
URL: https://svnweb.freebsd.org/changeset/base/345657
Log:
iflib: hold the CTX lock in iflib_pseudo_register
From Jake:
The iflib_device_register function takes the CTX lock before calling
IFDI_ATTACH_PRE, and releases it u
Author: erj
Date: Thu Mar 28 20:46:45 2019
New Revision: 345658
URL: https://svnweb.freebsd.org/changeset/base/345658
Log:
iflib: return ENETDOWN when the network device is down
From Jake:
iflib_if_transmit returns ENOBUFS when the device is down, or when the
link isn't active.
Thi
Author: erj
Date: Fri Aug 30 17:36:45 2019
New Revision: 351627
URL: https://svnweb.freebsd.org/changeset/base/351627
Log:
Bump __FreeBSD_version number for changes made in r351276
Sponsored by: Intel Corporation
Modified:
stable/12/sys/sys/param.h
Modified: stable/12/sys/sys/param.h
==
Author: erj
Date: Tue Aug 20 20:15:32 2019
New Revision: 351276
URL: https://svnweb.freebsd.org/changeset/base/351276
Log:
MFC various iflib fixes from head
Included revisions:
r347418 - iflib: use default ntxd and rxd when user value is not power of 2
r348372 - iflib: provide probe wra
types.
Signed-off-by: Eric Joyner
Reviewed by: gallatin@
MFC after:1 week
Sponsored by: Intel Corporation
Differential Revision:https://reviews.freebsd.org/D21041
Modified:
head/sbin/ifconfig/sfp.c
head/sys/net/sff8472.h
Modified: head/sbin/ifconfig/
Author: erj
Date: Fri Aug 16 23:33:44 2019
New Revision: 351152
URL: https://svnweb.freebsd.org/changeset/base/351152
Log:
iflib: add iflib_deregister to help cleanup on exit
Commit message by Jake:
The iflib_register function exists to allocate and setup some common
structures used by
the admin
task to prevent panics when other iflib drivers unload.
This whole interrupt allocation process actually needs re-doing to properly
support devices with only a single MSI-X interrupt, devices that only support
MSI-X, non-PCI devices, and multiple non-MSIX interrupts, as well.
Author: erj
Date: Thu Aug 1 17:28:36 2019
New Revision: 350507
URL: https://svnweb.freebsd.org/changeset/base/350507
Log:
iflib: remove kobject class reference increment
Commit message from Jake:
In iflib_register, the context is initialized as a kobject using the
device driver's "driv
Author: erj
Date: Wed Jul 24 21:43:41 2019
New Revision: 350306
URL: https://svnweb.freebsd.org/changeset/base/350306
Log:
iflib: fix dangling device softc pointer
Commit text by Jake:
If a driver's IFDI_ATTACH_PRE function fails, the iflib_device_register
function will free the ctx poi
Author: erj
Date: Tue Jul 23 18:14:32 2019
New Revision: 350253
URL: https://svnweb.freebsd.org/changeset/base/350253
Log:
ixgbe(4): Fix enabling/disabling and reconfiguration of queues
- Wrong order of casting and bit shift caused that enabling and disabling
queues didn't work properly
Author: erj
Date: Wed Jun 19 00:37:54 2019
New Revision: 349181
URL: https://svnweb.freebsd.org/changeset/base/349181
Log:
MFS r349163: ixl(4)/ixlv(4): Update Intel XL710 PF and VF drivers to
ixl-1.11.9 and ixlv-1.5.8
Update the legacy (non-iflib) drivers in stable/11 with recent changes f
Author: erj
Date: Tue Jun 18 00:08:02 2019
New Revision: 349163
URL: https://svnweb.freebsd.org/changeset/base/349163
Log:
ixl(4)/ixlv(4): Update Intel XL710 PF and VF drivers to ixl-1.11.9 and
ixlv-1.5.8
Update the legacy (non-iflib) drivers in stable/11 with recent changes from
the
In
Author: erj
Date: Wed May 29 22:24:10 2019
New Revision: 348372
URL: https://svnweb.freebsd.org/changeset/base/348372
Log:
iflib: provide probe wrapper for vendor drivers
From Jake:
Vendor drivers that exist out-of-tree generally should return
BUS_PROBE_VENDOR from their device probe fu
Author: erj
Date: Fri May 10 00:46:43 2019
New Revision: 347419
URL: https://svnweb.freebsd.org/changeset/base/347419
Log:
ix(4): Move {mod,msf,mbx,fdir,phy,link}_task to lock protected handler
This patch introduces adapter->task_requests register responsible for
recording
requests for m
Author: erj
Date: Fri May 10 00:41:42 2019
New Revision: 347418
URL: https://svnweb.freebsd.org/changeset/base/347418
Log:
iflib: use default ntxd and nrxd when user value is not power of 2
From Jake:
A user may set a sysctl to override the default number of Tx or Rx
descriptors. Howeve
Author: erj
Date: Wed May 8 23:13:27 2019
New Revision: 347373
URL: https://svnweb.freebsd.org/changeset/base/347373
Log:
iflib: Add missing return statement that was left out from r347197
Modified:
stable/11/sys/net/iflib.c
Modified: stable/11/sys/net/iflib.c
==
Author: erj
Date: Mon May 6 21:31:02 2019
New Revision: 347213
URL: https://svnweb.freebsd.org/changeset/base/347213
Log:
MFC r345312: iflib: mark isc_driver_version as constant
(Additional comment by erj: This also adds a new sysctl_add_oid macro,
SYSCTL_ADD_CONST_STRING, for displaying
Author: erj
Date: Mon May 6 21:21:15 2019
New Revision: 347212
URL: https://svnweb.freebsd.org/changeset/base/347212
Log:
MFC r345303, 345658, and partially MFC r345305
These are:
r345303: prevent possible infinite loop in iflib_encap
r345305: expose the Rx mbuf buffer size to drivers
Author: erj
Date: Mon May 6 20:48:27 2019
New Revision: 347210
URL: https://svnweb.freebsd.org/changeset/base/347210
Log:
MFC r344817: Remove references to CONTIGMALLOC_WORKS in iflib and em
Sponsored by: Intel Corporation
Modified:
stable/11/sys/dev/e1000/if_em.c
stable/11/sys/net/if
Author: erj
Date: Mon May 6 20:41:56 2019
New Revision: 347208
URL: https://svnweb.freebsd.org/changeset/base/347208
Log:
MFC r340435: Prevent POLA violation with TSO/CSUM offload
Sponsored by: Intel Corporation
Modified:
stable/11/sys/net/iflib.c
Directory Properties:
stable/11/ (p
Author: erj
Date: Mon May 6 18:50:08 2019
New Revision: 347197
URL: https://svnweb.freebsd.org/changeset/base/347197
Log:
MFC r332389, r3342331, r334343, and partially r339338
This commit backports some new features from iflib in 12 back to stable/11:
r332389 - Split out flag manipula
Author: erj
Date: Wed Apr 17 23:09:06 2019
New Revision: 346338
URL: https://svnweb.freebsd.org/changeset/base/346338
Log:
MFC r345312
iflib: mark isc_driver_version as constant
From Jake:
The iflib core never modifies the isc_driver_version string. Allow
drivers to safely assign p
Author: erj
Date: Wed Apr 17 23:02:37 2019
New Revision: 346337
URL: https://svnweb.freebsd.org/changeset/base/346337
Log:
MFC r345303, r345305, r345657, r345658
Includes:
- iflib: prevent possible infinite loop in iflib_encap
- iflib: expose the Rx mbuf buffer size to drivers
- iflib
Author: erj
Date: Wed Apr 17 22:45:19 2019
New Revision: 346336
URL: https://svnweb.freebsd.org/changeset/base/346336
Log:
MFC r344817
Remove references to CONTIGMALLOC_WORKS in iflib and em
From Jake:
"The iflib_fl_setup() function tries to pick various buffer sizes based
on the m
Author: erj
Date: Wed Apr 17 22:41:27 2019
New Revision: 346335
URL: https://svnweb.freebsd.org/changeset/base/346335
Log:
MFC r344643 and r345306
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
Author: erj
Date: Thu Mar 28 20:46:45 2019
New Revision: 345658
URL: https://svnweb.freebsd.org/changeset/base/345658
Log:
iflib: return ENETDOWN when the network device is down
From Jake:
iflib_if_transmit returns ENOBUFS when the device is down, or when the
link isn't active.
Thi
Author: erj
Date: Thu Mar 28 20:43:47 2019
New Revision: 345657
URL: https://svnweb.freebsd.org/changeset/base/345657
Log:
iflib: hold the CTX lock in iflib_pseudo_register
From Jake:
The iflib_device_register function takes the CTX lock before calling
IFDI_ATTACH_PRE, and releases it u
1 - 100 of 220 matches
Mail list logo