CSUM_IP_UDP
CSUM_IP_UDP | CSUM_IP6_UDP)) ? tx_desc_cmd_l4cs : 0;
CSUM_IP_UDP|CSUM_IP_TCP|CSUM_IP_SCTP| \
if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) {
const uint32_t csum_flags = CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP |
const uint32_t csum_flags = CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP_TSO |
const uint32_t csum_flags = CSUM_IP_UDP | CSUM_IP6_UDP;
else if (m->m_pkthdr.csum_flags & (CSUM_IP_UDP | CSUM_INNER_IP_UDP |
if (m->m_pkthdr.csum_flags & (CSUM_IP | CSUM_IP_TCP | CSUM_IP_UDP |
#define EM_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | \
#define IGB_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | \
if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) {
flags |= CSUM_IP_UDP | CSUM_IP_TCP;
(CSUM_IP_UDP | CSUM_IP6_UDP)) != 0)
#define HN_CSUM_IP_MASK (CSUM_IP | CSUM_IP_TCP | CSUM_IP_UDP)
(CSUM_IP_UDP | CSUM_IP6_UDP)) {
csum_assist |= CSUM_IP_UDP;
(CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP6_UDP | CSUM_IP6_TCP)) {
(CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP6_UDP | CSUM_IP6_TCP)) {
if (m_head->m_pkthdr.csum_flags & (CSUM_IP_TCP | CSUM_IP_UDP)) {
if ((m_head->m_pkthdr.csum_flags & CSUM_IP_UDP) &&
m_head->m_pkthdr.csum_flags &= ~CSUM_IP_UDP;
(CSUM_IP_UDP|CSUM_IP6_UDP)
#define ICE_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_TCP | CSUM_IP_UDP | CSUM_IP_SCTP | \
#define ICE_CSUM_UDP (CSUM_IP_UDP|CSUM_IP6_UDP)
#define IGC_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | \
if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)) {
if (pi->ipi_csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP))
CSUM_IP_UDP|CSUM_IP_TCP|CSUM_IP_SCTP| \
(CSUM_IP_UDP|CSUM_IP6_UDP)
(m_head->m_pkthdr.csum_flags & (CSUM_IP_UDP | CSUM_IP6_UDP)))
(CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP6_UDP | CSUM_IP6_TCP)) {
if (__predict_true(csum_flags & (CSUM_IP|CSUM_IP_TCP|CSUM_IP_UDP))) {
} else if (csum_flags & CSUM_IP_UDP) {
if_sethwassist(ifp, CSUM_IP|CSUM_IP_UDP|CSUM_IP_TCP);
if_togglehwassist(ifp, CSUM_IP|CSUM_IP_UDP|CSUM_IP_TCP);
if (flags & (CSUM_IP_TCP | CSUM_IP_UDP)) {
else if (flags & CSUM_IP_UDP)
hwassist |= CSUM_IP_TCP | CSUM_IP_UDP;
const uint32_t v4 = CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP;
if (csum_flags_in & CSUM_IP_UDP)
hwa |= CSUM_IP_UDP;
CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP_SCTP | \
} else if (m->m_pkthdr.csum_flags & CSUM_IP_UDP) {
#define CSUM_FLAGS_TX (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | CSUM_IP_SCTP | \
#define CSUM_UDP CSUM_IP_UDP