Lines Matching refs:fk
301 ice_arfs_build_entry(struct ice_vsi *vsi, const struct flow_keys *fk, in ice_arfs_build_entry() argument
318 ip_proto = fk->basic.ip_proto; in ice_arfs_build_entry()
320 if (fk->basic.n_proto == htons(ETH_P_IP)) { in ice_arfs_build_entry()
325 fltr_info->ip.v4.src_ip = fk->addrs.v4addrs.src; in ice_arfs_build_entry()
326 fltr_info->ip.v4.dst_ip = fk->addrs.v4addrs.dst; in ice_arfs_build_entry()
327 fltr_info->ip.v4.src_port = fk->ports.src; in ice_arfs_build_entry()
328 fltr_info->ip.v4.dst_port = fk->ports.dst; in ice_arfs_build_entry()
334 memcpy(&fltr_info->ip.v6.src_ip, &fk->addrs.v6addrs.src, in ice_arfs_build_entry()
336 memcpy(&fltr_info->ip.v6.dst_ip, &fk->addrs.v6addrs.dst, in ice_arfs_build_entry()
338 fltr_info->ip.v6.src_port = fk->ports.src; in ice_arfs_build_entry()
339 fltr_info->ip.v6.dst_port = fk->ports.dst; in ice_arfs_build_entry()
403 struct flow_keys fk; in ice_rx_flow_steer() local
419 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) in ice_rx_flow_steer()
422 n_proto = fk.basic.n_proto; in ice_rx_flow_steer()
426 ip_proto = fk.basic.ip_proto; in ice_rx_flow_steer()
464 arfs_entry = ice_arfs_build_entry(vsi, &fk, rxq_idx, flow_id); in ice_rx_flow_steer()