Home
last modified time | relevance | path

Searched refs:csum_type (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1087 int csum_type; in hwcsum() local
1092 csum_type = TX_CSUM_TCPIP; in hwcsum()
1094 csum_type = TX_CSUM_UDPIP; in hwcsum()
1110 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1112 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1117 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum()
1125 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum()
1129 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1064 int csum_type; in hwcsum() local
1069 csum_type = TX_CSUM_TCPIP; in hwcsum()
1071 csum_type = TX_CSUM_UDPIP; in hwcsum()
1086 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1088 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1093 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum()
1101 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum()
1105 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h318 u8 csum_type; member
Dnfp_net_common.c1420 if (meta->csum_type) { in nfp_net_rx_csum()
1421 skb->ip_summed = meta->csum_type; in nfp_net_rx_csum()
1518 meta->csum_type = CHECKSUM_COMPLETE; in nfp_net_parse_meta()