src/dpdk/drivers/net/iavf/iavf_rxtx.c
static inline uint16_t
iavf_calc_context_desc(uint64_t flags, uint8_t vlan_flag)
{
	if (flags & PKT_TX_TCP_SEG)
		return 1;
	if (flags & PKT_TX_VLAN_PKT &&
	    vlan_flag & IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2)
		return 1;
	return 0;
}
/* Check if the context descriptor is needed for TX offloading */
Check if the context descriptor is needed for TX offloading
Check if the context descriptor is needed for TX offloading
static inline uint16_t
iavf_calc_context_desc(uint64_t flags, uint8_t vlan_flag)
{
	if (flags & PKT_TX_TCP_SEG)
		return 1;
	if (flags & PKT_TX_VLAN_PKT &&
	    vlan_flag & IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2)
		return 1;
	return 0;
}
static inline uint16_t iavf_calc_context_desc ( uint64_t flags , uint8_t vlan_flag ) { if ( flags & PKT_TX_TCP_SEG ) return 1 ; if ( flags & PKT_TX_VLAN_PKT && vlan_flag & IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2 ) return 1 ; return 0 ; }
Check if the context descriptor is needed for TX offloading
Check if the context descriptor is needed for TX offloading