1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright (c) 2022 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 }; 13 14 void accel_mlx5_get_default_attr(struct accel_mlx5_attr *attr); 15 int accel_mlx5_enable(struct accel_mlx5_attr *attr); 16