Home
last modified time | relevance | path

Searched refs:counter_index (Results 1 – 19 of 19) sorted by relevance

/NextBSD/sys/ofed/drivers/net/mlx4/
HDen_resources.c66 context->pri_path.counter_index = (u8)(priv->counter_index); in mlx4_en_fill_qp_context()
69 context->pri_path.counter_index != 0xFF) { in mlx4_en_fill_qp_context()
HDmain.c2169 struct counter_index *new_counter_index; in mlx4_init_counters_table()
2192 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2212 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2225 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2261 struct counter_index *port, *tmp_port; in mlx4_cleanup_counters_table()
2262 struct counter_index *vf, *tmp_vf; in mlx4_cleanup_counters_table()
2300 struct counter_index *vf, *tmp_vf; in __mlx4_slave_counters_free()
2338 struct counter_index *new_counter_index; in __mlx4_counter_alloc()
2365 struct counter_index, in __mlx4_counter_alloc()
2369 struct counter_index, in __mlx4_counter_alloc()
[all …]
HDen_netdev.c1291 priv->counter_index = mdev->dev->caps.def_counter_index[priv->port - 1]; in mlx4_en_start_port()
1294 __func__, priv->counter_index, priv->port); in mlx4_en_start_port()
1443 if (priv->counter_index != 0xff) { in mlx4_en_stop_port()
1444 mlx4_counter_free(mdev->dev, priv->port, priv->counter_index); in mlx4_en_stop_port()
1445 priv->counter_index = 0xff; in mlx4_en_stop_port()
2072 priv->counter_index = 0xff; in mlx4_en_init_netdev()
HDmlx4.h804 struct counter_index { struct
977 u8 counter_index);
HDmlx4_en.h589 u32 counter_index; member
HDresource_tracker.c640 struct counter_index *counter, *tmp_counter; in check_counter_index_validity()
677 qpc->pri_path.counter_index != MLX4_SINK_COUNTER_INDEX) { in update_vport_qp_param()
679 qpc->pri_path.counter_index)) in update_vport_qp_param()
684 __func__, qpc->pri_path.counter_index, slave, port); in update_vport_qp_param()
690 qpc->pri_path.counter_index != 0xFF) { in update_vport_qp_param()
HDen_port.c143 priv->counter_index == 0xff) in mlx4_en_DUMP_ETH_STATS()
/NextBSD/sys/dev/ifmlx4/
HDen_resources.c66 context->pri_path.counter_index = (u8)(priv->counter_index); in mlx4_en_fill_qp_context()
69 context->pri_path.counter_index != 0xFF) { in mlx4_en_fill_qp_context()
HDmain.c2134 struct counter_index *new_counter_index; in mlx4_init_counters_table()
2157 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2177 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2190 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2226 struct counter_index *port, *tmp_port; in mlx4_cleanup_counters_table()
2227 struct counter_index *vf, *tmp_vf; in mlx4_cleanup_counters_table()
2265 struct counter_index *vf, *tmp_vf; in __mlx4_slave_counters_free()
2303 struct counter_index *new_counter_index; in __mlx4_counter_alloc()
2330 struct counter_index, in __mlx4_counter_alloc()
2334 struct counter_index, in __mlx4_counter_alloc()
[all …]
HDen_netdev.c1291 priv->counter_index = mdev->dev->caps.def_counter_index[priv->port - 1]; in mlx4_en_start_port()
1294 __func__, priv->counter_index, priv->port); in mlx4_en_start_port()
1443 if (priv->counter_index != 0xff) { in mlx4_en_stop_port()
1444 mlx4_counter_free(mdev->dev, priv->port, priv->counter_index); in mlx4_en_stop_port()
1445 priv->counter_index = 0xff; in mlx4_en_stop_port()
2031 priv->counter_index = 0xff; in mlx4_en_init_netdev()
HDmlx4.h797 struct counter_index { struct
969 u8 counter_index);
HDmlx4_en.h617 u32 counter_index; member
HDresource_tracker.c640 struct counter_index *counter, *tmp_counter; in check_counter_index_validity()
677 qpc->pri_path.counter_index != MLX4_SINK_COUNTER_INDEX) { in update_vport_qp_param()
679 qpc->pri_path.counter_index)) in update_vport_qp_param()
684 __func__, qpc->pri_path.counter_index, slave, port); in update_vport_qp_param()
690 qpc->pri_path.counter_index != 0xFF) { in update_vport_qp_param()
HDen_port.c143 priv->counter_index == 0xff) in mlx4_en_DUMP_ETH_STATS()
/NextBSD/sys/ofed/include/linux/mlx4/
HDqp.h150 u8 counter_index; member
/NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/
HDmlx4_ib.h552 int counter_index; member
774 int mlx4_ib_query_if_stat(struct mlx4_ib_dev *dev, u32 counter_index,
HDmain.c2420 &ibdev->counters[i].counter_index); in mlx4_ib_add()
2422 ibdev->counters[i].counter_index = ((i + 1) << 1) - 1; in mlx4_ib_add()
2428 __func__, ibdev->counters[i].counter_index, i+1); in mlx4_ib_add()
2430 ibdev->counters[i].counter_index = MLX4_SINK_COUNTER_INDEX; in mlx4_ib_add()
2554 ibdev->counters[i - 1].counter_index); in mlx4_ib_add()
2689 ibdev->counters[p].counter_index); in mlx4_ib_remove()
HDmad.c956 int mlx4_ib_query_if_stat(struct mlx4_ib_dev *dev, u32 counter_index, in mlx4_ib_query_if_stat() argument
961 u32 inmod = counter_index | ((clear & 1) << 31); in mlx4_ib_query_if_stat()
984 u32 counter_index = dev->counters[port_num - 1].counter_index & 0xffff; in iboe_process_mad() local
999 if (mlx4_ib_query_if_stat(dev, counter_index, counter, 0)) in iboe_process_mad()
HDqp.c1854 if (dev->counters[qp->port - 1].counter_index != -1) { in __mlx4_ib_modify_qp()
1855 context->pri_path.counter_index = in __mlx4_ib_modify_qp()
1856 dev->counters[qp->port - 1].counter_index; in __mlx4_ib_modify_qp()
1859 context->pri_path.counter_index = 0xff; in __mlx4_ib_modify_qp()
1912 context->alt_path.counter_index = dev->counters[attr->alt_port_num - 1].counter_index; in __mlx4_ib_modify_qp()