Home
last modified time | relevance | path

Searched refs:tracker (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c75 mlx5_infer_tx_enabled(&ldev->tracker, ldev->ports, enabled_ports, in lag_active_port_bits()
151 static void mlx5_infer_tx_disabled(struct lag_tracker *tracker, u8 num_ports, in mlx5_infer_tx_disabled() argument
158 if (!tracker->netdev_state[i].tx_enabled || in mlx5_infer_tx_disabled()
159 !tracker->netdev_state[i].link_up) in mlx5_infer_tx_disabled()
164 void mlx5_infer_tx_enabled(struct lag_tracker *tracker, u8 num_ports, in mlx5_infer_tx_enabled() argument
171 if (tracker->netdev_state[i].tx_enabled && in mlx5_infer_tx_enabled()
172 tracker->netdev_state[i].link_up) in mlx5_infer_tx_enabled()
177 mlx5_infer_tx_disabled(tracker, num_ports, ports, num_enabled); in mlx5_infer_tx_enabled()
182 struct lag_tracker *tracker, in mlx5_lag_print_mapping() argument
195 mlx5_infer_tx_enabled(tracker, ldev->ports, enabled_ports, in mlx5_lag_print_mapping()
[all …]
Dmp.c53 struct lag_tracker tracker = {}; in mlx5_lag_set_port_affinity() local
60 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
61 tracker.netdev_state[MLX5_LAG_P2].tx_enabled = true; in mlx5_lag_set_port_affinity()
62 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
63 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
66 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
67 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
68 tracker.netdev_state[MLX5_LAG_P2].tx_enabled = false; in mlx5_lag_set_port_affinity()
69 tracker.netdev_state[MLX5_LAG_P2].link_up = false; in mlx5_lag_set_port_affinity()
72 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = false; in mlx5_lag_set_port_affinity()
[all …]
Dlag.h79 struct lag_tracker tracker; member
119 struct lag_tracker *tracker);
121 struct lag_tracker *tracker,
131 void mlx5_infer_tx_enabled(struct lag_tracker *tracker, u8 num_ports,
Ddebugfs.c116 mlx5_infer_tx_enabled(&ldev->tracker, ldev->ports, ports, in mapping_show()
/drivers/vfio/pci/mlx5/
Dcmd.c76 mvdev->tracker.is_err = true; in set_tracker_error()
480 struct mlx5_vhca_page_tracker *tracker = &mvdev->tracker; in mlx5vf_create_tracker() local
516 ilog2(tracker->host_qp->tracked_page_size)); in mlx5vf_create_tracker()
518 ilog2(tracker->host_qp->max_msg_size)); in mlx5vf_create_tracker()
519 MLX5_SET(page_track, obj_context, reporting_qpn, tracker->fw_qp->qpn); in mlx5vf_create_tracker()
551 tracker->id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5vf_create_tracker()
640 tracker.cq.mcq)); in mlx5vf_cq_event()
646 struct mlx5_vhca_page_tracker *tracker = in mlx5vf_event_notifier() local
649 tracker, struct mlx5vf_pci_core_device, tracker); in mlx5vf_event_notifier()
663 if (qp_num != tracker->host_qp->qpn && in mlx5vf_event_notifier()
[all …]
Dcmd.h110 struct mlx5_vhca_page_tracker tracker; member
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c1003 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; in handle_unexisting_counter() local
1011 &tracker->slave_list[slave].res_list[RES_COUNTER], in handle_unexisting_counter()
1235 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; in mlx4_calc_vf_counters() local
1250 &tracker->slave_list[slave].res_list[RES_COUNTER], in mlx4_calc_vf_counters()
1285 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; in add_res_range() local
1286 struct rb_root *root = &tracker->res_tree[type]; in add_res_range()
1313 &tracker->slave_list[slave].res_list[type]); in add_res_range()
1471 struct mlx4_resource_tracker *tracker = &priv->mfunc.master.res_tracker; in rem_res_range() local
1476 r = res_tracker_lookup(&tracker->res_tree[type], i); in rem_res_range()
1491 r = res_tracker_lookup(&tracker->res_tree[type], i); in rem_res_range()
[all …]
/drivers/virt/vboxguest/
Dvboxguest_core.c502 static bool vbg_track_bit_usage(struct vbg_bit_usage_tracker *tracker, in vbg_track_bit_usage() argument
512 tracker->per_bit_usage[bit] -= 1; in vbg_track_bit_usage()
513 if (tracker->per_bit_usage[bit] == 0) { in vbg_track_bit_usage()
515 tracker->mask &= ~bitmask; in vbg_track_bit_usage()
518 tracker->per_bit_usage[bit] += 1; in vbg_track_bit_usage()
519 if (tracker->per_bit_usage[bit] == 1) { in vbg_track_bit_usage()
521 tracker->mask |= bitmask; in vbg_track_bit_usage()
/drivers/md/
Ddm-cache-target.c403 struct dm_io_tracker tracker; member
792 dm_iot_io_begin(&cache->tracker, pb->len); in accounted_begin()
800 dm_iot_io_end(&cache->tracker, pb->len); in accounted_complete()
1567 bool idle = dm_iot_idle_for(&cache->tracker, HZ); in spare_migration_bandwidth()
2533 dm_iot_init(&cache->tracker); in cache_create()
2755 WARN_ON(cache->tracker.in_flight); in cache_postsuspend()
DMakefile22 dm-cache-background-tracker.o
/drivers/usb/serial/
DKconfig582 tristate "Xsens motion tracker serial interface driver"
/drivers/perf/
Dxgene_pmu.c572 XGENE_PMU_EVENT_ATTR(tmaw-tracker-full, 0x2c),