Home
last modified time | relevance | path

Searched refs:hasip6 (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.c41 bool hasip6; member
110 eth_get_protocols(pkt->vec, pkt->vec_len, 0, &pkt->hasip4, &pkt->hasip6, in net_rx_pkt_pull_data()
196 eth_get_protocols(iov, iovcnt, iovoff, &pkt->hasip4, &pkt->hasip6, in net_rx_pkt_set_protocols()
202 bool *hasip4, bool *hasip6, in net_rx_pkt_get_protocols() argument
208 *hasip6 = pkt->hasip6; in net_rx_pkt_get_protocols()
327 assert(pkt->hasip6); in net_rx_pkt_calc_rss_hash()
334 assert(pkt->hasip6); in net_rx_pkt_calc_rss_hash()
339 assert(pkt->hasip6); in net_rx_pkt_calc_rss_hash()
344 assert(pkt->hasip6); in net_rx_pkt_calc_rss_hash()
358 assert(pkt->hasip6); in net_rx_pkt_calc_rss_hash()
[all …]
H A Dnet_rx_pkt.h77 bool *hasip4, bool *hasip6,
H A De1000e_core.c471 bool hasip4, hasip6; in e1000e_rss_get_hash_type() local
476 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in e1000e_rss_get_hash_type()
491 } else if (hasip6) { in e1000e_rss_get_hash_type()
1128 bool hasip4, hasip6; in e1000e_build_rx_metadata() local
1141 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in e1000e_build_rx_metadata()
1169 if (hasip6 && (core->mac[RFCTL] & E1000_RFCTL_IPV6_DIS)) { in e1000e_build_rx_metadata()
1175 } else if (hasip4 || hasip6) { in e1000e_build_rx_metadata()
1185 if (hasip6 && (core->mac[RFCTL] & E1000_RFCTL_IPV6_XSUM_DIS)) { in e1000e_build_rx_metadata()
1444 bool hasip4, hasip6; in e1000e_do_ps() local
1452 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in e1000e_do_ps()
[all …]
H A Digb_core.c293 bool hasip4, hasip6; in igb_rss_get_hash_type() local
298 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in igb_rss_get_hash_type()
318 } else if (hasip6) { in igb_rss_get_hash_type()
1349 bool hasip4, hasip6, csum_valid; in igb_build_rx_metadata_common() local
1361 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in igb_build_rx_metadata_common()
1454 bool hasip4, hasip6; in igb_rx_desc_get_packet_type() local
1462 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in igb_rx_desc_get_packet_type()
1464 if (hasip6 && !(core->mac[RFCTL] & E1000_RFCTL_IPV6_DIS)) { in igb_rx_desc_get_packet_type()
1497 bool hasip4, hasip6; in igb_write_adv_rx_descr() local
1654 bool hasip4, hasip6; in igb_do_ps() local
[all …]
H A Dvmxnet3.c850 bool hasip4, hasip6; in vmxnet3_rx_need_csum_calculate() local
860 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_need_csum_calculate()
861 if (!(hasip4 || hasip6) || in vmxnet3_rx_need_csum_calculate()
891 bool hasip4, hasip6; in vmxnet3_rx_update_descr() local
918 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_update_descr()
921 (!hasip4 && !hasip6)) { in vmxnet3_rx_update_descr()
927 rxcd->v6 = hasip6 ? 1 : 0; in vmxnet3_rx_update_descr()
H A Dvirtio-net.c1790 bool hasip6, in virtio_net_get_hash_type() argument
1815 } else if (hasip6) { in virtio_net_get_hash_type()
1858 bool hasip4, hasip6; in virtio_net_process_rss() local
1877 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in virtio_net_process_rss()
1878 net_hash_type = virtio_net_get_hash_type(hasip4, hasip6, l4hdr_proto, in virtio_net_process_rss()
H A Dtrace-events179 e1000e_rx_metadata_protocols(bool hasip4, bool hasip6, int l4hdr_protocol) "protocols: ip4: %d, ip6…
/openbmc/qemu/net/
H A Deth.c130 bool *hasip4, bool *hasip6, in eth_get_protocols() argument
144 *hasip4 = *hasip6 = false; in eth_get_protocols()
174 *hasip6 = true; in eth_get_protocols()
/openbmc/qemu/include/net/
H A Deth.h398 bool *hasip4, bool *hasip6,