Lines Matching refs:flow_mask
568 struct flow_msg *flow_mask, struct flow_rule *rule, in otx2_tc_process_vlan() argument
611 flow_mask->vlan_itci = htons(vlan_tci_mask); in otx2_tc_process_vlan()
615 flow_mask->vlan_tci = htons(vlan_tci_mask); in otx2_tc_process_vlan()
629 struct flow_msg *flow_mask = &req->mask; in otx2_tc_prepare_flow() local
663 flow_mask->etype = match.mask->n_proto; in otx2_tc_prepare_flow()
708 flow_mask->ip_flag = IPV4_FLAG_MORE; in otx2_tc_prepare_flow()
713 flow_mask->next_header = 0xff; in otx2_tc_prepare_flow()
737 ether_addr_copy(flow_mask->dmac, in otx2_tc_prepare_flow()
759 flow_mask->spi = match.mask->spi; in otx2_tc_prepare_flow()
777 flow_mask->tos = match.mask->tos; in otx2_tc_prepare_flow()
784 ret = otx2_tc_process_vlan(nic, flow_spec, flow_mask, rule, req, false); in otx2_tc_prepare_flow()
792 ret = otx2_tc_process_vlan(nic, flow_spec, flow_mask, rule, req, true); in otx2_tc_prepare_flow()
803 flow_mask->ip4dst = match.mask->dst; in otx2_tc_prepare_flow()
807 flow_mask->ip4src = match.mask->src; in otx2_tc_prepare_flow()
825 memcpy(&flow_mask->ip6dst, in otx2_tc_prepare_flow()
835 memcpy(&flow_mask->ip6src, in otx2_tc_prepare_flow()
848 flow_mask->dport = match.mask->dst; in otx2_tc_prepare_flow()
850 if (flow_mask->dport) { in otx2_tc_prepare_flow()
860 flow_mask->sport = match.mask->src; in otx2_tc_prepare_flow()
862 if (flow_mask->sport) { in otx2_tc_prepare_flow()
878 flow_mask->tcp_flags = match.mask->flags; in otx2_tc_prepare_flow()
915 flow_mask->mpls_lse[bit] = in otx2_tc_prepare_flow()
930 flow_mask->mpls_lse[bit] |= in otx2_tc_prepare_flow()
943 flow_mask->icmp_type = match.mask->type; in otx2_tc_prepare_flow()
947 flow_mask->icmp_code = match.mask->code; in otx2_tc_prepare_flow()