Home
last modified time | relevance | path

Searched refs:set_caps (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Duverbs_std_types_qp.c64 static void set_caps(struct ib_qp_init_attr *attr, in set_caps() function
248 set_caps(&attr, &cap, true); in UVERBS_HANDLER()
268 set_caps(&attr, &cap, false); in UVERBS_HANDLER()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c427 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() function
460 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
508 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp()
566 return set_caps(dev, set_ctx, MLX5_CAP_GENERAL_2); in handle_hca_cap_2()
658 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE); in handle_hca_cap()
705 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ROCE); in handle_hca_cap_roce()
731 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_PORT_SELECTION); in handle_hca_cap_port_selection()
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1259 u8 set_caps = 0, clr_caps = 0; in qede_set_rss_flags() local
1280 set_caps = QED_RSS_IPV4_UDP; in qede_set_rss_flags()
1295 set_caps = QED_RSS_IPV6_UDP; in qede_set_rss_flags()
1335 if (edev->rss_caps == ((edev->rss_caps & ~clr_caps) | set_caps)) in qede_set_rss_flags()
1339 edev->rss_caps = ((edev->rss_caps & ~clr_caps) | set_caps); in qede_set_rss_flags()