RTE mbuf

Overview

Declarations of test API for RTE mbuf TAD. More…

// global functions

te_errno tapi_rte_mbuf_add_csap_layer(asn_value** csap_spec, const char* pkt_ring, const char* pkt_pool);

Detailed Documentation

Declarations of test API for RTE mbuf TAD.

Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

te_errno tapi_rte_mbuf_add_csap_layer(asn_value** csap_spec, const char* pkt_ring, const char* pkt_pool)

Add RTE mbuf pseudo-layer to CSAP specification

Parameters:

csap_spec

Location of CSAP specification pointer

pkt_ring

Name of RTE ring to be used by CSAP to enqueue and dequeue packets in RTE mbuf representation

pkt_pool

Name of RTE mempool to be used by CSAP on write for allocation of buffers in order to represent TAD packets as RTE mbuf chains

Status

code