mlx5dv_pp_alloc / mlx5dv_pp_free - Online Linux Manual PageSection : 3
Updated :
Source :
Note :
NAMEmlx5dv_pp_alloc - Allocates a packet pacing entry mlx5dv_pp_free - Frees a packet pacing entry
SYNOPSIS
#include <infiniband/mlx5dv.h>
struct mlx5dv_pp *
mlx5dv_pp_alloc(struct ibv_context *context,
size_t pp_context_sz,
const void *pp_context,
uint32_t flags);
void mlx5dv_pp_free(struct mlx5dv_pp *dv_pp);
DESCRIPTIONCreate / free a packet pacing entry which can be used for some device commands over the DEVX interface. The DEVX API enables direct access from the user space area to the mlx5 device driver, the packet pacing information is needed for few commands where a packet pacing index is needed.
ARGUMENTScontext RDMA device context to work on, need to be opened with DEVX support by using mlx5dv_open_device(). pp_context_sz Length of pp_context input buffer. pp_context Packet pacing context according to the device specification. flags MLX5DV_PP_ALLOC_FLAGS_DEDICATED_INDEX: allocate a dedicated index.
dv_pp
struct mlx5dv_pp {
uint16_t index;
};
index The device index to be used.
RETURN VALUEUpon success mlx5dv_pp_alloc returns a pointer to the created packet pacing object, on error NULL will be returned and errno will be set.
SEE ALSOmlx5dv_open_device, mlx5dv_devx_obj_create
AUTHORYishai Hadas <yishaih@mellanox.com> 0
Johanes Gumabo
Data Size : 6,762 byte
man-mlx5dv_pp_free.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 5 / 184,561
Visitor ID : :
Visitor IP : 3.133.109.141 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.