Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/ofed/drivers/net/mlx4/
Den_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()
Dmain.c2218 struct counter_index *new_counter_index; in mlx4_init_counters_table()
2241 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2261 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2274 new_counter_index = kmalloc(sizeof(struct counter_index), GFP_KERNEL); in mlx4_init_counters_table()
2310 struct counter_index *port, *tmp_port; in mlx4_cleanup_counters_table()
2311 struct counter_index *vf, *tmp_vf; in mlx4_cleanup_counters_table()
2349 struct counter_index *vf, *tmp_vf; in __mlx4_slave_counters_free()
2387 struct counter_index *new_counter_index; in __mlx4_counter_alloc()
2414 struct counter_index, in __mlx4_counter_alloc()
2418 struct counter_index, in __mlx4_counter_alloc()
[all …]
Den_netdev.c1287 priv->counter_index = mdev->dev->caps.def_counter_index[priv->port - 1]; in mlx4_en_start_port()
1290 __func__, priv->counter_index, priv->port); in mlx4_en_start_port()
1437 if (priv->counter_index != 0xff) { in mlx4_en_stop_port()
1438 mlx4_counter_free(mdev->dev, priv->port, priv->counter_index); in mlx4_en_stop_port()
1439 priv->counter_index = 0xff; in mlx4_en_stop_port()
2069 priv->counter_index = 0xff; in mlx4_en_init_netdev()
Dmlx4.h804 struct counter_index { struct
977 u8 counter_index);
Dmlx4_en.h584 u32 counter_index; member
Dresource_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()
Den_port.c177 priv->counter_index == 0xff) in mlx4_en_DUMP_ETH_STATS()
/freebsd-9-stable/sys/ofed/include/linux/mlx4/
Dqp.h150 u8 counter_index; member
/freebsd-9-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmad.c936 int mlx4_ib_query_if_stat(struct mlx4_ib_dev *dev, u32 counter_index, in mlx4_ib_query_if_stat() argument
941 u32 inmod = counter_index | ((clear & 1) << 31); in mlx4_ib_query_if_stat()
964 u32 counter_index = dev->counters[port_num - 1] & 0xffff; in iboe_process_mad() local
973 if (mlx4_ib_query_if_stat(dev, counter_index, counter, 0)) { in iboe_process_mad()
Dmlx4_ib.h721 int mlx4_ib_query_if_stat(struct mlx4_ib_dev *dev, u32 counter_index,
Dqp.c1838 context->pri_path.counter_index = in __mlx4_ib_modify_qp()
1842 context->pri_path.counter_index = 0xff; in __mlx4_ib_modify_qp()