Home
last modified time | relevance | path

Searched refs:proto_hdr (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c117 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_gtpu_hdr()
118 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr()
158 ehdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr()
190 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_pfcp_hdr()
191 struct virtchnl_proto_hdr *hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_pfcp_hdr()
232 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_nat_t_esp_hdr()
233 struct virtchnl_proto_hdr *hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_nat_t_esp_hdr()
315 struct virtchnl_proto_hdr *hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_ip4_hdr()
354 struct virtchnl_proto_hdr *hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_ip6_hdr()
398 struct virtchnl_proto_hdr *hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_tcp_hdr()
[all …]
/linux/drivers/net/ethernet/intel/ice/virt/
H A Drss.c433 proto->proto_hdr[i].type != VIRTCHNL_PROTO_HDR_NONE) { in ice_vc_validate_pattern()
434 switch (proto->proto_hdr[i].type) { in ice_vc_validate_pattern()
550 struct virtchnl_proto_hdr *proto_hdr = in ice_vc_parse_rss_cfg() local
551 &rss_cfg->proto_hdrs.proto_hdr[i]; in ice_vc_parse_rss_cfg()
561 if (proto_hdr->type == hdr_map.vc_hdr) in ice_vc_parse_rss_cfg()
574 if (proto_hdr->type == hf_map.vc_hdr && in ice_vc_parse_rss_cfg()
575 proto_hdr->field_selector == hf_map.vc_hash_field) { in ice_vc_parse_rss_cfg()
581 if (proto_hdr->type == VIRTCHNL_PROTO_HDR_IPV4 && !inner_hdr) in ice_vc_parse_rss_cfg()
583 else if (proto_hdr->type == VIRTCHNL_PROTO_HDR_IPV6 && in ice_vc_parse_rss_cfg()
590 else if ((proto_hdr->type == VIRTCHNL_PROTO_HDR_GTPU_IP || in ice_vc_parse_rss_cfg()
[all …]
H A Dfdir.c247 ice_vc_fdir_parse_flow_fld(struct virtchnl_proto_hdr *proto_hdr, in ice_vc_fdir_parse_flow_fld() argument
254 memcpy(&hdr, proto_hdr, sizeof(hdr)); in ice_vc_fdir_parse_flow_fld()
301 struct virtchnl_proto_hdr *hdr = &proto->proto_hdr[i]; in ice_vc_fdir_set_flow_fld()
942 struct virtchnl_proto_hdr *hdr = &proto->proto_hdr[i]; in ice_vc_fdir_parse_pattern()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c100 hdrs->proto_hdr[0].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_IPV4); in idpf_fsteer_fill_ipv4()
102 iph = (struct iphdr *)hdrs->proto_hdr[0].buffer_spec; in idpf_fsteer_fill_ipv4()
106 iph = (struct iphdr *)hdrs->proto_hdr[0].buffer_mask; in idpf_fsteer_fill_ipv4()
117 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_UDP); in idpf_fsteer_fill_udp()
119 udph = (struct udphdr *)hdrs->proto_hdr[1].buffer_spec; in idpf_fsteer_fill_udp()
120 udpm = (struct udphdr *)hdrs->proto_hdr[1].buffer_mask; in idpf_fsteer_fill_udp()
141 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_TCP); in idpf_fsteer_fill_tcp()
143 tcph = (struct tcphdr *)hdrs->proto_hdr[1].buffer_spec; in idpf_fsteer_fill_tcp()
144 tcpm = (struct tcphdr *)hdrs->proto_hdr[1].buffer_mask; in idpf_fsteer_fill_tcp()
H A Dvirtchnl2.h1700 proto_hdr[VIRTCHNL2_MAX_NUM_PROTO_HDRS]; member