Searched refs:devcom (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.c | 55 struct mlx5_devcom *devcom; in mlx5_devcom_alloc() local 57 devcom = kzalloc(sizeof(*devcom), GFP_KERNEL); in mlx5_devcom_alloc() 58 if (!devcom) in mlx5_devcom_alloc() 61 devcom->priv = priv; in mlx5_devcom_alloc() 62 devcom->idx = idx; in mlx5_devcom_alloc() 63 return devcom; in mlx5_devcom_alloc() 70 struct mlx5_devcom *devcom = NULL; in mlx5_devcom_register_device() local 111 devcom = mlx5_devcom_alloc(priv, idx); in mlx5_devcom_register_device() 112 if (!devcom) { in mlx5_devcom_register_device() 120 return devcom; in mlx5_devcom_register_device() [all …]
|
D | devcom.h | 20 void mlx5_devcom_unregister_device(struct mlx5_devcom *devcom); 22 void mlx5_devcom_register_component(struct mlx5_devcom *devcom, 26 void mlx5_devcom_unregister_component(struct mlx5_devcom *devcom, 29 int mlx5_devcom_send_event(struct mlx5_devcom *devcom, 34 void mlx5_devcom_set_paired(struct mlx5_devcom *devcom, 37 bool mlx5_devcom_is_paired(struct mlx5_devcom *devcom, 40 void *mlx5_devcom_get_peer_data(struct mlx5_devcom *devcom, 42 void mlx5_devcom_release_peer_data(struct mlx5_devcom *devcom,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 1947 struct mlx5_devcom *devcom = esw->dev->priv.devcom; in mlx5_esw_offloads_devcom_event() local 1968 mlx5_devcom_set_paired(devcom, MLX5_DEVCOM_ESW_OFFLOADS, true); in mlx5_esw_offloads_devcom_event() 1972 if (!mlx5_devcom_is_paired(devcom, MLX5_DEVCOM_ESW_OFFLOADS)) in mlx5_esw_offloads_devcom_event() 1975 mlx5_devcom_set_paired(devcom, MLX5_DEVCOM_ESW_OFFLOADS, false); in mlx5_esw_offloads_devcom_event() 1996 struct mlx5_devcom *devcom = esw->dev->priv.devcom; in esw_offloads_devcom_init() local 2004 mlx5_devcom_register_component(devcom, in esw_offloads_devcom_init() 2009 mlx5_devcom_send_event(devcom, in esw_offloads_devcom_init() 2016 struct mlx5_devcom *devcom = esw->dev->priv.devcom; in esw_offloads_devcom_cleanup() local 2021 mlx5_devcom_send_event(devcom, MLX5_DEVCOM_ESW_OFFLOADS, in esw_offloads_devcom_cleanup() 2024 mlx5_devcom_unregister_component(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in esw_offloads_devcom_cleanup()
|
D | main.c | 814 dev->priv.devcom = mlx5_devcom_register_device(dev); in mlx5_init_once() 815 if (IS_ERR(dev->priv.devcom)) in mlx5_init_once() 817 dev->priv.devcom); in mlx5_init_once() 918 mlx5_devcom_unregister_device(dev->priv.devcom); in mlx5_init_once() 943 mlx5_devcom_unregister_device(dev->priv.devcom); in mlx5_cleanup_once()
|
D | Makefile | 18 lib/devcom.o lib/pci_vsc.o lib/dm.o diag/fs_tracepoint.o \
|
D | en_tc.c | 1891 struct mlx5_devcom *devcom = dev->priv.devcom; in mlx5e_tc_del_fdb_peer_flow() local 1894 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_del_fdb_peer_flow() 1899 mlx5_devcom_release_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_del_fdb_peer_flow() 4590 bool esw_paired = mlx5_devcom_is_paired(esw_attr->in_mdev->priv.devcom, in is_peer_flow_needed() 4759 struct mlx5_devcom *devcom = priv->mdev->priv.devcom; in mlx5e_tc_add_fdb_peer_flow() local 4766 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_add_fdb_peer_flow() 4799 mlx5_devcom_release_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_tc_add_fdb_peer_flow() 5033 struct mlx5_devcom *devcom = priv->mdev->priv.devcom; in mlx5e_stats_flower() local 5066 peer_esw = mlx5_devcom_get_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_stats_flower() 5087 mlx5_devcom_release_peer_data(devcom, MLX5_DEVCOM_ESW_OFFLOADS); in mlx5e_stats_flower()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | driver.h | 581 struct mlx5_devcom *devcom; member
|