MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx4_mallocv_socket

Function mlx4_mallocv_socket

dpdk/drivers/net/mlx4/mlx4_utils.c:169–174  ·  view source on GitHub ↗

* Socket-aware version of mlx4_mallocv(). * * This function takes one additional parameter. * * @param socket * NUMA socket to allocate memory on. If SOCKET_ID_ANY is used, this * function will behave the same as mlx4_mallocv(). * * @see mlx4_mallocv() * @see rte_malloc_socket() */

Source from the content-addressed store, hash-verified

167 * @see rte_malloc_socket()
168 */
169size_t
170mlx4_mallocv_socket(const char *type, const struct mlx4_malloc_vec *vec,
171 unsigned int cnt, int socket)
172{
173 return mlx4_mallocv_inline(type, vec, cnt, 0, socket);
174}
175
176/**
177 * Combines the semantics of mlx4_mallocv_socket() with those of

Callers

nothing calls this directly

Calls 1

mlx4_mallocv_inlineFunction · 0.85

Tested by

no test coverage detected