* This API de-allocates a memory that originally could have been * allocated aligned or non-aligned. In Linux it is a wrapper * around free(). * * @param[in] addr * Pointer to address to free * */
| 273 | * |
| 274 | */ |
| 275 | static inline void |
| 276 | mlx5_os_free(void *addr) |
| 277 | { |
| 278 | free(addr); |
| 279 | } |
| 280 | |
| 281 | void |
| 282 | mlx5_set_context_attr(struct rte_device *dev, struct ibv_context *ctx); |