Lines Matching refs:fkeys
6003 static void hclge_fd_get_flow_tuples(const struct flow_keys *fkeys, in hclge_fd_get_flow_tuples() argument
6006 tuples->ether_proto = be16_to_cpu(fkeys->basic.n_proto); in hclge_fd_get_flow_tuples()
6007 tuples->ip_proto = fkeys->basic.ip_proto; in hclge_fd_get_flow_tuples()
6008 tuples->dst_port = be16_to_cpu(fkeys->ports.dst); in hclge_fd_get_flow_tuples()
6010 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { in hclge_fd_get_flow_tuples()
6011 tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src); in hclge_fd_get_flow_tuples()
6012 tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst); in hclge_fd_get_flow_tuples()
6015 fkeys->addrs.v6addrs.src.in6_u.u6_addr32, in hclge_fd_get_flow_tuples()
6018 fkeys->addrs.v6addrs.dst.in6_u.u6_addr32, in hclge_fd_get_flow_tuples()
6064 u16 flow_id, struct flow_keys *fkeys) in hclge_add_fd_entry_by_arfs() argument
6078 hclge_fd_get_flow_tuples(fkeys, &new_tuples); in hclge_add_fd_entry_by_arfs()