/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | dev.c | 75 if (!MLX5_CAP_ETH(dev, csum_cap)) { in mlx5_eth_supported() 80 if (!MLX5_CAP_ETH(dev, max_lso_cap)) { in mlx5_eth_supported() 85 if (!MLX5_CAP_ETH(dev, vlan_cap)) { in mlx5_eth_supported() 90 if (!MLX5_CAP_ETH(dev, rss_ind_tbl_cap)) { in mlx5_eth_supported() 101 if (!MLX5_CAP_ETH(dev, self_lb_en_modifiable)) in mlx5_eth_supported()
|
D | en.h | 1129 return MLX5_CAP_ETH(mdev, swp) && in mlx5_tx_swp_supported() 1130 MLX5_CAP_ETH(mdev, swp_csum) && MLX5_CAP_ETH(mdev, swp_lso); in mlx5_tx_swp_supported() 1206 MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe); in mlx5e_tx_mpwqe_supported()
|
D | en_main.c | 106 MLX5_CAP_ETH(mdev, reg_umr_sq); in mlx5e_check_fragmented_striding_rq_cap() 1316 if (MLX5_CAP_ETH(mdev, cqe_checksum_full)) in mlx5e_open_rq() 1637 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_alloc_txqsq() 1703 if (MLX5_CAP_ETH(mdev, wqe_inline_mode) == MLX5_CAP_INLINE_MODE_VPORT_CONTEXT) in mlx5e_create_sq() 4853 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre); in mlx5e_tunnel_proto_supported_tx() 4856 return (MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip) || in mlx5e_tunnel_proto_supported_tx() 4857 MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx)); in mlx5e_tunnel_proto_supported_tx() 4873 return MLX5_CAP_ETH(mdev, tunnel_stateless_mpls_over_gre); in mlx5e_gre_tunnel_inner_proto_offload_supported() 5479 if (!!MLX5_CAP_ETH(mdev, lro_cap) && in mlx5e_build_nic_netdev() 5480 !MLX5_CAP_ETH(mdev, tunnel_lro_vxlan) && in mlx5e_build_nic_netdev() [all …]
|
D | vport.c | 110 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline()
|
D | eswitch_offloads.c | 2207 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_eswitch_inline_mode_get() 3866 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_devlink_eswitch_inline_mode_set()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | vxlan.h | 42 return MLX5_CAP_ETH(mdev, max_vxlan_udp_ports) ?: 4; in mlx5_vxlan_max_udp_ports()
|
D | vxlan.c | 151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
|
D | fs_ttc.c | 201 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre); in mlx5_tunnel_proto_supported_rx() 204 return (MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip) || in mlx5_tunnel_proto_supported_rx() 205 MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx)); in mlx5_tunnel_proto_supported_rx()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_mplsoudp.c | 66 if (!MLX5_CAP_ETH(priv->mdev, tunnel_stateless_mpls_over_udp) && in parse_tunnel()
|
D | params.c | 1098 if (MLX5_CAP_ETH(mdev, lro_timer_supported_periods[i]) >= wanted_timeout) in mlx5e_choose_lro_timeout() 1101 return MLX5_CAP_ETH(mdev, lro_timer_supported_periods[i]); in mlx5e_choose_lro_timeout() 1211 MLX5_SET(sqc, sqc, reg_umr, MLX5_CAP_ETH(mdev, reg_umr_sq)); in mlx5e_build_icosq_param() 1227 MLX5_SET(sqc, sqc, reg_umr, MLX5_CAP_ETH(mdev, reg_umr_sq)); in mlx5e_build_async_icosq_param()
|
D | txrx.h | 493 if (!MLX5_CAP_ETH(mdev, swp_csum_l4_partial) || !skb_is_gso(skb)) in mlx5e_swp_encap_csum_partial()
|
D | ptp.c | 342 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_ptp_alloc_txqsq()
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | main.c | 945 if (MLX5_CAP_ETH(mdev, csum_cap)) { in mlx5_ib_query_device() 951 if (MLX5_CAP_ETH(dev->mdev, vlan_cap)) in mlx5_ib_query_device() 956 max_tso = MLX5_CAP_ETH(mdev, max_lso_cap); in mlx5_ib_query_device() 1002 MLX5_CAP_ETH(dev->mdev, scatter_fcs) && in mlx5_ib_query_device() 1159 if (MLX5_CAP_ETH(mdev, multi_pkt_send_wqe)) in mlx5_ib_query_device() 1163 if (MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) in mlx5_ib_query_device() 1189 if (MLX5_CAP_ETH(mdev, swp)) { in mlx5_ib_query_device() 1193 if (MLX5_CAP_ETH(mdev, swp_csum)) in mlx5_ib_query_device() 1197 if (MLX5_CAP_ETH(mdev, swp_lso)) in mlx5_ib_query_device() 1232 if (MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan)) in mlx5_ib_query_device() [all …]
|
D | qp.c | 1380 if (MLX5_CAP_ETH(dev->mdev, multi_pkt_send_wqe)) in create_raw_packet_qp_sq() 1389 MLX5_CAP_ETH(dev->mdev, swp)) in create_raw_packet_qp_sq() 2912 cond = MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || in process_vendor_flags() 2913 MLX5_CAP_ETH(mdev, tunnel_stateless_gre) || in process_vendor_flags() 2914 MLX5_CAP_ETH(mdev, tunnel_stateless_geneve_rx); in process_vendor_flags() 3006 MLX5_CAP_ETH(mdev, scatter_fcs); in process_create_flags() 3011 MLX5_CAP_ETH(mdev, vlan_cap); in process_create_flags() 5258 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in create_rq() 5267 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, scatter_fcs))) { in create_rq() 5624 MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in mlx5_ib_modify_wq()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_offload.c | 40 MLX5_CAP_ETH(mdev, insert_trailer) && MLX5_CAP_ETH(mdev, swp)) in mlx5_ipsec_device_caps()
|
D | ipsec.c | 1227 if (!MLX5_CAP_ETH(mdev, swp_csum)) { in mlx5e_ipsec_build_netdev() 1235 if (!MLX5_CAP_ETH(mdev, swp_lso)) { in mlx5e_ipsec_build_netdev()
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 1302 #define MLX5_CAP_ETH(mdev, cap) \ macro
|