1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 3 */ 4 5 #include "spdk/stdinc.h" 6 7 struct accel_mlx5_attr { 8 /* The number of entries in qp submission/receive queue */ 9 uint16_t qp_size; 10 /* The number of requests in the global pool */ 11 uint32_t num_requests; 12 /* Comma separated list of allowed device names */ 13 char *allowed_devs; 14 }; 15 16 void accel_mlx5_get_default_attr(struct accel_mlx5_attr *attr); 17 int accel_mlx5_enable(struct accel_mlx5_attr *attr); 18