diff options
author | Maxim Mikityanskiy | 2019-06-26 16:35:24 +0200 |
---|---|---|
committer | Daniel Borkmann | 2019-06-27 22:53:26 +0200 |
commit | d57d76428ae9abca51fb89f9326da9d4b1cf8270 (patch) | |
tree | 4beba613d02a1578704d6b7eea7633648e5d7b59 /include/uapi/linux/rio_cm_cdev.h | |
parent | net/mlx5e: Attach/detach XDP program safely (diff) | |
download | kernel-qcow2-linux-d57d76428ae9abca51fb89f9326da9d4b1cf8270.tar.gz kernel-qcow2-linux-d57d76428ae9abca51fb89f9326da9d4b1cf8270.tar.xz kernel-qcow2-linux-d57d76428ae9abca51fb89f9326da9d4b1cf8270.zip |
xsk: Add API to check for available entries in FQ
Add a function that checks whether the Fill Ring has the specified
amount of descriptors available. It will be useful for mlx5e that wants
to check in advance, whether it can allocate a bulk of RX descriptors,
to get the best performance.
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/uapi/linux/rio_cm_cdev.h')
0 files changed, 0 insertions, 0 deletions