Searched refs:MLX5_CAP_ETH (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | ipsec_offload.h | 26 MLX5_CAP_ETH(mdev, insert_trailer); in mlx5_is_ipsec_device()
|
/Linux-v5.10/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 | 152 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/ |
D | ipsec.c | 539 !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/ |
D | en_main.c | 72 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 …]
|
D | en.h | 981 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()
|
D | en_fs.c | 779 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()
|
D | vport.c | 109 switch (MLX5_CAP_ETH(mdev, wqe_inline_mode)) { in mlx5_query_min_inline()
|
D | eswitch_offloads.c | 1608 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()
|
D | en_ethtool.c | 1918 if (enable && !MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) in set_pflag_tx_mpwqe_common()
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | main.c | 859 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 …]
|
D | qp.c | 1233 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/ |
D | device.h | 1198 #define MLX5_CAP_ETH(mdev, cap) \ macro
|