Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1089 int csum_type; in hwcsum() local
1094 csum_type = TX_CSUM_TCPIP; in hwcsum()
1096 csum_type = TX_CSUM_UDPIP; in hwcsum()
1112 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1114 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1119 if (likely(csum_type >= TX_CSUM_TCPIP)) in hwcsum()
1120 return TXPKT_CSUM_TYPE(csum_type) | in hwcsum()
1126 return TXPKT_CSUM_TYPE(csum_type) | in hwcsum()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1037 int csum_type; in hwcsum() local
1042 csum_type = TX_CSUM_TCPIP; in hwcsum()
1044 csum_type = TX_CSUM_UDPIP; in hwcsum()
1059 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1061 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1066 if (likely(csum_type >= TX_CSUM_TCPIP)) in hwcsum()
1067 return TXPKT_CSUM_TYPE(csum_type) | in hwcsum()
1073 return TXPKT_CSUM_TYPE(csum_type) | TXPKT_CSUM_START(start) | in hwcsum()
/linux-4.1.27/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
3091 csum_type, 16);