table of contents
        
      
      
    | rte_swx_port.h(3) | DPDK | rte_swx_port.h(3) | 
NAME¶
rte_swx_port.h
SYNOPSIS¶
#include <stdint.h>
Data Structures¶
struct rte_swx_pkt
  
  struct rte_swx_port_in_stats
  
  struct rte_swx_port_in_ops
  
  struct rte_swx_port_out_stats
  
  struct rte_swx_port_out_ops
  
  
Typedefs¶
typedef void *(* rte_swx_port_in_create_t) (void
    *args)
  
  typedef void(* rte_swx_port_in_free_t) (void *port)
  
  typedef int(* rte_swx_port_in_pkt_rx_t) (void *port, struct
    rte_swx_pkt *pkt)
  
  typedef void(* rte_swx_port_in_stats_read_t) (void *port, struct
    rte_swx_port_in_stats *stats)
  
  typedef void *(* rte_swx_port_out_create_t) (void *args)
  
  typedef void(* rte_swx_port_out_free_t) (void *port)
  
  typedef void(* rte_swx_port_out_pkt_tx_t) (void *port, struct
    rte_swx_pkt *pkt)
  
  typedef void(* rte_swx_port_out_pkt_fast_clone_tx_t) (void
    *port, struct rte_swx_pkt *pkt)
  
  typedef void(* rte_swx_port_out_pkt_clone_tx_t) (void *port,
    struct rte_swx_pkt *pkt, uint32_t truncation_length)
  
  typedef void(* rte_swx_port_out_flush_t) (void *port)
  
  typedef void(* rte_swx_port_out_stats_read_t) (void *port,
    struct rte_swx_port_out_stats *stats)
  
  
Detailed Description¶
RTE SWX Port
Packet I/O port interface.
Definition in file rte_swx_port.h.
Typedef Documentation¶
typedef void*(* rte_swx_port_in_create_t) (void *args)¶
Input port create
Parameters
Returns
Definition at line 47 of file rte_swx_port.h.
typedef void(* rte_swx_port_in_free_t) (void *port)¶
Input port free
Parameters
Definition at line 56 of file rte_swx_port.h.
typedef int(* rte_swx_port_in_pkt_rx_t) (void *port, struct rte_swx_pkt *pkt)¶
Input port packet receive
Parameters
pkt Received packet. Only valid when the function returns 1. Must point to valid memory.
Returns
Definition at line 71 of file rte_swx_port.h.
typedef void(* rte_swx_port_in_stats_read_t) (void *port, struct rte_swx_port_in_stats *stats)¶
Input port statistics counters read
Parameters
stats Input port statistics counters. Must point to valid memory.
Definition at line 95 of file rte_swx_port.h.
typedef void*(* rte_swx_port_out_create_t) (void *args)¶
Output port create
Parameters
Returns
Definition at line 126 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_free_t) (void *port)¶
Output port free
Parameters
Definition at line 135 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_pkt_tx_t) (void *port, struct rte_swx_pkt *pkt)¶
Output port packet transmit
Parameters
pkt Packet to be transmitted.
Definition at line 146 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_pkt_fast_clone_tx_t) (void *port, struct rte_swx_pkt *pkt)¶
Output port packet fast clone and transmit
Parameters
pkt Packet to be transmitted.
Definition at line 158 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_pkt_clone_tx_t) (void *port, struct rte_swx_pkt *pkt, uint32_t truncation_length)¶
Output port packet clone and transmit
Parameters
pkt Packet to be transmitted.
truncation_length Packet length to be cloned.
Definition at line 172 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_flush_t) (void *port)¶
Output port flush
Parameters
Definition at line 183 of file rte_swx_port.h.
typedef void(* rte_swx_port_out_stats_read_t) (void *port, struct rte_swx_port_out_stats *stats)¶
Output port statistics counters read
Parameters
stats Output port statistics counters. Must point to valid memory.
Definition at line 215 of file rte_swx_port.h.
Author¶
Generated automatically by Doxygen for DPDK from the source code.
| Fri Dec 15 2023 | Version 23.11.0 |