Home
last modified time | relevance | path

Searched refs:base_qpn (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dqp.c216 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in __mlx4_qp_release_range() argument
221 if (mlx4_is_qp_reserved(dev, (u32) base_qpn)) in __mlx4_qp_release_range()
223 mlx4_bitmap_free_range(&qp_table->bitmap, base_qpn, cnt); in __mlx4_qp_release_range()
226 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) in mlx4_qp_release_range() argument
232 set_param_l(&in_param, base_qpn); in mlx4_qp_release_range()
239 " base:%d cnt:%d\n", base_qpn, cnt); in mlx4_qp_release_range()
242 __mlx4_qp_release_range(dev, base_qpn, cnt); in mlx4_qp_release_range()
384 static int mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) in mlx4_CONF_SPECIAL_QP() argument
386 return mlx4_cmd(dev, 0, base_qpn, 0, MLX4_CMD_CONF_SPECIAL_QP, in mlx4_CONF_SPECIAL_QP()
Dport.c159 *qpn = info->base_qpn + index; in mlx4_get_eth_qp()
360 int index = qpn - info->base_qpn; in mlx4_replace_mac()
630 qpn_context->base_qpn = in mlx4_common_set_port()
631 cpu_to_be32(port_info->base_qpn); in mlx4_common_set_port()
637 port_info->base_qpn); in mlx4_common_set_port()
642 port_info->base_qpn); in mlx4_common_set_port()
797 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, in mlx4_SET_PORT_qpn_calc() argument
817 context->base_qpn = cpu_to_be32(base_qpn); in mlx4_SET_PORT_qpn_calc()
820 base_qpn); in mlx4_SET_PORT_qpn_calc()
822 base_qpn); in mlx4_SET_PORT_qpn_calc()
Den_netdev.c139 priv->base_qpn, priv->mac); in mlx4_en_do_set_mac()
236 priv->base_qpn, 1); in mlx4_en_do_set_multicast()
238 err = mlx4_unicast_promisc_add(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
253 err = mlx4_multicast_promisc_add(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
280 priv->base_qpn, 0); in mlx4_en_do_set_multicast()
282 err = mlx4_unicast_promisc_remove(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
289 err = mlx4_multicast_promisc_remove(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
311 err = mlx4_multicast_promisc_add(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
321 err = mlx4_multicast_promisc_remove(mdev->dev, priv->base_qpn, in mlx4_en_do_set_multicast()
616 priv->mac, &priv->base_qpn); in mlx4_en_start_port()
[all …]
Den_rx.c868 &rss_map->base_qpn); in mlx4_en_config_rss_steer()
875 qpn = rss_map->base_qpn + i; in mlx4_en_config_rss_steer()
886 err = mlx4_qp_alloc(mdev->dev, priv->base_qpn, &rss_map->indir_qp); in mlx4_en_config_rss_steer()
892 mlx4_en_fill_qp_context(priv, 0, 0, 0, 1, priv->base_qpn, in mlx4_en_config_rss_steer()
903 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer()
904 (rss_map->base_qpn)); in mlx4_en_config_rss_steer()
905 rss_context->default_qpn = cpu_to_be32(rss_map->base_qpn); in mlx4_en_config_rss_steer()
934 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_config_rss_steer()
955 mlx4_qp_release_range(mdev->dev, rss_map->base_qpn, priv->rx_ring_num); in mlx4_en_release_rss_steer()
Dmlx4_en.h362 int base_qpn; member
453 int base_qpn; member
Dmlx4.h662 __be32 base_qpn; member
694 int base_qpn; member
855 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
Den_ethtool.c535 rss_map->base_qpn; in mlx4_en_get_rxfh_indir()
Dmain.c1589 info->base_qpn = in mlx4_init_port_info()
/linux-3.4.99/include/linux/mlx4/
Dqp.h118 __be32 base_qpn; member
Ddevice.h593 void mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
629 int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn,