Searched refs:set_caps (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/infiniband/core/ |
D | uverbs_std_types_qp.c | 64 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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 421 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() function 454 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic() 502 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp() 560 return set_caps(dev, set_ctx, MLX5_CAP_GENERAL_2); in handle_hca_cap_2() 652 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE); in handle_hca_cap() 699 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ROCE); in handle_hca_cap_roce() 725 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_PORT_SELECTION); in handle_hca_cap_port_selection()
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1259 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()
|