Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1038 int csum_type; in hwcsum() local
1043 csum_type = TX_CSUM_TCPIP; in hwcsum()
1045 csum_type = TX_CSUM_UDPIP; in hwcsum()
1060 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1062 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1067 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum()
1075 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum()
1079 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
/linux-4.4.14/fs/btrfs/
Ddisk-io.c403 u16 csum_type = btrfs_super_csum_type(disk_sb); in btrfs_check_super_csum() local
406 if (csum_type == BTRFS_CSUM_TYPE_CRC32) { in btrfs_check_super_csum()
424 if (csum_type >= ARRAY_SIZE(btrfs_csum_sizes)) { in btrfs_check_super_csum()
426 csum_type); in btrfs_check_super_csum()
Dctree.h482 __le16 csum_type; member
3135 csum_type, 16);