Searched refs:set_caps (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 398 static int set_caps(struct mlx5_core_dev *dev, void *in, int opmod) in set_caps() function 431 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic() 479 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp() 537 return set_caps(dev, set_ctx, MLX5_CAP_GENERAL_2); in handle_hca_cap_2() 626 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE); in handle_hca_cap() 670 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ROCE); in handle_hca_cap_roce() 696 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MODE_PORT_SELECTION); in handle_hca_cap_port_selection()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1242 u8 set_caps = 0, clr_caps = 0; in qede_set_rss_flags() local 1263 set_caps = QED_RSS_IPV4_UDP; in qede_set_rss_flags() 1278 set_caps = QED_RSS_IPV6_UDP; in qede_set_rss_flags() 1318 if (edev->rss_caps == ((edev->rss_caps & ~clr_caps) | set_caps)) in qede_set_rss_flags() 1322 edev->rss_caps = ((edev->rss_caps & ~clr_caps) | set_caps); in qede_set_rss_flags()
|