Searched refs:fkeys (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1031 struct flow_keys *fkeys; in bnxt_grxclsrule() local 1051 fkeys = &fltr->fkeys; in bnxt_grxclsrule() 1052 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { in bnxt_grxclsrule() 1053 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule() 1055 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule() 1060 fs->h_u.tcp_ip4_spec.ip4src = fkeys->addrs.v4addrs.src; in bnxt_grxclsrule() 1063 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule() 1066 fs->h_u.tcp_ip4_spec.psrc = fkeys->ports.src; in bnxt_grxclsrule() 1069 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule() 1074 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule() [all …]
|
D | bnxt.c | 4969 struct flow_keys *keys = &fltr->fkeys; in bnxt_hwrm_cfa_ntuple_filter_alloc() 12816 struct flow_keys *keys1 = &f1->fkeys; in bnxt_fltr_match() 12817 struct flow_keys *keys2 = &f2->fkeys; in bnxt_fltr_match() 12849 struct flow_keys *fkeys; in bnxt_rx_flow_steer() local 12875 fkeys = &new_fltr->fkeys; in bnxt_rx_flow_steer() 12876 if (!skb_flow_dissect_flow_keys(skb, fkeys, 0)) { in bnxt_rx_flow_steer() 12881 if ((fkeys->basic.n_proto != htons(ETH_P_IP) && in bnxt_rx_flow_steer() 12882 fkeys->basic.n_proto != htons(ETH_P_IPV6)) || in bnxt_rx_flow_steer() 12883 ((fkeys->basic.ip_proto != IPPROTO_TCP) && in bnxt_rx_flow_steer() 12884 (fkeys->basic.ip_proto != IPPROTO_UDP))) { in bnxt_rx_flow_steer() [all …]
|
D | bnxt.h | 1165 struct flow_keys fkeys; member
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 2894 struct flow_keys fkeys; in hns3_rx_flow_steer() local 2902 if (!skb_flow_dissect_flow_keys(skb, &fkeys, 0)) in hns3_rx_flow_steer() 2905 if ((fkeys.basic.n_proto != htons(ETH_P_IP) && in hns3_rx_flow_steer() 2906 fkeys.basic.n_proto != htons(ETH_P_IPV6)) || in hns3_rx_flow_steer() 2907 (fkeys.basic.ip_proto != IPPROTO_TCP && in hns3_rx_flow_steer() 2908 fkeys.basic.ip_proto != IPPROTO_UDP)) in hns3_rx_flow_steer() 2911 return h->ae_algo->ops->add_arfs_entry(h, rxq_index, flow_id, &fkeys); in hns3_rx_flow_steer()
|
D | hnae3.h | 717 u16 flow_id, struct flow_keys *fkeys);
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 7020 static void hclge_fd_get_flow_tuples(const struct flow_keys *fkeys, in hclge_fd_get_flow_tuples() argument 7023 #define flow_ip6_src fkeys->addrs.v6addrs.src.in6_u.u6_addr32 in hclge_fd_get_flow_tuples() 7024 #define flow_ip6_dst fkeys->addrs.v6addrs.dst.in6_u.u6_addr32 in hclge_fd_get_flow_tuples() 7026 tuples->ether_proto = be16_to_cpu(fkeys->basic.n_proto); in hclge_fd_get_flow_tuples() 7027 tuples->ip_proto = fkeys->basic.ip_proto; in hclge_fd_get_flow_tuples() 7028 tuples->dst_port = be16_to_cpu(fkeys->ports.dst); in hclge_fd_get_flow_tuples() 7030 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { in hclge_fd_get_flow_tuples() 7031 tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src); in hclge_fd_get_flow_tuples() 7032 tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst); in hclge_fd_get_flow_tuples() 7085 u16 flow_id, struct flow_keys *fkeys) in hclge_add_fd_entry_by_arfs() argument [all …]
|