Home
last modified time | relevance | path

Searched refs:umems (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dumem.c51 if (!xsk->umems) { in mlx5e_xsk_get_umems()
52 xsk->umems = kcalloc(MLX5E_MAX_NUM_CHANNELS, in mlx5e_xsk_get_umems()
53 sizeof(*xsk->umems), GFP_KERNEL); in mlx5e_xsk_get_umems()
54 if (unlikely(!xsk->umems)) in mlx5e_xsk_get_umems()
67 kfree(xsk->umems); in mlx5e_xsk_put_umems()
68 xsk->umems = NULL; in mlx5e_xsk_put_umems()
80 xsk->umems[ix] = umem; in mlx5e_xsk_add_umem()
86 xsk->umems[ix] = NULL; in mlx5e_xsk_remove_umem()
Dumem.h12 if (!xsk || !xsk->umems) in mlx5e_xsk_get_umem()
18 return xsk->umems[ix]; in mlx5e_xsk_get_umem()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h811 struct xdp_umem **umems; member