opnsense-src/sys/dev/mlx5/mlx5_core
Patrisious Haddad 0cd90ee598 mlx5: Fix HCA cap 2 query
Previously we were trying to set hca_cap_2 without checking if
sw_vhca_id_valid max value, which is the only settable value inside
hca_cap_2, and seeing that we dont have driver support for sw_vhca_id
yet there is no need to set hca_cap_2 at all, it is enough to query it.

Fixes: 7b959396ca ("mlx5: Introduce new destination type TABLE_TYPE")
MFC after:	3 days
2023-12-03 10:21:44 +02:00
..
diag_cnt.h mlx5: Implement diagostic counters as sysctl(8) nodes. 2023-04-18 15:01:07 +02:00
eswitch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
flow_table.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fs_core.h mlx5: add fs_counters 2023-11-16 01:08:17 +02:00
fs_tcp.h mlx5: Implement flow steering helper functions for TCP sockets. 2022-02-01 16:21:16 +01:00
mlx5_alloc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_cmd.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_core.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_cq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_diag_cnt.c mlx5: Implement diagostic counters as sysctl(8) nodes. 2023-04-18 15:01:07 +02:00
mlx5_diagnostics.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_eq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_eswitch.c mlx5: Use software enum in APIs instead of PRM 2023-11-16 01:08:16 +02:00
mlx5_fc_cmd.c mlx5: add fs_counters 2023-11-16 01:08:17 +02:00
mlx5_fc_cmd.h mlx5: add fs_counters 2023-11-16 01:08:17 +02:00
mlx5_fs_cmd.c mlx5: add ability to attach flow counter to steering rule 2023-11-16 01:08:17 +02:00
mlx5_fs_counters.c mlx5: add fs_counters 2023-11-16 01:08:17 +02:00
mlx5_fs_tcp.c mlx5: Use software enum in APIs instead of PRM 2023-11-16 01:08:16 +02:00
mlx5_fs_tree.c mlx5_core: fix deadlock when using RXTLS 2023-11-16 12:17:41 +01:00
mlx5_fw.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_fwdump.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mlx5_health.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mad.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_main.c mlx5: Fix HCA cap 2 query 2023-12-03 10:21:44 +02:00
mlx5_mcg.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mpfs.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mr.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_pagealloc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_pd.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_port.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_qp.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_rl.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_srq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_tls.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_transobj.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_uar.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_vport.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_vsc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_wq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
transobj.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
wq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00