Lines Matching refs:fkeys
7114 static void hclge_fd_get_flow_tuples(const struct flow_keys *fkeys, in hclge_fd_get_flow_tuples() argument
7117 #define flow_ip6_src fkeys->addrs.v6addrs.src.in6_u.u6_addr32 in hclge_fd_get_flow_tuples()
7118 #define flow_ip6_dst fkeys->addrs.v6addrs.dst.in6_u.u6_addr32 in hclge_fd_get_flow_tuples()
7120 tuples->ether_proto = be16_to_cpu(fkeys->basic.n_proto); in hclge_fd_get_flow_tuples()
7121 tuples->ip_proto = fkeys->basic.ip_proto; in hclge_fd_get_flow_tuples()
7122 tuples->dst_port = be16_to_cpu(fkeys->ports.dst); in hclge_fd_get_flow_tuples()
7124 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { in hclge_fd_get_flow_tuples()
7125 tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src); in hclge_fd_get_flow_tuples()
7126 tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst); in hclge_fd_get_flow_tuples()
7179 u16 flow_id, struct flow_keys *fkeys) in hclge_add_fd_entry_by_arfs() argument
7200 hclge_fd_get_flow_tuples(fkeys, &new_tuples); in hclge_add_fd_entry_by_arfs()