|
Revision tags: release/12.4.0, release/13.1.0 |
|
| #
26b0e75d |
| 08-Feb-2022 |
Hans Petter Selasky <[email protected]> |
mlx5: Implement flow steering helper functions for TCP sockets.
This change adds convenience functions to setup a flow steering rule based on a TCP socket. The helper function gets all the address i
mlx5: Implement flow steering helper functions for TCP sockets.
This change adds convenience functions to setup a flow steering rule based on a TCP socket. The helper function gets all the address information from the socket and returns a steering rule, to be used with HW TLS RX offload.
Sponsored by: NVIDIA Networking
(cherry picked from commit 2c0ade806aa7b450dc4f4c53b5345050eb6dcb4b)
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
83271c68 |
| 07-Nov-2021 |
Konstantin Belousov <[email protected]> |
Fix some modules to export more used symbols
(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
| #
15fe2513 |
| 20-Mar-2020 |
Konstantin Belousov <[email protected]> |
Introduce LINUXKPI_GENSRCS.
Centralize the list of generated files required by linuxkpi consumers, into the common variable. This way, consumers that use the variable are insulated from possible ch
Introduce LINUXKPI_GENSRCS.
Centralize the list of generated files required by linuxkpi consumers, into the common variable. This way, consumers that use the variable are insulated from possible changes in the list.
Reviewed by: hselasky, imp Sponsored by: Mellanox Technologies MFC after: 1 week Differential revision: https://reviews.freebsd.org/D24137
show more ...
|
| #
91ad1bd9 |
| 18-Mar-2020 |
Konstantin Belousov <[email protected]> |
mlx5: Restore eswitch management code from attic.
Reviewed by: hselasky Sponsored by: Mellanox Technologies MFC after: 2 weeks
|
| #
84b3c454 |
| 18-Mar-2020 |
Konstantin Belousov <[email protected]> |
Add pci_iov_if.h header as a dependency for Linuxkpi consumers.
Sponsored by: Mellanox Technologies MFC after: 2 weeks
|
| #
04f1690b |
| 05-Dec-2019 |
Hans Petter Selasky <[email protected]> |
Add basic support for TCP/IP based hardware TLS offload to mlx5core.
The hardware offload is primarily targeted for TLS v1.2 and v1.3, using AES 128/256 bit pre-shared keys. This patch adds all the
Add basic support for TCP/IP based hardware TLS offload to mlx5core.
The hardware offload is primarily targeted for TLS v1.2 and v1.3, using AES 128/256 bit pre-shared keys. This patch adds all the needed hardware structures, capabilites and firmware commands.
Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
4bc8507b |
| 02-Oct-2019 |
Hans Petter Selasky <[email protected]> |
Remove no longer needed fwdump register tables from mlx5core.
Submitted by: kib@ MFC after: 3 days Sponsored by: Mellanox Technologies
|
| #
66b38bfe |
| 02-Oct-2019 |
Hans Petter Selasky <[email protected]> |
Add support for Multi-Physical Function Switch, MPFS, in mlx5en.
MPFS is a logical switch in the Mellanox device which forward packets based on a hardware driven L2 address table, to one or more phy
Add support for Multi-Physical Function Switch, MPFS, in mlx5en.
MPFS is a logical switch in the Mellanox device which forward packets based on a hardware driven L2 address table, to one or more physical- or virtual- functions. The physical- or virtual- function is required to tell the MPFS by using the MPFS firmware commands, which unicast MAC addresses it is requesting from the physical port's traffic. Broadcast and multicast traffic however, is copied to all listening physical- and virtual- functions and does not need a rule in the MPFS switching table.
Linux commit: eeb66cdb682678bfd1f02a4547e3649b38ffea7e MFC after: 3 days Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/11.3.0, release/12.0.0 |
|
| #
e9dcd831 |
| 05-Dec-2018 |
Slava Shwartsman <[email protected]> |
mlx5fpga: Initial code import.
Submitted by: kib@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
b575d8c8 |
| 17-Jul-2018 |
Hans Petter Selasky <[email protected]> |
Refactor access to CR-space into using VSC APIs in mlx5core.
Remove no longer used files and APIs.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
|
Revision tags: release/11.2.0 |
|
| #
38535d6c |
| 29-May-2018 |
Hans Petter Selasky <[email protected]> |
Add support for hardware rate limiting to mlx5en(4).
The hardware rate limiting feature is enabled by the RATELIMIT kernel option. Please refer to ifconfig(8) and the txrtlmt option and the SO_MAX_P
Add support for hardware rate limiting to mlx5en(4).
The hardware rate limiting feature is enabled by the RATELIMIT kernel option. Please refer to ifconfig(8) and the txrtlmt option and the SO_MAX_PACING_RATE set socket option for more information. This feature is compatible with hardware transmit send offload, TSO.
A set of sysctl(8) knobs under dev.mce.<N>.rate_limit are provided to setup the ratelimit table and also to fine tune various rate limit related parameters.
Sponsored by: Mellanox Technologies
show more ...
|
| #
f20b553d |
| 23-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Add mutual exclusion mechanism for software reset of firmware in mlx5core.
Since the FW can be shared between PCI functions it is common that more than one health poll will detected a failure, this
Add mutual exclusion mechanism for software reset of firmware in mlx5core.
Since the FW can be shared between PCI functions it is common that more than one health poll will detected a failure, this can lead to multiple resets.
The solution is to use a FW locking mechanism using semaphore space to provide a way to synchronize between functions. The FW semaphore is acquired via config cycle access. First the VSEC gateway must be acquired, then the semaphore can be locked by writing a value to it and confirmed it's locked by reading the same value back. The process in the same to free the semaphore, except the value written should be zero.
Submitted by: slavash@ MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
e808190a |
| 08-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core.
The dump is obtained by reading a predefined register map from the non-destructive crspace, ac
Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core.
The dump is obtained by reading a predefined register map from the non-destructive crspace, accessible by the vendor-specific PCIe capability (VSC). The dump is stored in preallocated kernel memory and managed by the mlx5tool(8), which communicates with the driver using a character device node.
The utility allows to store the dump in format <address> <value> into a file, to reset the dump content, and to manually initiate the dump.
A call to mlx5_fwdump() should be added at the places where a dump must be fetched automatically. The most likely place is right before a firmware reset request.
Submitted by: kib@ MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
4b95c665 |
| 08-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Add vendor specific capability interface support in mlx5core.
Add the ability to access the vendor specific space gateway in order to support reading and writing data into the different configuratio
Add vendor specific capability interface support in mlx5core.
Add the ability to access the vendor specific space gateway in order to support reading and writing data into the different configuration domains.
Submitted by: Matthew Finlay <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
5a93b4cd |
| 10-Nov-2017 |
Hans Petter Selasky <[email protected]> |
Refactor the flowsteering APIs used by mlx5en(4). This change is needed by the coming ibcore and mlx5ib updates in order to support traffic redirection to so-called raw ethernet QPs.
Remove unused E
Refactor the flowsteering APIs used by mlx5en(4). This change is needed by the coming ibcore and mlx5ib updates in order to support traffic redirection to so-called raw ethernet QPs.
Remove unused E-switch related routines and files while at it.
Sponsored by: Mellanox Technologies MFC after: 1 week
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
| #
66d53750 |
| 27-Jan-2017 |
Hans Petter Selasky <[email protected]> |
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 th
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
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
1a27b3ad |
| 27-Jul-2016 |
Bryan Drewery <[email protected]> |
opt_random.h was removed in r287558 for opt_global.h
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
|
Revision tags: release/10.3.0 |
|
| #
98a998d5 |
| 07-Dec-2015 |
Hans Petter Selasky <[email protected]> |
Update the mlx5 shared driver code to the latest version, which include the following list of changes:
- Added eswitch ACL table management Introduce API for managing ACL table. This API include
Update the mlx5 shared driver code to the latest version, which include the following list of changes:
- Added eswitch ACL table management Introduce API for managing ACL table. This API include the following features: 1) vlan filter - for VST/VGT+ support. 2) spoofcheck. 3) robust functionality to allow/drop general untagged/tagged traffic. 4) support for both ingress and egress ACL types.
- Added loopback filter to the vacl table.
- Added multicast list set in the vPort context
- Added promiscuous mode set in the vPort context
- Set the vlan list in vPort context 1) Check caps if VLAN list is not longer than FW supports 2) Set MODIFY_NIC_VPORT_CONTEXT command
- Changed MLX5_EEPROM_MAX_BYTES from 48 to 32 so that a single EEPROM reading cannot cross the 128-byte boundary. Previously reading the MCIA register was done in batches of 48 bytes. The third reading would then by-pass the 127th byte, which means that part of the low page and part of the high page would be read at the same time, which created a bug: 1st: 0-47 bytes 2nd: 48-95 bytes 3rd: 96-143 bytes
MFC after: 1 week Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4411
show more ...
|
| #
278ce1c9 |
| 07-Dec-2015 |
Hans Petter Selasky <[email protected]> |
Add full support for Receive Side Scaling, RSS, to the mlx5en driver. This includes binding all interrupt and worker threads according to the RSS configuration, setting up correct Toeplitz hashing ke
Add full support for Receive Side Scaling, RSS, to the mlx5en driver. This includes binding all interrupt and worker threads according to the RSS configuration, setting up correct Toeplitz hashing keys as given by RSS and setting the correct mbuf hashtype for all received traffic.
MFC after: 1 week Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4410
show more ...
|
| #
dc7e38ac |
| 10-Nov-2015 |
Hans Petter Selasky <[email protected]> |
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
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
show more ...
|