/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_io.c | 105 static int write_sq_ctxts(struct hinic_func_to_io *func_to_io, u16 base_qpn, in write_sq_ctxts() argument 132 base_qpn + qp->q_id); in write_sq_ctxts() 149 static int write_rq_ctxts(struct hinic_func_to_io *func_to_io, u16 base_qpn, in write_rq_ctxts() argument 176 base_qpn + qp->q_id); in write_rq_ctxts() 201 static int write_qp_ctxts(struct hinic_func_to_io *func_to_io, u16 base_qpn, in write_qp_ctxts() argument 204 return (write_sq_ctxts(func_to_io, base_qpn, num_qps) || in write_qp_ctxts() 205 write_rq_ctxts(func_to_io, base_qpn, num_qps)); in write_qp_ctxts() 372 u16 base_qpn, int num_qps, in hinic_io_create_qps() argument 427 err = write_qp_ctxts(func_to_io, base_qpn, num_qps); in hinic_io_create_qps()
|
D | hinic_hw_dev.c | 407 static int get_base_qpn(struct hinic_hwdev *hwdev, u16 *base_qpn) in get_base_qpn() argument 426 *base_qpn = cmd_base_qpn.qpn; in get_base_qpn() 448 u16 base_qpn; in hinic_hwdev_ifup() local 450 err = get_base_qpn(hwdev, &base_qpn); in hinic_hwdev_ifup() 463 func_to_io->global_qpn = base_qpn; in hinic_hwdev_ifup() 476 err = hinic_io_create_qps(func_to_io, base_qpn, num_qps, in hinic_hwdev_ifup()
|
D | hinic_hw_io.h | 110 u16 base_qpn, int num_qps,
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 280 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in __mlx4_qp_release_range() argument 285 if (mlx4_is_qp_reserved(dev, (u32) base_qpn)) in __mlx4_qp_release_range() 287 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range() 290 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in mlx4_qp_release_range() argument 299 set_param_l(&in_param, base_qpn); in mlx4_qp_release_range() 306 base_qpn, cnt); in mlx4_qp_release_range() 309 __mlx4_qp_release_range(dev, base_qpn, cnt); in mlx4_qp_release_range() 538 static int mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) in mlx4_CONF_SPECIAL_QP() argument 540 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
|
D | en_rx.c | 1215 &rss_map->base_qpn, flags, in mlx4_en_config_rss_steer() 1223 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer() 1235 priv->base_qpn = rss_map->indir_qp->qpn; in mlx4_en_config_rss_steer() 1247 err = mlx4_qp_alloc(mdev->dev, priv->base_qpn, rss_map->indir_qp); in mlx4_en_config_rss_steer() 1254 mlx4_en_fill_qp_context(priv, 0, 0, 0, 1, priv->base_qpn, in mlx4_en_config_rss_steer() 1265 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer() 1266 (rss_map->base_qpn)); in mlx4_en_config_rss_steer() 1267 rss_context->default_qpn = cpu_to_be32(rss_map->base_qpn); in mlx4_en_config_rss_steer() 1314 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_config_rss_steer() 1340 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_release_rss_steer()
|
D | en_netdev.c | 649 int *qpn = &priv->base_qpn; in mlx4_en_get_qp() 665 int base_qpn = mlx4_get_base_qpn(dev, priv->port); in mlx4_en_get_qp() local 666 *qpn = base_qpn + index; in mlx4_en_get_qp() 686 int qpn = priv->base_qpn; in mlx4_en_put_qp() 773 err = mlx4_en_replace_mac(priv, priv->base_qpn, in mlx4_en_do_set_mac() 912 priv->base_qpn, in mlx4_en_set_promisc_mode() 921 priv->base_qpn, in mlx4_en_set_promisc_mode() 931 priv->base_qpn, in mlx4_en_set_promisc_mode() 942 priv->base_qpn, in mlx4_en_set_promisc_mode() 979 priv->base_qpn, in mlx4_en_clear_promisc_mode() [all …]
|
D | port.c | 478 int index = qpn - info->base_qpn; in __mlx4_replace_mac() 1373 qpn_context->base_qpn = in mlx4_common_set_port() 1374 cpu_to_be32(port_info->base_qpn); in mlx4_common_set_port() 1380 port_info->base_qpn); in mlx4_common_set_port() 1385 port_info->base_qpn); in mlx4_common_set_port() 1642 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, in mlx4_SET_PORT_qpn_calc() argument 1659 context->base_qpn = cpu_to_be32(base_qpn); in mlx4_SET_PORT_qpn_calc() 1662 base_qpn); in mlx4_SET_PORT_qpn_calc() 1664 base_qpn); in mlx4_SET_PORT_qpn_calc()
|
D | mlx4_en.h | 444 int base_qpn; member 578 int base_qpn; member
|
D | mlx4.h | 817 __be32 base_qpn; member 845 int base_qpn; member 1036 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
|
D | main.c | 3108 info->base_qpn = mlx4_get_base_qpn(dev, port); in mlx4_init_port_info()
|
/linux-6.12.1/include/linux/mlx4/ |
D | qp.h | 127 __be32 base_qpn; member
|
D | device.h | 1153 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); 1406 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn,
|
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2095 rss_context->base_qpn = cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz); in fill_qp_rss_context()
|