/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | dev.c | 77 if (!MLX5_CAP_ETH(dev, csum_cap)) { in mlx5_eth_supported() 82 if (!MLX5_CAP_ETH(dev, max_lso_cap)) { in mlx5_eth_supported() 87 if (!MLX5_CAP_ETH(dev, vlan_cap)) { in mlx5_eth_supported() 92 if (!MLX5_CAP_ETH(dev, rss_ind_tbl_cap)) { in mlx5_eth_supported() 103 if (!MLX5_CAP_ETH(dev, self_lb_en_modifiable)) in mlx5_eth_supported()
|
H A D | en.h | 1102 return MLX5_CAP_ETH(mdev, swp) && in mlx5_tx_swp_supported() 1103 MLX5_CAP_ETH(mdev, swp_csum) && MLX5_CAP_ETH(mdev, swp_lso); in mlx5_tx_swp_supported() 1187 MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe); in mlx5e_tx_mpwqe_supported()
|
H A D | en_main.c | 80 MLX5_CAP_ETH(mdev, reg_umr_sq); in mlx5e_check_fragmented_striding_rq_cap() 1234 if (MLX5_CAP_ETH(mdev, cqe_checksum_full)) in mlx5e_open_rq() 1530 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_alloc_txqsq() 4646 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre); in mlx5e_tunnel_proto_supported_tx() 4649 return (MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip) || in mlx5e_tunnel_proto_supported_tx() 4650 MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx)); in mlx5e_tunnel_proto_supported_tx() 4988 return MLX5_CAP_ETH(mdev, lro_timer_supported_periods[i]); in mlx5e_choose_lro_timeout() 5150 if (!!MLX5_CAP_ETH(mdev, lro_cap) && in mlx5e_build_nic_netdev() 5151 !MLX5_CAP_ETH(mdev, tunnel_lro_vxlan) && in mlx5e_build_nic_netdev() 5152 !MLX5_CAP_ETH(mdev, tunnel_lro_gre) && in mlx5e_build_nic_netdev() [all …]
|
H A D | vport.c | 110 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline()
|
H A D | eswitch_offloads.c | 2196 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_eswitch_inline_mode_get() 3845 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_devlink_eswitch_inline_mode_set()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | vxlan.h | 42 return MLX5_CAP_ETH(mdev, max_vxlan_udp_ports) ?: 4; in mlx5_vxlan_max_udp_ports()
|
H A D | fs_ttc.c | 151 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre); in mlx5_tunnel_proto_supported_rx() 154 return (MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip) || in mlx5_tunnel_proto_supported_rx() 155 MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx)); in mlx5_tunnel_proto_supported_rx()
|
H A D | vxlan.c | 151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_mplsoudp.c | 66 if (!MLX5_CAP_ETH(priv->mdev, tunnel_stateless_mpls_over_udp) && in parse_tunnel()
|
H A D | params.c | 1255 MLX5_SET(sqc, sqc, reg_umr, MLX5_CAP_ETH(mdev, reg_umr_sq)); in mlx5e_build_icosq_param() 1271 MLX5_SET(sqc, sqc, reg_umr, MLX5_CAP_ETH(mdev, reg_umr_sq)); in mlx5e_build_async_icosq_param()
|
H A D | ptp.c | 341 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_ptp_alloc_txqsq()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 894 if (MLX5_CAP_ETH(mdev, csum_cap)) { in mlx5_ib_query_device() 900 if (MLX5_CAP_ETH(dev->mdev, vlan_cap)) in mlx5_ib_query_device() 905 max_tso = MLX5_CAP_ETH(mdev, max_lso_cap); in mlx5_ib_query_device() 951 MLX5_CAP_ETH(dev->mdev, scatter_fcs) && in mlx5_ib_query_device() 1108 if (MLX5_CAP_ETH(mdev, multi_pkt_send_wqe)) in mlx5_ib_query_device() 1138 if (MLX5_CAP_ETH(mdev, swp)) { in mlx5_ib_query_device() 1142 if (MLX5_CAP_ETH(mdev, swp_csum)) in mlx5_ib_query_device() 1146 if (MLX5_CAP_ETH(mdev, swp_lso)) in mlx5_ib_query_device() 1181 if (MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan)) in mlx5_ib_query_device() 1184 if (MLX5_CAP_ETH(mdev, tunnel_stateless_geneve_rx)) in mlx5_ib_query_device() [all …]
|
H A D | qp.c | 1382 if (MLX5_CAP_ETH(dev->mdev, multi_pkt_send_wqe)) in create_raw_packet_qp_sq() 1391 MLX5_CAP_ETH(dev->mdev, swp)) in create_raw_packet_qp_sq() 2914 cond = MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || in process_vendor_flags() 2915 MLX5_CAP_ETH(mdev, tunnel_stateless_gre) || in process_vendor_flags() 2916 MLX5_CAP_ETH(mdev, tunnel_stateless_geneve_rx); in process_vendor_flags() 3016 MLX5_CAP_ETH(mdev, scatter_fcs); in process_create_flags() 3021 MLX5_CAP_ETH(mdev, vlan_cap); in process_create_flags() 5266 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in create_rq() 5275 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, scatter_fcs))) { in create_rq() 5632 MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in mlx5_ib_modify_wq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 39 MLX5_CAP_ETH(mdev, insert_trailer) && MLX5_CAP_ETH(mdev, swp)) in mlx5_ipsec_device_caps()
|
H A D | ipsec.c | 1179 if (!MLX5_CAP_ETH(mdev, swp_csum)) { in mlx5e_ipsec_build_netdev() 1187 if (!MLX5_CAP_ETH(mdev, swp_lso)) { in mlx5e_ipsec_build_netdev()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | device.h | 1278 #define MLX5_CAP_ETH(mdev, cap) \ macro
|