Lines Matching full:hdr

10  * @hdr: the virtchnl message protocol header data structure
14 iavf_fill_adv_rss_ip4_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip4_hdr() argument
16 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV4); in iavf_fill_adv_rss_ip4_hdr()
19 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV4, SRC); in iavf_fill_adv_rss_ip4_hdr()
22 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV4, DST); in iavf_fill_adv_rss_ip4_hdr()
27 * @hdr: the virtchnl message protocol header data structure
31 iavf_fill_adv_rss_ip6_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip6_hdr() argument
33 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV6); in iavf_fill_adv_rss_ip6_hdr()
36 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV6, SRC); in iavf_fill_adv_rss_ip6_hdr()
39 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV6, DST); in iavf_fill_adv_rss_ip6_hdr()
44 * @hdr: the virtchnl message protocol header data structure
48 iavf_fill_adv_rss_tcp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_tcp_hdr() argument
50 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, TCP); in iavf_fill_adv_rss_tcp_hdr()
53 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, TCP, SRC_PORT); in iavf_fill_adv_rss_tcp_hdr()
56 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, TCP, DST_PORT); in iavf_fill_adv_rss_tcp_hdr()
61 * @hdr: the virtchnl message protocol header data structure
65 iavf_fill_adv_rss_udp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_udp_hdr() argument
67 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, UDP); in iavf_fill_adv_rss_udp_hdr()
70 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, UDP, SRC_PORT); in iavf_fill_adv_rss_udp_hdr()
73 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, UDP, DST_PORT); in iavf_fill_adv_rss_udp_hdr()
78 * @hdr: the virtchnl message protocol header data structure
82 iavf_fill_adv_rss_sctp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_sctp_hdr() argument
84 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, SCTP); in iavf_fill_adv_rss_sctp_hdr()
87 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, SCTP, SRC_PORT); in iavf_fill_adv_rss_sctp_hdr()
90 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, SCTP, DST_PORT); in iavf_fill_adv_rss_sctp_hdr()
107 struct virtchnl_proto_hdr *hdr; in iavf_fill_adv_rss_cfg_msg() local
116 hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_adv_rss_cfg_msg()
119 iavf_fill_adv_rss_ip4_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg()
122 iavf_fill_adv_rss_ip6_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg()
128 hdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_adv_rss_cfg_msg()
131 iavf_fill_adv_rss_tcp_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg()
134 iavf_fill_adv_rss_udp_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg()
137 iavf_fill_adv_rss_sctp_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg()