.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "EFADV_WR_SET_PROCESSING_HINTS" "3" "2026-05-05" "efa" "EFA Direct Verbs Manual"
.hy
.SH NAME
.PP
efadv_wr_set_processing_hints - Set processing hints on the current work
request
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/efadv.h>

static inline void efadv_wr_set_processing_hints(
    struct efadv_qp *efadv_qp,
    uint32_t hints);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]efadv_wr_set_processing_hints()\f[R] sets processing hints on the
current work request being built.
Hints allow the application to communicate intended usage patterns to
the device, which may use them to optimize processing.
.PP
This function is a work request setter and must be called after the work
request opcode function (e.g.\ \f[B]ibv_wr_send()\f[R]) and before
\f[B]ibv_wr_complete()\f[R] or the next work request opcode call.
.PP
Use \f[B]efadv_qp_from_ibv_qp_ex()\f[R] to get the efadv_qp for
accessing this interface.
.PP
The QP must be created with \f[B]EFADV_WR_EX_WITH_PROCESSING_HINTS\f[R]
set in \f[I]efadv_qp_init_attr.wr_flags\f[R] to use this function.
.PP
The \f[I]hints\f[R] argument is a bitmask of
\f[B]efadv_wr_processing_hint\f[R] values:
.IP
.nf
\f[C]
enum efadv_wr_processing_hint {
    EFADV_WR_PROCESSING_HINT_BURST_PPS_SENSITIVE = 1 << 0,
};
\f[R]
.fi
.TP
\f[I]EFADV_WR_PROCESSING_HINT_BURST_PPS_SENSITIVE\f[R]
Optimize for throughput in bursty, packet-rate sensitive workloads.
.SH SEE ALSO
.PP
\f[B]efadv\f[R](7), \f[B]efadv_create_qp_ex\f[R](3),
\f[B]ibv_wr_start\f[R](3)
.SH AUTHORS
.PP
Michael Margolin <mrgolin@amazon.com>
