Home
last modified time | relevance | path

Searched refs:l4hdr_proto (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/net/
H A De1000e_core.c472 EthL4HdrProto l4hdr_proto; in e1000e_rss_get_hash_type() local
476 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in e1000e_rss_get_hash_type()
479 trace_e1000e_rx_rss_ip4(l4hdr_proto, core->mac[MRQC], in e1000e_rss_get_hash_type()
483 if (l4hdr_proto == ETH_L4_HDR_PROTO_TCP && in e1000e_rss_get_hash_type()
505 trace_e1000e_rx_rss_ip6(ex_dis, new_ex_dis, l4hdr_proto, in e1000e_rss_get_hash_type()
518 if (l4hdr_proto == ETH_L4_HDR_PROTO_TCP && in e1000e_rss_get_hash_type()
1064 EthL4HdrProto l4hdr_proto) in e1000e_verify_csum_in_sw() argument
1085 if (l4hdr_proto != ETH_L4_HDR_PROTO_TCP && in e1000e_verify_csum_in_sw()
1086 l4hdr_proto != ETH_L4_HDR_PROTO_UDP) { in e1000e_verify_csum_in_sw()
1098 if (l4hdr_proto == ETH_L4_HDR_PROTO_UDP) { in e1000e_verify_csum_in_sw()
[all …]
H A Digb_core.c294 EthL4HdrProto l4hdr_proto; in igb_rss_get_hash_type() local
298 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in igb_rss_get_hash_type()
301 trace_e1000e_rx_rss_ip4(l4hdr_proto, core->mac[MRQC], in igb_rss_get_hash_type()
305 if (l4hdr_proto == ETH_L4_HDR_PROTO_TCP && in igb_rss_get_hash_type()
310 if (l4hdr_proto == ETH_L4_HDR_PROTO_UDP && in igb_rss_get_hash_type()
332 trace_e1000e_rx_rss_ip6(ex_dis, new_ex_dis, l4hdr_proto, in igb_rss_get_hash_type()
345 if (l4hdr_proto == ETH_L4_HDR_PROTO_TCP && in igb_rss_get_hash_type()
350 if (l4hdr_proto == ETH_L4_HDR_PROTO_UDP && in igb_rss_get_hash_type()
1307 EthL4HdrProto l4hdr_proto) in igb_verify_csum_in_sw() argument
1336 if (l4hdr_proto == ETH_L4_HDR_PROTO_UDP) { in igb_verify_csum_in_sw()
[all …]
H A Dnet_rx_pkt.h78 EthL4HdrProto *l4hdr_proto);
H A Dvmxnet3.c851 EthL4HdrProto l4hdr_proto; in vmxnet3_rx_need_csum_calculate() local
860 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_need_csum_calculate()
862 (l4hdr_proto != ETH_L4_HDR_PROTO_TCP && in vmxnet3_rx_need_csum_calculate()
863 l4hdr_proto != ETH_L4_HDR_PROTO_UDP)) { in vmxnet3_rx_need_csum_calculate()
892 EthL4HdrProto l4hdr_proto; in vmxnet3_rx_update_descr() local
918 net_rx_pkt_get_protocols(pkt, &hasip4, &hasip6, &l4hdr_proto); in vmxnet3_rx_update_descr()
919 if ((l4hdr_proto != ETH_L4_HDR_PROTO_TCP && in vmxnet3_rx_update_descr()
920 l4hdr_proto != ETH_L4_HDR_PROTO_UDP) || in vmxnet3_rx_update_descr()
928 rxcd->tcp = l4hdr_proto == ETH_L4_HDR_PROTO_TCP; in vmxnet3_rx_update_descr()
929 rxcd->udp = l4hdr_proto == ETH_L4_HDR_PROTO_UDP; in vmxnet3_rx_update_descr()
H A Dnet_rx_pkt.c203 EthL4HdrProto *l4hdr_proto) in net_rx_pkt_get_protocols() argument
209 *l4hdr_proto = pkt->l4hdr_info.proto; in net_rx_pkt_get_protocols()
H A Dvirtio-net.c1791 EthL4HdrProto l4hdr_proto, in virtio_net_get_hash_type() argument
1795 switch (l4hdr_proto) { in virtio_net_get_hash_type()
1816 switch (l4hdr_proto) { in virtio_net_get_hash_type()
1859 EthL4HdrProto l4hdr_proto; 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-events175 e1000e_rx_rss_ip4(int l4hdr_proto, uint32_t mrqc, bool tcpipv4_enabled, bool ipv4_enabled) "RSS IPv…
177 e1000e_rx_rss_ip6(bool ex_dis, bool new_ex_dis, int l4hdr_proto, bool has_ext_headers, bool ex_dst_…