#
341984 |
|
12-Dec-2018 |
hselasky |
MFC r341585: mlx5en: Improve configuration of HW LRO.
In order to enable HW LRO, both the "hw_lro" sysctl in the mlx5en(4) config space must be set, and the ifconfig(8) LRO capability must be set. Any other settings will disable HW LRO.
Sponsored by: Mellanox Technologies |
#
338553 |
|
10-Sep-2018 |
hselasky |
MFC r338492: Add support for receive side scaling stride, RSSS, in mlx5en(4).
The receive side scaling stride parameter is a value which define the interval between active receive side queues. The traffic for the inactive queues is redirected to the nearest active queue by use of modulus. The default value of this parameter is one, which means all receive side queues are used.
The point of this feature is to redirect more traffic to fewer receive side queues in order to take more advantage of sorted large receive offload, sorted LRO. The sorted LRO works better when more packets are accumulated per service interval.
Sponsored by: Mellanox Technologies |
#
337746 |
|
14-Aug-2018 |
hselasky |
MFC r325661: Expose the current hardware MTU in mlx5en(4) as a separate entry in the sysctl tree.
Sponsored by: Mellanox Technologies |
#
322007 |
|
03-Aug-2017 |
hselasky |
MFC r312872: Add support for reading advanced diagnostic counters.
By default reading the diagnostic counters is disabled. The firmware decides which counters are supported and only those supported show up in the dev.mce.X.diagnostics sysctl tree.
To enable reading of diagnostic counters set one or more of the following sysctls to one:
dev.mce.X.conf.diag_general_enable=1 dev.mce.X.conf.diag_pci_enable=1
Sponsored by: Mellanox Technologies |
#
322000 |
|
03-Aug-2017 |
hselasky |
MFC r312536: Allow transmit packet bufring in software to be disabled.
- Add new sysctl node to control the transmit packet bufring.
- Add optimised version of the transmit routine which output packets directly to the DMA ring instead of using bufring in case the transmit lock is congested. This can reduce the number of taskswitches which in turn influence the overall system CPU usage, depending on the workload.
- Add " TX" suffix to debug name for transmit mutexes to silence some witness warnings about aquiring duplicate locks having same name.
Sponsored by: Mellanox Technologies Suggested by: gallatin @ |
#
321996 |
|
03-Aug-2017 |
hselasky |
MFC r312527: Add runtime support for modifying the SQ and RQ completion event moderation mode. The presence of this feature is indicated through the firmware capabilities.
Sponsored by: Mellanox Technologies |
#
301260 |
|
03-Jun-2016 |
hselasky |
MFC r300282: Verify one sysctl parameter at a time. When a mlx5en sysctl parameter is updated only verify the changed one instead of all.
No functional change.
Sponsored by: Mellanox Technologies Tested by: Netflix |
#
301258 |
|
03-Jun-2016 |
hselasky |
MFC r300277: Implement TX completion event interleaving.
This patch implements a sysctl which allows setting a factor, N, for how many work queue elements can be generated before requiring a completion event. When a completion event happens the code simulates N completion events instead of only one. When draining a transmit queue, N-1 NOPs are transmitted at most, to force generation of the final completion event. Further a timer is running every HZ ticks to flush any remaining data off the transmit queue when the tx_completion_fact > 1.
The goal of this feature is to reduce the PCI bandwidth needed when transmitting data.
Sponsored by: Mellanox Technologies Tested by: Netflix |
#
294920 |
|
27-Jan-2016 |
hselasky |
MFC r294319: Fix an issue where the network adapter could be left in down state after changing the HW LRO sysctl when previously in up state.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4941 |
#
294917 |
|
27-Jan-2016 |
hselasky |
MFC r294314: Allow RX and TX pause frames to be set through ifconfig.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4817 |
#
293158 |
|
04-Jan-2016 |
hselasky |
MFC r292949: Add support for modifying coalescing parameters runtime.
Sponsored by: Mellanox Technologies |
#
293155 |
|
04-Jan-2016 |
hselasky |
MFC r292838: Add support for CQE zipping. CQE zipping reduces PCI overhead by coalescing and zipping multiple CQEs into a single merged CQE. The feature is enabled by default and can be disabled by a sysctl.
Implementing this feature mlx5_cqwq_pop() has been separated from mlx5e_get_cqe().
Submitted by: Mark Bloch <markb@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4598 Sponsored by: Mellanox Technologies |
#
293154 |
|
04-Jan-2016 |
hselasky |
MFC r292837: Add support for sysctl tunables to 10-stable and older. Pushed through head first to simplify driver maintenance.
MFC after: 1 week Submitted by: Drew Gallatin <gallatin@freebsd.org> Differential Revision: https://reviews.freebsd.org/D4552 Sponsored by: Mellanox Technologies |
#
293153 |
|
04-Jan-2016 |
hselasky |
MFC r292835: Make the eeprom dump function more readable and rename variables for better clarity.
Submitted by: Daria Genzel <dariaz@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4551 Sponsored by: Mellanox Technologies |
#
292191 |
|
14-Dec-2015 |
hselasky |
MFC r291932: Add support for setting the TX moderation mode via a sysctl entry. TX completion events can be moderated in the same way like RX completion events. Expose this functionality by a sysctl variable.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4409 |
#
291184 |
|
23-Nov-2015 |
hselasky |
MFC r290650, r290709, r291067, r291068, r291069 and r291070: Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later.
The code added is not compiled by default, which will be done by a separate commit.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4177 Differential Revision: https://reviews.freebsd.org/D4178 Differential Revision: https://reviews.freebsd.org/D4179 Differential Revision: https://reviews.freebsd.org/D4180 |
#
290650 |
|
10-Nov-2015 |
hselasky |
Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later.
The code added is not compiled by default, which will be done by a separate commit.
Sponsored by: Mellanox Technologies MFC after: 2 weeks
|
#
341984 |
|
12-Dec-2018 |
hselasky |
MFC r341585: mlx5en: Improve configuration of HW LRO.
In order to enable HW LRO, both the "hw_lro" sysctl in the mlx5en(4) config space must be set, and the ifconfig(8) LRO capability must be set. Any other settings will disable HW LRO.
Sponsored by: Mellanox Technologies
|
#
338553 |
|
10-Sep-2018 |
hselasky |
MFC r338492: Add support for receive side scaling stride, RSSS, in mlx5en(4).
The receive side scaling stride parameter is a value which define the interval between active receive side queues. The traffic for the inactive queues is redirected to the nearest active queue by use of modulus. The default value of this parameter is one, which means all receive side queues are used.
The point of this feature is to redirect more traffic to fewer receive side queues in order to take more advantage of sorted large receive offload, sorted LRO. The sorted LRO works better when more packets are accumulated per service interval.
Sponsored by: Mellanox Technologies
|
#
337746 |
|
14-Aug-2018 |
hselasky |
MFC r325661: Expose the current hardware MTU in mlx5en(4) as a separate entry in the sysctl tree.
Sponsored by: Mellanox Technologies
|
#
322007 |
|
03-Aug-2017 |
hselasky |
MFC r312872: Add support for reading advanced diagnostic counters.
By default reading the diagnostic counters is disabled. The firmware decides which counters are supported and only those supported show up in the dev.mce.X.diagnostics sysctl tree.
To enable reading of diagnostic counters set one or more of the following sysctls to one:
dev.mce.X.conf.diag_general_enable=1 dev.mce.X.conf.diag_pci_enable=1
Sponsored by: Mellanox Technologies
|
#
322000 |
|
03-Aug-2017 |
hselasky |
MFC r312536: Allow transmit packet bufring in software to be disabled.
- Add new sysctl node to control the transmit packet bufring.
- Add optimised version of the transmit routine which output packets directly to the DMA ring instead of using bufring in case the transmit lock is congested. This can reduce the number of taskswitches which in turn influence the overall system CPU usage, depending on the workload.
- Add " TX" suffix to debug name for transmit mutexes to silence some witness warnings about aquiring duplicate locks having same name.
Sponsored by: Mellanox Technologies Suggested by: gallatin @
|
#
321996 |
|
03-Aug-2017 |
hselasky |
MFC r312527: Add runtime support for modifying the SQ and RQ completion event moderation mode. The presence of this feature is indicated through the firmware capabilities.
Sponsored by: Mellanox Technologies
|
#
301260 |
|
03-Jun-2016 |
hselasky |
MFC r300282: Verify one sysctl parameter at a time. When a mlx5en sysctl parameter is updated only verify the changed one instead of all.
No functional change.
Sponsored by: Mellanox Technologies Tested by: Netflix
|
#
301258 |
|
03-Jun-2016 |
hselasky |
MFC r300277: Implement TX completion event interleaving.
This patch implements a sysctl which allows setting a factor, N, for how many work queue elements can be generated before requiring a completion event. When a completion event happens the code simulates N completion events instead of only one. When draining a transmit queue, N-1 NOPs are transmitted at most, to force generation of the final completion event. Further a timer is running every HZ ticks to flush any remaining data off the transmit queue when the tx_completion_fact > 1.
The goal of this feature is to reduce the PCI bandwidth needed when transmitting data.
Sponsored by: Mellanox Technologies Tested by: Netflix
|
#
294920 |
|
27-Jan-2016 |
hselasky |
MFC r294319: Fix an issue where the network adapter could be left in down state after changing the HW LRO sysctl when previously in up state.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4941
|
#
294917 |
|
27-Jan-2016 |
hselasky |
MFC r294314: Allow RX and TX pause frames to be set through ifconfig.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4817
|
#
293158 |
|
04-Jan-2016 |
hselasky |
MFC r292949: Add support for modifying coalescing parameters runtime.
Sponsored by: Mellanox Technologies
|
#
293155 |
|
04-Jan-2016 |
hselasky |
MFC r292838: Add support for CQE zipping. CQE zipping reduces PCI overhead by coalescing and zipping multiple CQEs into a single merged CQE. The feature is enabled by default and can be disabled by a sysctl.
Implementing this feature mlx5_cqwq_pop() has been separated from mlx5e_get_cqe().
Submitted by: Mark Bloch <markb@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4598 Sponsored by: Mellanox Technologies
|
#
293154 |
|
04-Jan-2016 |
hselasky |
MFC r292837: Add support for sysctl tunables to 10-stable and older. Pushed through head first to simplify driver maintenance.
MFC after: 1 week Submitted by: Drew Gallatin <gallatin@freebsd.org> Differential Revision: https://reviews.freebsd.org/D4552 Sponsored by: Mellanox Technologies
|
#
293153 |
|
04-Jan-2016 |
hselasky |
MFC r292835: Make the eeprom dump function more readable and rename variables for better clarity.
Submitted by: Daria Genzel <dariaz@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4551 Sponsored by: Mellanox Technologies
|
#
292191 |
|
14-Dec-2015 |
hselasky |
MFC r291932: Add support for setting the TX moderation mode via a sysctl entry. TX completion events can be moderated in the same way like RX completion events. Expose this functionality by a sysctl variable.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4409
|
#
291184 |
|
23-Nov-2015 |
hselasky |
MFC r290650, r290709, r291067, r291068, r291069 and r291070: Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later.
The code added is not compiled by default, which will be done by a separate commit.
Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4177 Differential Revision: https://reviews.freebsd.org/D4178 Differential Revision: https://reviews.freebsd.org/D4179 Differential Revision: https://reviews.freebsd.org/D4180
|