Home
last modified time | relevance | path

Searched refs:lag (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c86 static unsigned int nfp_fl_get_next_pkt_number(struct nfp_fl_lag *lag) in nfp_fl_get_next_pkt_number() argument
88 lag->pkt_num++; in nfp_fl_get_next_pkt_number()
89 lag->pkt_num &= NFP_FL_LAG_PKT_NUMBER_MASK; in nfp_fl_get_next_pkt_number()
91 return lag->pkt_num; in nfp_fl_get_next_pkt_number()
94 static void nfp_fl_increment_version(struct nfp_fl_lag *lag) in nfp_fl_increment_version() argument
97 lag->batch_ver += 2; in nfp_fl_increment_version()
98 lag->batch_ver &= NFP_FL_LAG_VERSION_MASK; in nfp_fl_increment_version()
101 if (!lag->batch_ver) in nfp_fl_increment_version()
102 lag->batch_ver += 2; in nfp_fl_increment_version()
106 nfp_fl_lag_group_create(struct nfp_fl_lag *lag, struct net_device *master) in nfp_fl_lag_group_create() argument
[all …]
Dmain.h455 void nfp_flower_lag_init(struct nfp_fl_lag *lag);
456 void nfp_flower_lag_cleanup(struct nfp_fl_lag *lag);
457 int nfp_flower_lag_reset(struct nfp_fl_lag *lag);
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c40 queue->lag = 0; in vmw_marker_queue_init()
84 queue->lag = 0; in vmw_marker_pull()
94 queue->lag = now - marker->submitted; in vmw_marker_pull()
113 queue->lag += now - queue->lag_time; in vmw_fifo_lag()
116 return queue->lag; in vmw_fifo_lag()
Dvmwgfx_drv.h282 u64 lag; member
/drivers/net/ethernet/mellanox/mlxsw/
Dpci_hw.h146 MLXSW_ITEM32(pci, cqe0, lag, 0x00, 23, 1);
147 MLXSW_ITEM32(pci, cqe12, lag, 0x00, 24, 1);
148 mlxsw_pci_cqe_item_helpers(lag, 0, 12, 12);
Dspectrum.c3491 struct mlxsw_sp_upper *lag; in mlxsw_sp_lag_index_get() local
3498 lag = mlxsw_sp_lag_get(mlxsw_sp, i); in mlxsw_sp_lag_index_get()
3499 if (lag->ref_count) { in mlxsw_sp_lag_index_get()
3500 if (lag->dev == lag_dev) { in mlxsw_sp_lag_index_get()
3554 struct mlxsw_sp_upper *lag; in mlxsw_sp_port_lag_join() local
3562 lag = mlxsw_sp_lag_get(mlxsw_sp, lag_id); in mlxsw_sp_port_lag_join()
3563 if (!lag->ref_count) { in mlxsw_sp_port_lag_join()
3567 lag->dev = lag_dev; in mlxsw_sp_port_lag_join()
3581 lag->ref_count++; in mlxsw_sp_port_lag_join()
3590 if (!lag->ref_count) in mlxsw_sp_port_lag_join()
[all …]
Dcore.c81 } lag; member
1917 mlxsw_core->lag.mapping = kzalloc(alloc_size, GFP_KERNEL); in __mlxsw_core_bus_device_register()
1918 if (!mlxsw_core->lag.mapping) { in __mlxsw_core_bus_device_register()
1995 kfree(mlxsw_core->lag.mapping); in __mlxsw_core_bus_device_register()
2066 kfree(mlxsw_core->lag.mapping); in mlxsw_core_bus_device_unregister()
2669 mlxsw_core->lag.mapping[index] = local_port; in mlxsw_core_lag_mapping_set()
2679 return mlxsw_core->lag.mapping[index]; in mlxsw_core_lag_mapping_get()
2692 if (mlxsw_core->lag.mapping[index] == local_port) in mlxsw_core_lag_mapping_clear()
2693 mlxsw_core->lag.mapping[index] = 0; in mlxsw_core_lag_mapping_clear()
Dspectrum_router.c77 bool lag; member
88 bool lag; member
1004 .common.lag = false, in mlxsw_sp_ipip_ol_ipip_lb_create()
6635 params->lag = mlxsw_sp_port->lagged; in mlxsw_sp_rif_subport_params_init()
6636 if (params->lag) in mlxsw_sp_rif_subport_params_init()
7391 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
7392 if (params->lag) in mlxsw_sp_rif_subport_setup()
7408 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
7409 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
Dreg.h6338 static inline void mlxsw_reg_ritr_sp_if_pack(char *payload, bool lag, in mlxsw_reg_ritr_sp_if_pack() argument
6341 mlxsw_reg_ritr_sp_if_lag_set(payload, lag); in mlxsw_reg_ritr_sp_if_pack()
/drivers/net/ethernet/mscc/
Docelot.c1220 int i, port, lag; in ocelot_set_aggr_pgids() local
1231 for (lag = 0; lag < ocelot->num_phys_ports; lag++) { in ocelot_set_aggr_pgids()
1236 bond_mask = ocelot->lags[lag]; in ocelot_set_aggr_pgids()
1259 static void ocelot_setup_lag(struct ocelot *ocelot, int lag) in ocelot_setup_lag() argument
1261 unsigned long bond_mask = ocelot->lags[lag]; in ocelot_setup_lag()
1271 ANA_PORT_PORT_CFG_PORTID_VAL(lag), in ocelot_setup_lag()
1281 int lag, lp; in ocelot_port_lag_join() local
1297 lag = port; in ocelot_port_lag_join()
1305 lag = lp; in ocelot_port_lag_join()
1309 ocelot_setup_lag(ocelot, lag); in ocelot_port_lag_join()
/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.h54 return dev->priv.lag; in mlx5_lag_dev_get()
Dlag.c531 dev->priv.lag = ldev; in mlx5_lag_dev_add_pf()
553 dev->priv.lag = NULL; in mlx5_lag_dev_remove_pf()
571 ldev = tmp_dev->priv.lag; in mlx5_lag_add()
DMakefile17 fs_counters.o rl.o lag.o dev.o events.o wq.o lib/gid.o \
/drivers/infiniband/core/
DMakefile15 trace.o lag.o
/drivers/scsi/aic7xxx/
Daic7xxx.seq1052 * FIFOEMP can lag LAST_SEG_DONE. Wait a few