.TH "rte_pmd_iavf.h" 3 "Version 25.11.0" "DPDK" \" -*- nroff -*-
.ad l
.nh
.SH NAME
rte_pmd_iavf.h
.SH SYNOPSIS
.br
.PP
\fR#include <stdio\&.h>\fP
.br
\fR#include <rte_compat\&.h>\fP
.br
\fR#include <rte_mbuf\&.h>\fP
.br
\fR#include <rte_mbuf_dyn\&.h>\fP
.br

.SS "Data Structures"

.in +1c
.ti -1c
.RI "union \fBrte_pmd_ifd_proto_xtr_metadata\fP"
.br
.in -1c
.SS "Macros"

.in +1c
.ti -1c
.RI "#define \fBRTE_PMD_IFD_DYNF_PROTO_XTR_METADATA\fP(m)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_VLAN\fP       (rte_pmd_ifd_dynflag_proto_xtr_vlan_mask)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV4\fP       (rte_pmd_ifd_dynflag_proto_xtr_ipv4_mask)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6\fP       (rte_pmd_ifd_dynflag_proto_xtr_ipv6_mask)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6_FLOW\fP       (rte_pmd_ifd_dynflag_proto_xtr_ipv6_flow_mask)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_TCP\fP       (rte_pmd_ifd_dynflag_proto_xtr_tcp_mask)"
.br
.ti -1c
.RI "#define \fBRTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IP_OFFSET\fP       (rte_pmd_ifd_dynflag_proto_xtr_ip_offset_mask)"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "__rte_experimental int \fBrte_pmd_iavf_reinit\fP (uint16_t port)"
.br
.ti -1c
.RI "static __rte_experimental \fB__rte_always_inline\fP int \fBrte_pmd_ifd_dynf_proto_xtr_metadata_avail\fP (void)"
.br
.ti -1c
.RI "static __rte_experimental \fB__rte_always_inline\fP uint32_t \fBrte_pmd_ifd_dynf_proto_xtr_metadata_get\fP (struct \fBrte_mbuf\fP *m)"
.br
.ti -1c
.RI "static __rte_experimental void \fBrte_pmd_ifd_dump_proto_xtr_metadata\fP (struct \fBrte_mbuf\fP *m)"
.br
.in -1c
.SH "Detailed Description"
.PP 
iavf PMD specific functions\&.

.PP
\fBEXPERIMENTAL:\fP this API may change, or be removed, without prior notiavf 
.PP
Definition in file \fBrte_pmd_iavf\&.h\fP\&.
.SH "Macro Definition Documentation"
.PP 
.SS "#define RTE_PMD_IFD_DYNF_PROTO_XTR_METADATA( m)"
\fBValue:\fP
.nf
    RTE_MBUF_DYNFIELD((m), \\
              rte_pmd_ifd_dynfield_proto_xtr_metadata_offs, \\
              uint32_t *)
.PP
.fi
The mbuf dynamic field pointer for flexible descriptor's extraction metadata\&. 
.PP
Definition at line \fB115\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_VLAN       (rte_pmd_ifd_dynflag_proto_xtr_vlan_mask)"
The mbuf dynamic flag for VLAN protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'vlan' specified\&. 
.PP
Definition at line \fB124\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV4       (rte_pmd_ifd_dynflag_proto_xtr_ipv4_mask)"
The mbuf dynamic flag for IPv4 protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv4' specified\&. 
.PP
Definition at line \fB131\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6       (rte_pmd_ifd_dynflag_proto_xtr_ipv6_mask)"
The mbuf dynamic flag for IPv6 protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv6' specified\&. 
.PP
Definition at line \fB138\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6_FLOW       (rte_pmd_ifd_dynflag_proto_xtr_ipv6_flow_mask)"
The mbuf dynamic flag for IPv6 with flow protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv6_flow' specified\&. 
.PP
Definition at line \fB145\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_TCP       (rte_pmd_ifd_dynflag_proto_xtr_tcp_mask)"
The mbuf dynamic flag for TCP protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'tcp' specified\&. 
.PP
Definition at line \fB152\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IP_OFFSET       (rte_pmd_ifd_dynflag_proto_xtr_ip_offset_mask)"
The mbuf dynamic flag for IP_OFFSET extraction metadata, it is valid when dev_args 'proto_xtr' has 'ip_offset' specified\&. 
.PP
Definition at line \fB159\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SH "Function Documentation"
.PP 
.SS "__rte_experimental int rte_pmd_iavf_reinit (uint16_t port)"
Request PF driver to initiate a PF-to-VF RESET and restore the device following the reset by reconfiguring and restarting the device\&. The port must be started before calling this function\&.

.PP
\fBParameters\fP
.RS 4
\fIport\fP The port identifier of the Ethernet device\&. 
.RE
.PP
\fBReturns\fP
.RS 4
0 if successful, otherwise if a failure occurs 
.RE
.PP

.SS "__rte_experimental \fB__rte_always_inline\fP int rte_pmd_ifd_dynf_proto_xtr_metadata_avail (void )\fR [static]\fP"
Check if mbuf dynamic field for flexible descriptor's extraction metadata is registered\&.

.PP
\fBReturns\fP
.RS 4
True if registered, false otherwise\&. 
.RE
.PP

.PP
Definition at line \fB171\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "__rte_experimental \fB__rte_always_inline\fP uint32_t rte_pmd_ifd_dynf_proto_xtr_metadata_get (struct \fBrte_mbuf\fP * m)\fR [static]\fP"
Get the mbuf dynamic field for flexible descriptor's extraction metadata\&.

.PP
\fBParameters\fP
.RS 4
\fIm\fP The pointer to the mbuf\&. 
.RE
.PP
\fBReturns\fP
.RS 4
The saved protocol extraction metadata\&. 
.RE
.PP

.PP
Definition at line \fB186\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SS "__rte_experimental void rte_pmd_ifd_dump_proto_xtr_metadata (struct \fBrte_mbuf\fP * m)\fR [inline]\fP, \fR [static]\fP"
Dump the mbuf dynamic field for flexible descriptor's extraction metadata\&.

.PP
\fBParameters\fP
.RS 4
\fIm\fP The pointer to the mbuf\&. 
.RE
.PP

.PP
Definition at line \fB199\fP of file \fBrte_pmd_iavf\&.h\fP\&.
.SH "Author"
.PP 
Generated automatically by Doxygen for DPDK from the source code\&.
