freebsd-dev/sys/dev/mlx5
Konstantin Belousov 01143ba118 ifcapnv: fix IFCAP2 usage
IFCAP2_XXX constants are integers, they do not need shift for the
definition.  But their usage as bitmask for if_capenable2 does require
shift.  Add convenience macro IFCAP2_BIT() for consumers.

Fix the only existing consumer, mlx5(4) RXTLS enable bits.

Reported by:	jhb
Reviewed by:	jhb, jhibbits, hselasky
Coverity CID:	1501659
Sponsored by:	NVIDIA networking
Differential revision:	https://reviews.freebsd.org/D37862
2023-01-03 11:48:16 +02:00
..
mlx5_accel
mlx5_core kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
mlx5_en ifcapnv: fix IFCAP2 usage 2023-01-03 11:48:16 +02:00
mlx5_fpga
mlx5_fpga_tools
mlx5_ib Fix unused variable warning in mlx5_ib_devx.c 2022-07-25 00:40:13 +02:00
mlx5_lib
cmd.h mlx5ib: Implement support for enabling and disabling RoCE ECN. 2021-07-12 14:22:33 +02:00
cq.h Update user access region, UAR, APIs in the core in mlx5core. 2021-01-08 13:33:46 +01:00
device.h mlx5en: Implement TLS RX support. 2022-02-01 16:21:17 +01:00
diagnostics.h
doorbell.h
driver.h mlx5/mlx5en: Add SQ remap support 2022-02-01 16:21:15 +01:00
fs.h mlx5: Implement offloads flowtable namespace. 2022-02-01 16:21:16 +01:00
mlx5_ifc.h mlx5en: Implement TLS RX support. 2022-02-01 16:21:17 +01:00
mlx5_rdma_if.h
mlx5io.h
mpfs.h
port.h mlx5en: Add missing media types for 100GBit/s, 200Gbit/s and 400Gbit/s. 2021-07-12 14:22:29 +02:00
qp.h mlx5/mlx5en: Add SQ remap support 2022-02-01 16:21:15 +01:00
srq.h ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
tls.h mlx5en: Implement helper functions to open and close TLS TIR context. 2022-02-01 16:21:15 +01:00
vport.h mlx5: Fix mismatch in array bounds. 2022-12-07 12:32:54 -08:00