Home
last modified time | relevance | path

Searched refs:MLX5_CAP_ETH (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c75 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()
Den.h1129 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()
Den_main.c106 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 …]
Dvport.c110 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline()
Deswitch_offloads.c2207 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/
Dvxlan.h42 return MLX5_CAP_ETH(mdev, max_vxlan_udp_ports) ?: 4; in mlx5_vxlan_max_udp_ports()
Dvxlan.c151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
Dfs_ttc.c201 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/
Dtc_tun_mplsoudp.c66 if (!MLX5_CAP_ETH(priv->mdev, tunnel_stateless_mpls_over_udp) && in parse_tunnel()
Dparams.c1098 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()
Dtxrx.h493 if (!MLX5_CAP_ETH(mdev, swp_csum_l4_partial) || !skb_is_gso(skb)) in mlx5e_swp_encap_csum_partial()
Dptp.c342 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_ptp_alloc_txqsq()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmain.c945 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 …]
Dqp.c1380 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/
Dipsec_offload.c40 MLX5_CAP_ETH(mdev, insert_trailer) && MLX5_CAP_ETH(mdev, swp)) in mlx5_ipsec_device_caps()
Dipsec.c1227 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/
Ddevice.h1302 #define MLX5_CAP_ETH(mdev, cap) \ macro