/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 216 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()
|
D | port.c | 159 *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()
|
D | en_netdev.c | 139 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 …]
|
D | en_rx.c | 868 &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()
|
D | mlx4_en.h | 362 int base_qpn; member 453 int base_qpn; member
|
D | mlx4.h | 662 __be32 base_qpn; member 694 int base_qpn; member 855 void __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt);
|
D | en_ethtool.c | 535 rss_map->base_qpn; in mlx4_en_get_rxfh_indir()
|
D | main.c | 1589 info->base_qpn = in mlx4_init_port_info()
|
/linux-3.4.99/include/linux/mlx4/ |
D | qp.h | 118 __be32 base_qpn; member
|
D | device.h | 593 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,
|