Lines Matching refs:csum_info
649 struct ndis_tcp_ip_checksum_info *csum_info; in netvsc_start_xmit() local
652 csum_info = init_ppi_data(rndis_msg, NDIS_CSUM_PPI_SIZE, in netvsc_start_xmit()
655 csum_info->value = 0; in netvsc_start_xmit()
656 csum_info->transmit.tcp_header_offset = skb_transport_offset(skb); in netvsc_start_xmit()
659 csum_info->transmit.is_ipv4 = 1; in netvsc_start_xmit()
662 csum_info->transmit.tcp_checksum = 1; in netvsc_start_xmit()
664 csum_info->transmit.udp_checksum = 1; in netvsc_start_xmit()
666 csum_info->transmit.is_ipv6 = 1; in netvsc_start_xmit()
669 csum_info->transmit.tcp_checksum = 1; in netvsc_start_xmit()
671 csum_info->transmit.udp_checksum = 1; in netvsc_start_xmit()
767 const struct ndis_tcp_ip_checksum_info *csum_info = in netvsc_alloc_recv_skb() local
768 nvchan->rsc.csum_info; in netvsc_alloc_recv_skb()
793 if (csum_info && csum_info->receive.ip_checksum_value_invalid && in netvsc_alloc_recv_skb()
794 csum_info->receive.ip_checksum_succeeded && in netvsc_alloc_recv_skb()
800 if (csum_info && (net->features & NETIF_F_RXCSUM)) { in netvsc_alloc_recv_skb()
801 if (csum_info->receive.tcp_checksum_succeeded || in netvsc_alloc_recv_skb()
802 csum_info->receive.udp_checksum_succeeded) in netvsc_alloc_recv_skb()