/linux/drivers/net/ethernet/huawei/hinic/ |
A 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 428 err = write_qp_ctxts(func_to_io, base_qpn, num_qps); in hinic_io_create_qps()
|
A D | hinic_hw_dev.c | 414 static int get_base_qpn(struct hinic_hwdev *hwdev, u16 *base_qpn) in get_base_qpn() argument 433 *base_qpn = cmd_base_qpn.qpn; in get_base_qpn() 455 u16 base_qpn; in hinic_hwdev_ifup() local 457 err = get_base_qpn(hwdev, &base_qpn); in hinic_hwdev_ifup() 470 func_to_io->global_qpn = base_qpn; in hinic_hwdev_ifup() 483 err = hinic_io_create_qps(func_to_io, base_qpn, num_qps, in hinic_hwdev_ifup()
|
A D | hinic_hw_io.h | 110 u16 base_qpn, int num_qps,
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | qp.c | 275 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in __mlx4_qp_release_range() argument 280 if (mlx4_is_qp_reserved(dev, (u32) base_qpn)) in __mlx4_qp_release_range() 282 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range() 285 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in mlx4_qp_release_range() argument 294 set_param_l(&in_param, base_qpn); in mlx4_qp_release_range() 301 base_qpn, cnt); in mlx4_qp_release_range() 304 __mlx4_qp_release_range(dev, base_qpn, cnt); in mlx4_qp_release_range() 534 static int mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) in mlx4_CONF_SPECIAL_QP() argument 536 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
|
A D | en_rx.c | 1160 &rss_map->base_qpn, flags, in mlx4_en_config_rss_steer() 1168 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer() 1180 priv->base_qpn = rss_map->indir_qp->qpn; in mlx4_en_config_rss_steer() 1192 err = mlx4_qp_alloc(mdev->dev, priv->base_qpn, rss_map->indir_qp); in mlx4_en_config_rss_steer() 1199 mlx4_en_fill_qp_context(priv, 0, 0, 0, 1, priv->base_qpn, in mlx4_en_config_rss_steer() 1210 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer() 1211 (rss_map->base_qpn)); in mlx4_en_config_rss_steer() 1212 rss_context->default_qpn = cpu_to_be32(rss_map->base_qpn); in mlx4_en_config_rss_steer() 1259 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_config_rss_steer() 1285 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_release_rss_steer()
|
A D | en_netdev.c | 663 *qpn = base_qpn + index; in mlx4_en_get_qp() 683 int qpn = priv->base_qpn; in mlx4_en_put_qp() 909 priv->base_qpn, in mlx4_en_set_promisc_mode() 928 priv->base_qpn, in mlx4_en_set_promisc_mode() 939 priv->base_qpn, in mlx4_en_set_promisc_mode() 976 priv->base_qpn, in mlx4_en_clear_promisc_mode() 983 priv->base_qpn, in mlx4_en_clear_promisc_mode() 1023 priv->base_qpn, in mlx4_en_do_multicast() 1029 priv->base_qpn, in mlx4_en_do_multicast() 1174 priv->base_qpn, in mlx4_en_do_uc_filter() [all …]
|
A 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()
|
A D | mlx4_en.h | 432 int base_qpn; member 566 int base_qpn; member
|
A D | mlx4.h | 815 __be32 base_qpn; member 843 int base_qpn; member 1029 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
|
A D | main.c | 3057 info->base_qpn = mlx4_get_base_qpn(dev, port); in mlx4_init_port_info()
|
/linux/include/linux/mlx4/ |
A D | qp.h | 127 __be32 base_qpn; member
|
A D | device.h | 1133 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt); 1386 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn,
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | qp.c | 2056 rss_context->base_qpn = cpu_to_be32(qp->rss_ctx->base_qpn_tbl_sz); in fill_qp_rss_context()
|