Lines Matching refs:ckinfo

1083 	struct ck_info ckinfo[2];  in e82545_transmit()  local
1092 ckinfo[0].ck_valid = ckinfo[1].ck_valid = 0; in e82545_transmit()
1128 ckinfo[0].ck_start = dsc->td.upper.fields.css; in e82545_transmit()
1174 ckinfo[0].ck_valid = 1; in e82545_transmit()
1175 ckinfo[0].ck_off = in e82545_transmit()
1177 ckinfo[0].ck_len = 0; in e82545_transmit()
1185 ckinfo[0].ck_valid = 1; in e82545_transmit()
1188 ckinfo[0].ck_start = in e82545_transmit()
1190 ckinfo[0].ck_off = in e82545_transmit()
1192 ckinfo[0].ck_len = in e82545_transmit()
1197 ckinfo[1].ck_valid = 1; in e82545_transmit()
1200 ckinfo[1].ck_start = in e82545_transmit()
1202 ckinfo[1].ck_off = in e82545_transmit()
1204 ckinfo[1].ck_len = in e82545_transmit()
1230 if (ckinfo[0].ck_valid) in e82545_transmit()
1231 hdrlen = MAX(hdrlen, ckinfo[0].ck_off + 2U); in e82545_transmit()
1232 if (ckinfo[1].ck_valid) in e82545_transmit()
1233 hdrlen = MAX(hdrlen, ckinfo[1].ck_off + 2U); in e82545_transmit()
1282 if (hdrlen < ckinfo[0].ck_start + 6U || in e82545_transmit()
1283 hdrlen < ckinfo[0].ck_off + 2U) { in e82545_transmit()
1289 if (hdrlen < ckinfo[1].ck_start + 14U) { in e82545_transmit()
1295 if (hdrlen < ckinfo[1].ck_start + 8U) { in e82545_transmit()
1301 if (ckinfo[1].ck_valid && hdrlen < ckinfo[1].ck_off + 2U) { in e82545_transmit()
1306 if (ckinfo[1].ck_valid && hdrlen < ckinfo[1].ck_off + 2) { in e82545_transmit()
1374 ckinfo[0].ck_start += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1375 ckinfo[0].ck_off += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1376 if (ckinfo[0].ck_len != 0) in e82545_transmit()
1377 ckinfo[0].ck_len += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1378 ckinfo[1].ck_start += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1379 ckinfo[1].ck_off += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1380 if (ckinfo[1].ck_len != 0) in e82545_transmit()
1381 ckinfo[1].ck_len += ETHER_VLAN_ENCAP_LEN; in e82545_transmit()
1387 if (ckinfo[0].ck_valid) in e82545_transmit()
1388 e82545_transmit_checksum(iov, iovcnt, &ckinfo[0]); in e82545_transmit()
1389 if (ckinfo[1].ck_valid) in e82545_transmit()
1390 e82545_transmit_checksum(iov, iovcnt, &ckinfo[1]); in e82545_transmit()
1401 ipid = ntohs(*(uint16_t *)&hdr[ckinfo[0].ck_start + 4]); in e82545_transmit()
1404 tcpseq = ntohl(*(uint32_t *)&hdr[ckinfo[1].ck_start + 4]); in e82545_transmit()
1405 ipcs = *(uint16_t *)&hdr[ckinfo[0].ck_off]; in e82545_transmit()
1407 if (ckinfo[1].ck_valid) /* Save partial pseudo-header checksum. */ in e82545_transmit()
1408 tcpcs = *(uint16_t *)&hdr[ckinfo[1].ck_off]; in e82545_transmit()
1445 *(uint16_t *)&hdr[ckinfo[0].ck_start + 2] = in e82545_transmit()
1446 htons(hdrlen - ckinfo[0].ck_start + now); in e82545_transmit()
1447 *(uint16_t *)&hdr[ckinfo[0].ck_start + 4] = in e82545_transmit()
1451 *(uint16_t *)&hdr[ckinfo[0].ck_start + 4] = in e82545_transmit()
1452 htons(hdrlen - ckinfo[0].ck_start - 40 + in e82545_transmit()
1458 tcpsum += htons(hdrlen - ckinfo[1].ck_start + now); in e82545_transmit()
1463 *(uint32_t *)&hdr[ckinfo[1].ck_start + 4] = in e82545_transmit()
1466 hdr[ckinfo[1].ck_start + 13] &= in e82545_transmit()
1471 *(uint32_t *)&hdr[ckinfo[1].ck_start + 4] = in e82545_transmit()
1472 hdrlen - ckinfo[1].ck_start + now; in e82545_transmit()
1476 if (ckinfo[0].ck_valid) { in e82545_transmit()
1477 *(uint16_t *)&hdr[ckinfo[0].ck_off] = ipcs; in e82545_transmit()
1478 e82545_transmit_checksum(tiov, tiovcnt, &ckinfo[0]); in e82545_transmit()
1480 if (ckinfo[1].ck_valid) { in e82545_transmit()
1481 *(uint16_t *)&hdr[ckinfo[1].ck_off] = in e82545_transmit()
1483 e82545_transmit_checksum(tiov, tiovcnt, &ckinfo[1]); in e82545_transmit()