/openbmc/linux/include/net/ |
H A D | gro.h | 63 u8 csum_valid:1; 206 if (NAPI_GRO_CB(skb)->csum_valid) in skb_gro_postpull_rcsum() 238 if (NAPI_GRO_CB(skb)->csum_valid && in __skb_gro_checksum_validate_complete() 286 !NAPI_GRO_CB(skb)->csum_valid); in __skb_gro_checksum_convert_check() 293 NAPI_GRO_CB(skb)->csum_valid = 1; in __skb_gro_checksum_convert() 323 BUG_ON(!NAPI_GRO_CB(skb)->csum_valid); in skb_gro_remcsum_process()
|
H A D | udplite.h | 60 skb->csum_valid = 0; in udplite_checksum_init()
|
H A D | udp.h | 162 if (!skb->csum_valid && skb->ip_summed == CHECKSUM_NONE) in udp_csum_pull_header() 523 if (skb->ip_summed == CHECKSUM_NONE && !skb->csum_valid) in udp_post_segment_fix_csum() 524 skb->csum_valid = 1; in udp_post_segment_fix_csum()
|
/openbmc/qemu/hw/net/ |
H A D | net_rx_pkt.c | 474 bool net_rx_pkt_validate_l3_csum(struct NetRxPkt *pkt, bool *csum_valid) in net_rx_pkt_validate_l3_csum() argument 495 *csum_valid = (csum == 0); in net_rx_pkt_validate_l3_csum() 498 cntr, csum, *csum_valid); in net_rx_pkt_validate_l3_csum() 591 bool net_rx_pkt_validate_l4_csum(struct NetRxPkt *pkt, bool *csum_valid) in net_rx_pkt_validate_l4_csum() argument 611 *csum_valid = ((csum == 0) || (csum == 0xFFFF)); in net_rx_pkt_validate_l4_csum() 615 *csum_valid = _net_rx_pkt_validate_sctp_sum(pkt); in net_rx_pkt_validate_l4_csum() 623 trace_net_rx_pkt_l4_csum_validate_csum(*csum_valid); in net_rx_pkt_validate_l4_csum()
|
H A D | net_rx_pkt.h | 335 bool net_rx_pkt_validate_l4_csum(struct NetRxPkt *pkt, bool *csum_valid); 346 bool net_rx_pkt_validate_l3_csum(struct NetRxPkt *pkt, bool *csum_valid);
|
H A D | igb_core.c | 1311 bool csum_valid; in igb_verify_csum_in_sw() local 1315 if (!net_rx_pkt_validate_l3_csum(pkt, &csum_valid)) { in igb_verify_csum_in_sw() 1318 csum_error = csum_valid ? 0 : E1000_RXDEXT_STATERR_IPE; in igb_verify_csum_in_sw() 1330 if (!net_rx_pkt_validate_l4_csum(pkt, &csum_valid)) { in igb_verify_csum_in_sw() 1335 csum_error = csum_valid ? 0 : E1000_RXDEXT_STATERR_TCPE; in igb_verify_csum_in_sw() 1351 bool hasip4, hasip6, csum_valid; in igb_build_rx_metadata_common() local 1397 if (!net_rx_pkt_validate_l4_csum(pkt, &csum_valid)) { in igb_build_rx_metadata_common() 1401 if (!csum_valid) { in igb_build_rx_metadata_common()
|
H A D | e1000e_core.c | 1068 bool csum_valid; in e1000e_verify_csum_in_sw() local 1072 if (!net_rx_pkt_validate_l3_csum(pkt, &csum_valid)) { in e1000e_verify_csum_in_sw() 1075 csum_error = csum_valid ? 0 : E1000_RXDEXT_STATERR_IPE; in e1000e_verify_csum_in_sw() 1092 if (!net_rx_pkt_validate_l4_csum(pkt, &csum_valid)) { in e1000e_verify_csum_in_sw() 1097 csum_error = csum_valid ? 0 : E1000_RXDEXT_STATERR_TCPE; in e1000e_verify_csum_in_sw()
|
H A D | trace-events | 69 net_rx_pkt_l4_csum_validate_csum(bool csum_valid) "Checksum valid: %d" 89 …sum(size_t l3hdr_off, uint32_t csl, uint32_t cntr, uint16_t csum, bool csum_valid) "L3 Checksum: L…
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_checksum.c | 96 if (skb->ip_summed == CHECKSUM_COMPLETE && !skb->csum_valid) { in udp6_csum_init()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cpl5_cmd.h | 479 u8 csum_valid:1; member 487 u8 csum_valid:1; member
|
/openbmc/linux/net/core/ |
H A D | gro.c | 480 NAPI_GRO_CB(skb)->csum_valid = 1; in dev_gro_receive() 760 NAPI_GRO_CB(skb)->csum_valid = 1; in __skb_gro_checksum_complete()
|
H A D | skbuff.c | 1198 skb->csum_valid, skb->csum_level, in skb_dump() 3475 skb->csum_valid = !sum; in __skb_checksum_complete_head() 3515 skb->csum_valid = !sum; in __skb_checksum_complete()
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 958 __u8 csum_valid:1; 4406 skb->csum_valid || in skb_csum_unnecessary() 4472 skb->csum_valid = 1; in __skb_checksum_validate_needed() 4512 skb->csum_valid = 1; in __skb_checksum_validate_complete() 4523 skb->csum_valid = !csum; in __skb_checksum_validate_complete() 4549 skb->csum_valid = 0; \ 4574 return (skb->ip_summed == CHECKSUM_NONE && skb->csum_valid); in __skb_checksum_convert_check()
|
/openbmc/linux/net/sctp/ |
H A D | input.c | 127 skb->csum_valid = 0; /* Previous value not applicable */ in sctp_rcv() 134 skb->csum_valid = 1; in sctp_rcv()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_cpl.h | 1192 __u8 csum_valid:1; member 1200 __u8 csum_valid:1; member
|
H A D | sge.c | 2094 if ((skb->dev->features & NETIF_F_RXCSUM) && p->csum_valid && in rx_eth() 2176 cpl->csum_valid && cpl->csum == htons(0xffff)) { in lro_add_page()
|
/openbmc/linux/net/ipv4/ |
H A D | udp_offload.c | 615 !NAPI_GRO_CB(skb)->csum_valid)) in udp_gro_receive()
|
H A D | fou_core.c | 311 if (!NAPI_GRO_CB(skb)->csum_valid) in gue_gro_remcsum()
|
H A D | udp.c | 2345 if (skb->ip_summed == CHECKSUM_COMPLETE && !skb->csum_valid) { in udp4_csum_init()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 664 if (!NAPI_GRO_CB(skb)->csum_valid) in vxlan_gro_remcsum()
|