/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 658 const struct flow_keys *fk, in arfs_alloc_rule() argument 676 tuple->etype = fk->basic.n_proto; in arfs_alloc_rule() 677 tuple->ip_proto = fk->basic.ip_proto; in arfs_alloc_rule() 679 tuple->src_ipv4 = fk->addrs.v4addrs.src; in arfs_alloc_rule() 680 tuple->dst_ipv4 = fk->addrs.v4addrs.dst; in arfs_alloc_rule() 682 memcpy(&tuple->src_ipv6, &fk->addrs.v6addrs.src, in arfs_alloc_rule() 684 memcpy(&tuple->dst_ipv6, &fk->addrs.v6addrs.dst, in arfs_alloc_rule() 687 tuple->src_port = fk->ports.src; in arfs_alloc_rule() 688 tuple->dst_port = fk->ports.dst; in arfs_alloc_rule() 699 static bool arfs_cmp(const struct arfs_tuple *tuple, const struct flow_keys *fk) in arfs_cmp() argument [all …]
|
D | en_rx.c | 1222 int udp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_udp_hdr() 1241 int udp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_udp_hdr() 1266 last_tcp_hd = last_hd_addr + ETH_HLEN + rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_fin_psh_flags() 1273 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_tcp_hdr() 1297 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_tcp_hdr() 1317 bool is_ipv4 = (rq->hw_gro_data->fk.basic.n_proto == htons(ETH_P_IP)); in mlx5e_shampo_update_hdr() 1324 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct iphdr); in mlx5e_shampo_update_hdr() 1336 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct ipv6hdr); in mlx5e_shampo_update_hdr() 1616 if (!skb_flow_dissect_flow_keys(skb, &rq->hw_gro_data->fk, 0)) { in mlx5e_shampo_complete_rx_cqe() 2329 rq->hw_gro_data->fk.basic.n_proto == htons(ETH_P_IP)) { in mlx5e_handle_rx_cqe_mpwrq_shampo() [all …]
|
D | en.h | 641 struct flow_keys fk; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.h | 73 struct flow_keys fk; in mlx5e_use_ptpsq() local 78 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) in mlx5e_use_ptpsq() 81 if (fk.basic.n_proto == htons(ETH_P_1588)) in mlx5e_use_ptpsq() 84 if (fk.basic.n_proto != htons(ETH_P_IP) && in mlx5e_use_ptpsq() 85 fk.basic.n_proto != htons(ETH_P_IPV6)) in mlx5e_use_ptpsq() 88 return (fk.basic.ip_proto == IPPROTO_UDP && in mlx5e_use_ptpsq() 89 fk.ports.dst == htons(PTP_EV_PORT)); in mlx5e_use_ptpsq()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_arfs.c | 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() [all …]
|
/linux-6.12.1/crypto/ |
D | sm4.c | 14 static const u32 ____cacheline_aligned fk[4] = { variable 64 extern const u32 crypto_sm4_fk[4] __alias(fk); 129 rk[0] = get_unaligned_be32(&key[0]) ^ fk[0]; in sm4_expandkey() 130 rk[1] = get_unaligned_be32(&key[1]) ^ fk[1]; in sm4_expandkey() 131 rk[2] = get_unaligned_be32(&key[2]) ^ fk[2]; in sm4_expandkey() 132 rk[3] = get_unaligned_be32(&key[3]) ^ fk[3]; in sm4_expandkey()
|
/linux-6.12.1/drivers/net/ethernet/sfc/falcon/ |
D | rx.c | 848 struct flow_keys fk; in ef4_filter_rfs() local 854 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) in ef4_filter_rfs() 857 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) in ef4_filter_rfs() 859 if (fk.control.flags & FLOW_DIS_IS_FRAGMENT) in ef4_filter_rfs() 869 spec.ether_type = fk.basic.n_proto; in ef4_filter_rfs() 870 spec.ip_proto = fk.basic.ip_proto; in ef4_filter_rfs() 872 if (fk.basic.n_proto == htons(ETH_P_IP)) { in ef4_filter_rfs() 873 spec.rem_host[0] = fk.addrs.v4addrs.src; in ef4_filter_rfs() 874 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs() 876 memcpy(spec.rem_host, &fk.addrs.v6addrs.src, sizeof(struct in6_addr)); in ef4_filter_rfs() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | rx_common.c | 900 struct flow_keys fk; in efx_siena_filter_rfs() local 917 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) { in efx_siena_filter_rfs() 922 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) { in efx_siena_filter_rfs() 926 if (fk.control.flags & FLOW_DIS_IS_FRAGMENT) { in efx_siena_filter_rfs() 939 req->spec.ether_type = fk.basic.n_proto; in efx_siena_filter_rfs() 940 req->spec.ip_proto = fk.basic.ip_proto; in efx_siena_filter_rfs() 942 if (fk.basic.n_proto == htons(ETH_P_IP)) { in efx_siena_filter_rfs() 943 req->spec.rem_host[0] = fk.addrs.v4addrs.src; in efx_siena_filter_rfs() 944 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_siena_filter_rfs() 946 memcpy(req->spec.rem_host, &fk.addrs.v6addrs.src, in efx_siena_filter_rfs() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | rx_common.c | 906 struct flow_keys fk; in efx_filter_rfs() local 923 if (!skb_flow_dissect_flow_keys(skb, &fk, 0)) { in efx_filter_rfs() 928 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) { in efx_filter_rfs() 932 if (fk.control.flags & FLOW_DIS_IS_FRAGMENT) { in efx_filter_rfs() 945 req->spec.ether_type = fk.basic.n_proto; in efx_filter_rfs() 946 req->spec.ip_proto = fk.basic.ip_proto; in efx_filter_rfs() 948 if (fk.basic.n_proto == htons(ETH_P_IP)) { in efx_filter_rfs() 949 req->spec.rem_host[0] = fk.addrs.v4addrs.src; in efx_filter_rfs() 950 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs() 952 memcpy(req->spec.rem_host, &fk.addrs.v6addrs.src, in efx_filter_rfs() [all …]
|
/linux-6.12.1/arch/arm64/crypto/ |
D | sm4-ce.h | 8 const u32 *fk, const u32 *ck);
|
D | sm4-ce-glue.c | 28 const u32 *fk, const u32 *ck);
|
/linux-6.12.1/kernel/ |
D | auditfilter.c | 826 char *fk; in audit_dupe_rule() local 873 fk = kstrdup(old->filterkey, GFP_KERNEL); in audit_dupe_rule() 874 if (unlikely(!fk)) in audit_dupe_rule() 877 new->filterkey = fk; in audit_dupe_rule()
|
/linux-6.12.1/drivers/net/bonding/ |
D | bond_main.c | 4181 static bool bond_flow_ip(struct sk_buff *skb, struct flow_keys *fk, const void *data, in bond_flow_ip() argument 4193 iph_to_flow_copy_v4addrs(fk, iph); in bond_flow_ip() 4203 iph_to_flow_copy_v6addrs(fk, iph6); in bond_flow_ip() 4211 fk->ports.ports = __skb_flow_get_ports(skb, *nhoff, *ip_proto, data, hlen); in bond_flow_ip() 4242 __be16 l2_proto, int nhoff, int hlen, struct flow_keys *fk) in bond_flow_dissect() argument 4250 memset(fk, 0, sizeof(*fk)); in bond_flow_dissect() 4252 fk, data, l2_proto, nhoff, hlen, 0); in bond_flow_dissect() 4257 fk->ports.ports = 0; in bond_flow_dissect() 4258 memset(&fk->icmp, 0, sizeof(fk->icmp)); in bond_flow_dissect() 4259 if (!bond_flow_ip(skb, fk, data, hlen, l2_proto, &nhoff, &ip_proto, l34)) in bond_flow_dissect() [all …]
|