Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec_offload.h26 MLX5_CAP_ETH(mdev, insert_trailer); in mlx5_is_ipsec_device()
/Linux-v5.10/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.c152 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c539 !MLX5_CAP_ETH(mdev, swp)) { in mlx5e_ipsec_build_netdev()
549 if (!MLX5_CAP_ETH(mdev, swp_csum)) { in mlx5e_ipsec_build_netdev()
558 !MLX5_CAP_ETH(mdev, swp_lso)) { in mlx5e_ipsec_build_netdev()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c72 MLX5_CAP_ETH(mdev, reg_umr_sq); in mlx5e_check_fragmented_striding_rq_cap()
883 if (MLX5_CAP_ETH(c->mdev, cqe_checksum_full)) in mlx5e_open_rq()
1171 if (!MLX5_CAP_ETH(mdev, wqe_vlan_insert)) in mlx5e_alloc_txqsq()
1243 if (MLX5_CAP_ETH(mdev, wqe_inline_mode) == MLX5_CAP_INLINE_MODE_VPORT_CONTEXT) in mlx5e_create_sq()
2307 MLX5_SET(sqc, sqc, reg_umr, MLX5_CAP_ETH(priv->mdev, reg_umr_sq)); in mlx5e_build_icosq_param()
4264 return MLX5_CAP_ETH(mdev, tunnel_stateless_mpls_over_gre); in mlx5e_gre_tunnel_inner_proto_offload_supported()
4606 !MLX5_CAP_ETH(mdev, csum_cap) || in mlx5e_check_required_hca_cap()
4607 !MLX5_CAP_ETH(mdev, max_lso_cap) || in mlx5e_check_required_hca_cap()
4608 !MLX5_CAP_ETH(mdev, vlan_cap) || in mlx5e_check_required_hca_cap()
4609 !MLX5_CAP_ETH(mdev, rss_ind_tbl_cap) || in mlx5e_check_required_hca_cap()
[all …]
Den.h981 return MLX5_CAP_ETH(mdev, swp) && in mlx5_tx_swp_supported()
982 MLX5_CAP_ETH(mdev, swp_csum) && MLX5_CAP_ETH(mdev, swp_lso); in mlx5_tx_swp_supported()
Den_fs.c779 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre); in mlx5e_tunnel_proto_supported()
782 return MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip); in mlx5e_tunnel_proto_supported()
Dvport.c109 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline()
Deswitch_offloads.c1608 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_eswitch_inline_mode_get()
2565 switch (MLX5_CAP_ETH(dev, wqe_inline_mode)) { in mlx5_devlink_eswitch_inline_mode_set()
Den_ethtool.c1918 if (enable && !MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) in set_pflag_tx_mpwqe_common()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmain.c859 if (MLX5_CAP_ETH(mdev, csum_cap)) { in mlx5_ib_query_device()
865 if (MLX5_CAP_ETH(dev->mdev, vlan_cap)) in mlx5_ib_query_device()
870 max_tso = MLX5_CAP_ETH(mdev, max_lso_cap); in mlx5_ib_query_device()
920 MLX5_CAP_ETH(dev->mdev, scatter_fcs) && in mlx5_ib_query_device()
1080 if (MLX5_CAP_ETH(mdev, multi_pkt_send_wqe)) in mlx5_ib_query_device()
1084 if (MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) in mlx5_ib_query_device()
1110 if (MLX5_CAP_ETH(mdev, swp)) { in mlx5_ib_query_device()
1114 if (MLX5_CAP_ETH(mdev, swp_csum)) in mlx5_ib_query_device()
1118 if (MLX5_CAP_ETH(mdev, swp_lso)) in mlx5_ib_query_device()
1153 if (MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan)) in mlx5_ib_query_device()
[all …]
Dqp.c1233 if (MLX5_CAP_ETH(dev->mdev, multi_pkt_send_wqe)) in create_raw_packet_qp_sq()
1241 MLX5_CAP_ETH(dev->mdev, swp)) in create_raw_packet_qp_sq()
2590 cond = MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || in process_vendor_flags()
2591 MLX5_CAP_ETH(mdev, tunnel_stateless_gre) || in process_vendor_flags()
2592 MLX5_CAP_ETH(mdev, tunnel_stateless_geneve_rx); in process_vendor_flags()
2696 MLX5_CAP_ETH(mdev, scatter_fcs); in process_create_flags()
2701 MLX5_CAP_ETH(mdev, vlan_cap); in process_create_flags()
4859 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in create_rq()
4868 if (!(has_net_offloads && MLX5_CAP_ETH(dev->mdev, scatter_fcs))) { in create_rq()
5227 MLX5_CAP_ETH(dev->mdev, vlan_cap))) { in mlx5_ib_modify_wq()
/Linux-v5.10/include/linux/mlx5/
Ddevice.h1198 #define MLX5_CAP_ETH(mdev, cap) \ macro