Searched refs:umems (Results 1 – 3 of 3) sorted by relevance
51 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()
12 if (!xsk || !xsk->umems) in mlx5e_xsk_get_umem()18 return xsk->umems[ix]; in mlx5e_xsk_get_umem()
811 struct xdp_umem **umems; member