Searched refs:flow_spec (Results 1 – 3 of 3) sorted by relevance
573 static int otx2_tc_process_vlan(struct otx2_nic *nic, struct flow_msg *flow_spec, in otx2_tc_process_vlan() argument616 flow_spec->vlan_itci = htons(vlan_tci); in otx2_tc_process_vlan()620 flow_spec->vlan_tci = htons(vlan_tci); in otx2_tc_process_vlan()634 struct flow_msg *flow_spec = &req->packet; in otx2_tc_prepare_flow() local668 flow_spec->etype = match.key->n_proto; in otx2_tc_prepare_flow()712 if (ntohs(flow_spec->etype) == ETH_P_IP) { in otx2_tc_prepare_flow()713 flow_spec->ip_flag = val ? IPV4_FLAG_MORE : 0; in otx2_tc_prepare_flow()716 } else if (ntohs(flow_spec->etype) == ETH_P_IPV6) { in otx2_tc_prepare_flow()717 flow_spec->next_header = val ? in otx2_tc_prepare_flow()742 ether_addr_copy(flow_spec->dmac, (u8 *)&match.key->dst); in otx2_tc_prepare_flow()[all …]
16 struct ethtool_rx_flow_spec flow_spec; member507 nfc->fs = iter->flow_spec; in otx2_get_flow()976 u64 ring_cookie = flow->flow_spec.ring_cookie; in otx2_add_flow_msg()990 err = otx2_prepare_flow_request(&flow->flow_spec, req); in otx2_add_flow_msg()1008 if (flow->flow_spec.flow_type & FLOW_RSS) { in otx2_add_flow_msg()1073 memcpy(&pf_mac->flow_spec, &flow->flow_spec, in otx2_add_flow_with_pfmac()1075 pf_mac->flow_spec.location = pf_mac->location; in otx2_add_flow_with_pfmac()1078 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac()1142 flow->flow_spec = *fsp; in otx2_add_flow()1147 if (otx2_is_flow_rule_dmacfilter(pfvf, &flow->flow_spec)) { in otx2_add_flow()[all …]
549 union ib_flow_spec *flow_spec; in flow_is_multicast_only() local555 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only()556 if (flow_spec->type == IB_FLOW_SPEC_IPV4) { in flow_is_multicast_only()559 ipv4_spec = (struct ib_flow_spec_ipv4 *)flow_spec; in flow_is_multicast_only()566 if (flow_spec->type == IB_FLOW_SPEC_ETH) { in flow_is_multicast_only()569 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()