enum tapi_rte_mbuf_cksum_mode

Overview

RTE mbuf SW checksum preparation modes More…

#include <tapi_rte_mbuf.h>

enum tapi_rte_mbuf_cksum_mode {
    TAPI_RTE_MBUF_CKSUM_RAND  = 0,
    TAPI_RTE_MBUF_CKSUM_GOOD,
    TAPI_RTE_MBUF_CKSUM_ZERO,
    TAPI_RTE_MBUF_CKSUM_MODES,
};

Detailed Documentation

RTE mbuf SW checksum preparation modes

Enum Values

TAPI_RTE_MBUF_CKSUM_RAND

Fill in checksum with invalid random non-zero value (default behaviour, 0 may be used instead)

TAPI_RTE_MBUF_CKSUM_GOOD

Calculate and put correct checksum

TAPI_RTE_MBUF_CKSUM_ZERO

Fill in checksum with 0

TAPI_RTE_MBUF_CKSUM_MODES

The number of checksum modes