Home
last modified time | relevance | path

Searched refs:csum_valid (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/include/net/
H A Dgro.h63 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 Dudplite.h60 skb->csum_valid = 0; in udplite_checksum_init()
H A Dudp.h162 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 Dnet_rx_pkt.c474 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 Dnet_rx_pkt.h335 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 Digb_core.c1311 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 De1000e_core.c1068 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 Dtrace-events69 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 Dip6_checksum.c96 if (skb->ip_summed == CHECKSUM_COMPLETE && !skb->csum_valid) { in udp6_csum_init()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcpl5_cmd.h479 u8 csum_valid:1; member
487 u8 csum_valid:1; member
/openbmc/linux/net/core/
H A Dgro.c480 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 Dskbuff.c1198 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 Dskbuff.h958 __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 Dinput.c127 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 Dt3_cpl.h1192 __u8 csum_valid:1; member
1200 __u8 csum_valid:1; member
H A Dsge.c2094 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 Dudp_offload.c615 !NAPI_GRO_CB(skb)->csum_valid)) in udp_gro_receive()
H A Dfou_core.c311 if (!NAPI_GRO_CB(skb)->csum_valid) in gue_gro_remcsum()
H A Dudp.c2345 if (skb->ip_summed == CHECKSUM_COMPLETE && !skb->csum_valid) { in udp4_csum_init()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c664 if (!NAPI_GRO_CB(skb)->csum_valid) in vxlan_gro_remcsum()