Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.c40 bool hasip4; member
202 bool *hasip4, bool *hasip6, in net_rx_pkt_get_protocols() argument
207 *hasip4 = pkt->hasip4; in net_rx_pkt_get_protocols()
321 assert(pkt->hasip4); in net_rx_pkt_calc_rss_hash()
326 assert(pkt->hasip4); in net_rx_pkt_calc_rss_hash()
357 assert(pkt->hasip4); in net_rx_pkt_calc_rss_hash()
394 if (pkt->hasip4) { in net_rx_pkt_get_ip_id()
482 if (!pkt->hasip4) { in net_rx_pkt_validate_l3_csum()
513 if (pkt->hasip4) { in _net_rx_pkt_calc_l4_csum()
597 if (pkt->hasip4 && pkt->ip4hdr_info.fragment) { in net_rx_pkt_validate_l4_csum()
[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()
478 if (hasip4) { in e1000e_rss_get_hash_type()
1130 bool hasip4, hasip6; in e1000e_build_rx_metadata() local
1143 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in e1000e_build_rx_metadata()
1160 } else if (hasip4) { in e1000e_build_rx_metadata()
1177 } else if (hasip4 || hasip6) { in e1000e_build_rx_metadata()
1178 pkt_type = hasip4 ? E1000_RXD_PKT_IP4 : E1000_RXD_PKT_IP6; in e1000e_build_rx_metadata()
1202 *status_flags |= hasip4 ? E1000_RXD_STAT_IPCS : 0; in e1000e_build_rx_metadata()
1446 bool hasip4, hasip6; in e1000e_do_ps() local
[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()
300 if (hasip4) { in igb_rss_get_hash_type()
1351 bool hasip4, hasip6, csum_valid; in igb_build_rx_metadata_common() local
1389 *status_flags |= hasip4 ? E1000_RXD_STAT_IPCS : 0; in igb_build_rx_metadata_common()
1456 bool hasip4, hasip6; in igb_rx_desc_get_packet_type() local
1470 } else if (hasip4) { in igb_rx_desc_get_packet_type()
1499 bool hasip4, hasip6; in igb_write_adv_rx_descr() local
1523 } else if (hasip4) { in igb_write_adv_rx_descr()
1656 bool hasip4, hasip6; in igb_do_ps() local
[all …]
H A Dvmxnet3.c851 bool hasip4, hasip6; in vmxnet3_rx_need_csum_calculate() local
861 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_need_csum_calculate()
862 if (!(hasip4 || hasip6) || in vmxnet3_rx_need_csum_calculate()
892 bool hasip4, hasip6; in vmxnet3_rx_update_descr() local
919 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_update_descr()
922 (!hasip4 && !hasip6)) { in vmxnet3_rx_update_descr()
927 rxcd->v4 = hasip4 ? 1 : 0; in vmxnet3_rx_update_descr()
H A Dvirtio-net.c1778 static uint8_t virtio_net_get_hash_type(bool hasip4, in virtio_net_get_hash_type() argument
1783 if (hasip4) { in virtio_net_get_hash_type()
1847 bool hasip4, hasip6; in virtio_net_process_rss() local
1866 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in virtio_net_process_rss()
1867 net_hash_type = virtio_net_get_hash_type(hasip4, hasip6, l4hdr_proto, in virtio_net_process_rss()
H A Dtrace-events184 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()
163 *hasip4 = true; in eth_get_protocols()
/openbmc/qemu/include/net/
H A Deth.h398 bool *hasip4, bool *hasip6,