lag               239 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 	u64 lag;
lag                40 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c 	queue->lag = 0;
lag                84 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c 		queue->lag = 0;
lag                94 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c 		queue->lag = now - marker->submitted;
lag               113 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c 	queue->lag += now - queue->lag_time;
lag               116 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c 	return queue->lag;
lag               534 drivers/net/ethernet/mellanox/mlx5/core/lag.c 	dev->priv.lag = ldev;
lag               554 drivers/net/ethernet/mellanox/mlx5/core/lag.c 	dev->priv.lag = NULL;
lag               572 drivers/net/ethernet/mellanox/mlx5/core/lag.c 		ldev = tmp_dev->priv.lag;
lag                48 drivers/net/ethernet/mellanox/mlx5/core/lag.h 	return dev->priv.lag;
lag                77 drivers/net/ethernet/mellanox/mlxsw/core.c 	} lag;
lag              1151 drivers/net/ethernet/mellanox/mlxsw/core.c 		mlxsw_core->lag.mapping = kzalloc(alloc_size, GFP_KERNEL);
lag              1152 drivers/net/ethernet/mellanox/mlxsw/core.c 		if (!mlxsw_core->lag.mapping) {
lag              1211 drivers/net/ethernet/mellanox/mlxsw/core.c 	kfree(mlxsw_core->lag.mapping);
lag              1278 drivers/net/ethernet/mellanox/mlxsw/core.c 	kfree(mlxsw_core->lag.mapping);
lag              1829 drivers/net/ethernet/mellanox/mlxsw/core.c 	mlxsw_core->lag.mapping[index] = local_port;
lag              1839 drivers/net/ethernet/mellanox/mlxsw/core.c 	return mlxsw_core->lag.mapping[index];
lag              1852 drivers/net/ethernet/mellanox/mlxsw/core.c 		if (mlxsw_core->lag.mapping[index] == local_port)
lag              1853 drivers/net/ethernet/mellanox/mlxsw/core.c 			mlxsw_core->lag.mapping[index] = 0;
lag               143 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, lag, 0x00, 23, 1);
lag               144 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, lag, 0x00, 24, 1);
lag               145 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h mlxsw_pci_cqe_item_helpers(lag, 0, 12, 12);
lag              6050 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ritr_sp_if_pack(char *payload, bool lag,
lag              6053 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_ritr_sp_if_lag_set(payload, lag);
lag              5628 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_upper *lag;
lag              5635 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		lag = mlxsw_sp_lag_get(mlxsw_sp, i);
lag              5636 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		if (lag->ref_count) {
lag              5637 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			if (lag->dev == lag_dev) {
lag              5691 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_upper *lag;
lag              5699 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	lag = mlxsw_sp_lag_get(mlxsw_sp, lag_id);
lag              5700 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!lag->ref_count) {
lag              5704 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		lag->dev = lag_dev;
lag              5718 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	lag->ref_count++;
lag              5727 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (!lag->ref_count)
lag              5737 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct mlxsw_sp_upper *lag;
lag              5741 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	lag = mlxsw_sp_lag_get(mlxsw_sp, lag_id);
lag              5742 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	WARN_ON(lag->ref_count == 0);
lag              5754 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (lag->ref_count == 1)
lag              5760 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	lag->ref_count--;
lag               106 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	bool lag;
lag               117 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	bool lag;
lag              1018 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		.common.lag = false,
lag              6631 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	params->lag = mlxsw_sp_port->lagged;
lag              6632 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (params->lag)
lag              7348 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	rif_subport->lag = params->lag;
lag              7349 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (params->lag)
lag              7365 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag,
lag              7366 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				  rif_subport->lag ? rif_subport->lag_id :
lag              1541 drivers/net/ethernet/mscc/ocelot.c 	int i, port, lag;
lag              1552 drivers/net/ethernet/mscc/ocelot.c 	for (lag = 0; lag < ocelot->num_phys_ports; lag++) {
lag              1557 drivers/net/ethernet/mscc/ocelot.c 		bond_mask = ocelot->lags[lag];
lag              1580 drivers/net/ethernet/mscc/ocelot.c static void ocelot_setup_lag(struct ocelot *ocelot, int lag)
lag              1582 drivers/net/ethernet/mscc/ocelot.c 	unsigned long bond_mask = ocelot->lags[lag];
lag              1592 drivers/net/ethernet/mscc/ocelot.c 				 ANA_PORT_PORT_CFG_PORTID_VAL(lag),
lag              1602 drivers/net/ethernet/mscc/ocelot.c 	int lag, lp;
lag              1620 drivers/net/ethernet/mscc/ocelot.c 		lag = p;
lag              1628 drivers/net/ethernet/mscc/ocelot.c 		lag = lp;
lag              1632 drivers/net/ethernet/mscc/ocelot.c 	ocelot_setup_lag(ocelot, lag);
lag                86 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c static unsigned int nfp_fl_get_next_pkt_number(struct nfp_fl_lag *lag)
lag                88 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag->pkt_num++;
lag                89 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag->pkt_num &= NFP_FL_LAG_PKT_NUMBER_MASK;
lag                91 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	return lag->pkt_num;
lag                94 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c static void nfp_fl_increment_version(struct nfp_fl_lag *lag)
lag                97 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag->batch_ver += 2;
lag                98 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag->batch_ver &= NFP_FL_LAG_VERSION_MASK;
lag               101 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	if (!lag->batch_ver)
lag               102 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		lag->batch_ver += 2;
lag               106 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_group_create(struct nfp_fl_lag *lag, struct net_device *master)
lag               112 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               114 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	id = ida_simple_get(&lag->ida_handle, NFP_FL_LAG_GROUP_MIN,
lag               124 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		ida_simple_remove(&lag->ida_handle, id);
lag               135 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	group->group_inst = ++lag->global_inst;
lag               136 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	list_add_tail(&group->list, &lag->group_list);
lag               142 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_find_group_for_master_with_lag(struct nfp_fl_lag *lag,
lag               150 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	list_for_each_entry(entry, &lag->group_list, list)
lag               202 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_config_group(struct nfp_fl_lag *lag, struct nfp_fl_lag_group *group,
lag               212 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               226 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		nfp_fl_increment_version(lag);
lag               231 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	if (lag->rst_cfg) {
lag               241 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		lag->rst_cfg = false;
lag               253 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	cmsg_payload->batch_ver = cpu_to_be32(lag->batch_ver);
lag               254 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	cmsg_payload->pkt_number = cpu_to_be32(nfp_fl_get_next_pkt_number(lag));
lag               270 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	struct nfp_fl_lag *lag;
lag               274 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag = container_of(delayed_work, struct nfp_fl_lag, work);
lag               275 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               277 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_lock(&lag->lock);
lag               278 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	list_for_each_entry_safe(entry, storage, &lag->group_list, list) {
lag               287 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 			err = nfp_fl_lag_config_group(lag, entry, NULL, 0,
lag               295 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 				schedule_delayed_work(&lag->work,
lag               301 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 				ida_simple_remove(&lag->ida_handle,
lag               356 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		err = nfp_fl_lag_config_group(lag, entry, acti_netdevs,
lag               364 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 			schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY);
lag               373 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		err = nfp_fl_lag_config_group(lag, NULL, NULL, 0, &batch);
lag               379 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_unlock(&lag->lock);
lag               383 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_put_unprocessed(struct nfp_fl_lag *lag, struct sk_buff *skb)
lag               395 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	if (skb_queue_len(&lag->retrans_skbs) >= NFP_FL_LAG_RETRANS_LIMIT)
lag               398 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	__skb_queue_tail(&lag->retrans_skbs, skb);
lag               403 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c static void nfp_fl_send_unprocessed(struct nfp_fl_lag *lag)
lag               408 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               410 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	while ((skb = __skb_dequeue(&lag->retrans_skbs)))
lag               469 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_schedule_group_remove(struct nfp_fl_lag *lag,
lag               474 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY);
lag               478 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_schedule_group_delete(struct nfp_fl_lag *lag,
lag               484 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               489 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_lock(&lag->lock);
lag               490 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	group = nfp_fl_lag_find_group_for_master_with_lag(lag, master);
lag               492 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		mutex_unlock(&lag->lock);
lag               500 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_unlock(&lag->lock);
lag               502 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY);
lag               506 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_changeupper_event(struct nfp_fl_lag *lag,
lag               520 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               556 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_lock(&lag->lock);
lag               557 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	group = nfp_fl_lag_find_group_for_master_with_lag(lag, upper);
lag               562 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 			nfp_fl_lag_schedule_group_remove(lag, group);
lag               564 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		mutex_unlock(&lag->lock);
lag               569 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		group = nfp_fl_lag_group_create(lag, upper);
lag               571 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 			mutex_unlock(&lag->lock);
lag               581 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_unlock(&lag->lock);
lag               583 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY);
lag               588 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_changels_event(struct nfp_fl_lag *lag, struct net_device *netdev,
lag               604 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	priv = container_of(lag, struct nfp_flower_priv, nfp_lag);
lag               614 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_lock(&lag->lock);
lag               626 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_unlock(&lag->lock);
lag               628 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	schedule_delayed_work(&lag->work, NFP_FL_LAG_DELAY);
lag               635 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	struct nfp_fl_lag *lag = &priv->nfp_lag;
lag               640 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		err = nfp_fl_lag_changeupper_event(lag, ptr);
lag               645 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		nfp_fl_lag_changels_event(lag, netdev, ptr);
lag               648 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 		nfp_fl_lag_schedule_group_delete(lag, netdev);
lag               655 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c int nfp_flower_lag_reset(struct nfp_fl_lag *lag)
lag               659 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	lag->rst_cfg = true;
lag               660 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	return nfp_fl_lag_config_group(lag, NULL, NULL, 0, &batch);
lag               663 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c void nfp_flower_lag_init(struct nfp_fl_lag *lag)
lag               665 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	INIT_DELAYED_WORK(&lag->work, nfp_fl_lag_do_work);
lag               666 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	INIT_LIST_HEAD(&lag->group_list);
lag               667 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_init(&lag->lock);
lag               668 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	ida_init(&lag->ida_handle);
lag               670 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	__skb_queue_head_init(&lag->retrans_skbs);
lag               673 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	nfp_fl_increment_version(lag);
lag               676 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c void nfp_flower_lag_cleanup(struct nfp_fl_lag *lag)
lag               680 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	cancel_delayed_work_sync(&lag->work);
lag               682 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	__skb_queue_purge(&lag->retrans_skbs);
lag               685 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_lock(&lag->lock);
lag               686 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	list_for_each_entry_safe(entry, storage, &lag->group_list, list) {
lag               690 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_unlock(&lag->lock);
lag               691 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	mutex_destroy(&lag->lock);
lag               692 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c 	ida_destroy(&lag->ida_handle);
lag               401 drivers/net/ethernet/netronome/nfp/flower/main.h void nfp_flower_lag_init(struct nfp_fl_lag *lag);
lag               402 drivers/net/ethernet/netronome/nfp/flower/main.h void nfp_flower_lag_cleanup(struct nfp_fl_lag *lag);
lag               403 drivers/net/ethernet/netronome/nfp/flower/main.h int nfp_flower_lag_reset(struct nfp_fl_lag *lag);
lag               584 include/linux/mlx5/driver.h 	struct mlx5_lag		*lag;