| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_rxtx.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 60 __be16 mss_inv; /* 1/MSS in 16bit fixed point, only for LSO */ 80 /* Pre-calculated (Q0.16) fixed-point inverse 1/x function */ 85 return mlx5e_ipsec_inverse_table[skb_shinfo(skb)->gso_size]; in mlx5e_ipsec_mss_inv() 94 return ERR_PTR(-ENOMEM); in mlx5e_ipsec_add_metadata() 97 skb->mac_header -= sizeof(*mdata); in mlx5e_ipsec_add_metadata() 98 mdata = (struct mlx5e_ipsec_metadata *)(eth + 1); in mlx5e_ipsec_add_metadata() 100 memmove(skb->data, skb->data + sizeof(*mdata), in mlx5e_ipsec_add_metadata() 103 eth->h_proto = cpu_to_be16(MLX5E_METADATA_ETHER_TYPE); in mlx5e_ipsec_add_metadata() [all …]
|
| /kernel/linux/linux-6.6/net/ipv4/ |
| D | esp4_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 struct xfrm_offload *xo; in esp4_gro_receive() local 45 xo = xfrm_offload(skb); in esp4_gro_receive() 46 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive() 52 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive() 55 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive() 56 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive() 61 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive() 63 sp->xvec[sp->len++] = x; in esp4_gro_receive() 64 sp->olen++; in esp4_gro_receive() [all …]
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | esp4_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 struct xfrm_offload *xo; in esp4_gro_receive() local 44 xo = xfrm_offload(skb); in esp4_gro_receive() 45 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive() 51 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive() 54 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive() 55 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive() 60 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive() 62 sp->xvec[sp->len++] = x; in esp4_gro_receive() 63 sp->olen++; in esp4_gro_receive() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | ipsec_rxtx.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 49 unsigned int alen = crypto_aead_authsize(x->data); in mlx5e_ipsec_remove_trailer() 56 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); in mlx5e_ipsec_remove_trailer() 62 ret = pskb_trim(skb, skb->len - trailer_len); in mlx5e_ipsec_remove_trailer() 65 if (skb->protocol == htons(ETH_P_IP)) { in mlx5e_ipsec_remove_trailer() 66 ipv4hdr->tot_len = htons(ntohs(ipv4hdr->tot_len) - trailer_len); in mlx5e_ipsec_remove_trailer() 69 ipv6hdr->payload_len = htons(ntohs(ipv6hdr->payload_len) - in mlx5e_ipsec_remove_trailer() 77 struct xfrm_offload *xo) in mlx5e_ipsec_set_swp() argument 93 eseg->swp_outer_l3_offset = skb_network_offset(skb) / 2; in mlx5e_ipsec_set_swp() [all …]
|
| /kernel/linux/linux-6.6/net/ipv6/ |
| D | esp6_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP)) in esp6_nexthdr_esp_offset() 42 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset() 55 struct xfrm_offload *xo; in esp6_gro_receive() local 67 xo = xfrm_offload(skb); in esp6_gro_receive() 68 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive() 74 if (sp->len == XFRM_MAX_DEPTH) in esp6_gro_receive() 77 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp6_gro_receive() 78 (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in esp6_gro_receive() 83 skb->mark = xfrm_smark_get(skb->mark, x); in esp6_gro_receive() [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | esp6_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP)) in esp6_nexthdr_esp_offset() 40 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset() 53 struct xfrm_offload *xo; in esp6_gro_receive() local 66 xo = xfrm_offload(skb); in esp6_gro_receive() 67 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive() 73 if (sp->len == XFRM_MAX_DEPTH) in esp6_gro_receive() 76 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp6_gro_receive() 77 (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in esp6_gro_receive() 82 skb->mark = xfrm_smark_get(skb->mark, x); in esp6_gro_receive() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | qcom,mmcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeffrey Hugo <quic_jhugo@quicinc.com> 11 - Taniya Das <quic_tdas@quicinc.com> 20 - qcom,mmcc-apq8064 21 - qcom,mmcc-apq8084 22 - qcom,mmcc-msm8226 23 - qcom,mmcc-msm8660 24 - qcom,mmcc-msm8960 [all …]
|
| D | qcom,videocc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Taniya Das <quic_tdas@quicinc.com> 17 include/dt-bindings/clock/qcom,videocc-sc7180.h 18 include/dt-bindings/clock/qcom,videocc-sc7280.h 19 include/dt-bindings/clock/qcom,videocc-sdm845.h 20 include/dt-bindings/clock/qcom,videocc-sm8150.h 21 include/dt-bindings/clock/qcom,videocc-sm8250.h 26 - qcom,sc7180-videocc [all …]
|
| D | qcom,a53pll.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 14 frequencies above 1GHz. 19 - qcom,ipq5332-a53pll 20 - qcom,ipq6018-a53pll 21 - qcom,ipq8074-a53pll 22 - qcom,ipq9574-a73pll 23 - qcom,msm8916-a53pll [all …]
|
| D | qcom,gcc-ipq4019.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-ipq4019.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 12 - Robert Marko <robert.markoo@sartura.hr> 18 See also:: include/dt-bindings/clock/qcom,gcc-ipq4019.h 21 - $ref: qcom,gcc.yaml# 25 const: qcom,gcc-ipq4019 [all …]
|
| D | qcom,sc7180-camcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,sc7180-camcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Taniya Das <quic_tdas@quicinc.com> 16 See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h 20 const: qcom,sc7180-camcc 24 - description: Board XO source 25 - description: Camera_ahb clock from GCC 26 - description: Camera XO clock from GCC [all …]
|
| D | qcom,gcc-msm8976.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-msm8976.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 17 See also:: include/dt-bindings/clock/qcom,gcc-msm8976.h 22 - qcom,gcc-msm8976 23 - qcom,gcc-msm8976-v1.1 27 - description: XO source [all …]
|
| D | qcom,gcc-sdm845.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,gcc-sdm845.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 17 See also:: include/dt-bindings/clock/qcom,gcc-sdm845.h 22 - qcom,gcc-sdm670 23 - qcom,gcc-sdm845 29 clock-names: [all …]
|
| D | qcom,hfpll.txt | 1 High-Frequency PLL (HFPLL) 5 - compatible: 11 "qcom,hfpll-ipq8064", "qcom,hfpll" 12 "qcom,hfpll-apq8064", "qcom,hfpll" 13 "qcom,hfpll-msm8974", "qcom,hfpll" 14 "qcom,hfpll-msm8960", "qcom,hfpll" 16 - reg: 18 Value type: <prop-encoded-array> 23 - clocks: 25 Value type: <prop-encoded-array> [all …]
|
| D | qcom,msm8996-apcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,msm8996-apcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Loic Poulain <loic.poulain@linaro.org> 14 and clock 1 is for Perf cluster. 19 - qcom,msm8996-apcc 22 maxItems: 1 24 '#clock-cells': 25 const: 1 [all …]
|
| /kernel/linux/linux-5.10/net/xfrm/ |
| D | xfrm_device.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * xfrm_device.c - IPsec device offloading code. 25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local 28 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep() 29 skb->transport_header -= x->props.header_len; in __xfrm_transport_prep() 31 pskb_pull(skb, skb_transport_offset(skb) + x->props.header_len); in __xfrm_transport_prep() 38 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local 40 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep() 41 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep() 44 pskb_pull(skb, skb->mac_len + x->props.header_len); in __xfrm_mode_tunnel_prep() [all …]
|
| D | xfrm_replay.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * xfrm_replay.c - xfrm replay detection, derived from xfrm_state.c. 15 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi() 17 if (!(x->props.flags & XFRM_STATE_ESN)) in xfrm_replay_seqhi() 21 seq_hi = replay_esn->seq_hi; in xfrm_replay_seqhi() 22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi() 24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi() 31 seq_hi--; in xfrm_replay_seqhi() 42 * 1. we updated on of the sequence numbers, and the seqno difference in xfrm_replay_notify() 43 * is at least x->replay_maxdiff, in this case we also update the in xfrm_replay_notify() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/qcom/ |
| D | gcc-ipq4019.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 13 #include <linux/reset-controller.h> 18 #include <dt-bindings/clock/qcom,gcc-ipq4019.h> 21 #include "clk-regmap.h" 22 #include "clk-rcg.h" 23 #include "clk-branch.h" 25 #include "clk-regmap-divider.h" 45 * struct clk_fepll_vco - vco feedback divider corresponds for FEPLL clocks 61 * struct clk_fepll - clk divider corresponds to FEPLL clocks [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | qcom,a53pll.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sivaprakash Murugesan <sivaprak@codeaurora.org> 14 frequencies above 1GHz. 19 - qcom,ipq6018-a53pll 20 - qcom,msm8916-a53pll 23 maxItems: 1 25 '#clock-cells': 30 - description: board XO clock [all …]
|
| D | qcom,hfpll.txt | 1 High-Frequency PLL (HFPLL) 5 - compatible: 11 "qcom,hfpll-ipq8064", "qcom,hfpll" 12 "qcom,hfpll-apq8064", "qcom,hfpll" 13 "qcom,hfpll-msm8974", "qcom,hfpll" 14 "qcom,hfpll-msm8960", "qcom,hfpll" 16 - reg: 18 Value type: <prop-encoded-array> 23 - clocks: 25 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-6.6/net/xfrm/ |
| D | xfrm_replay.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * xfrm_replay.c - xfrm replay detection, derived from xfrm_state.c. 15 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi() 17 if (!(x->props.flags & XFRM_STATE_ESN)) in xfrm_replay_seqhi() 21 seq_hi = replay_esn->seq_hi; in xfrm_replay_seqhi() 22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi() 24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi() 31 seq_hi--; in xfrm_replay_seqhi() 45 * 1. we updated on of the sequence numbers, and the seqno difference in xfrm_replay_notify() 46 * is at least x->replay_maxdiff, in this case we also update the in xfrm_replay_notify() [all …]
|
| D | xfrm_input.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Split up af-specific portion 44 #define XFRM_TRANS_SKB_CB(__skb) ((struct xfrm_trans_cb *)&((__skb)->cb[0])) 47 static struct xfrm_input_afinfo const __rcu *xfrm_input_afinfo[2][AF_INET6 + 1]; 58 if (WARN_ON(afinfo->family > AF_INET6)) in xfrm_input_register_afinfo() 59 return -EAFNOSUPPORT; in xfrm_input_register_afinfo() 62 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) in xfrm_input_register_afinfo() 63 err = -EEXIST; in xfrm_input_register_afinfo() 65 rcu_assign_pointer(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], afinfo); in xfrm_input_register_afinfo() 76 if (likely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) { in xfrm_input_unregister_afinfo() [all …]
|
| D | xfrm_device.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * xfrm_device.c - IPsec device offloading code. 26 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local 29 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep() 30 skb->transport_header -= x->props.header_len; in __xfrm_transport_prep() 32 pskb_pull(skb, skb_transport_offset(skb) + x->props.header_len); in __xfrm_transport_prep() 39 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local 41 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep() 42 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep() 45 pskb_pull(skb, skb->mac_len + x->props.header_len); in __xfrm_mode_tunnel_prep() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | olpc-ec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* XO-1 EC commands */ 23 #define EC_SCI_SRC_BATTERY BIT(1) 26 #define EC_SCI_SRC_EBOOK BIT(4) /* XO-1 only */ 27 #define EC_SCI_SRC_WLAN BIT(5) /* XO-1 only */ 30 #define EC_SCI_SRC_GPWAKE BIT(8) /* XO-1.5 only */ 64 size_t outlen) { return -ENODEV; } in olpc_ec_cmd()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | olpc-ec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* XO-1 EC commands */ 23 #define EC_SCI_SRC_BATTERY BIT(1) 26 #define EC_SCI_SRC_EBOOK BIT(4) /* XO-1 only */ 27 #define EC_SCI_SRC_WLAN BIT(5) /* XO-1 only */ 30 #define EC_SCI_SRC_GPWAKE BIT(8) /* XO-1.5 only */ 62 size_t outlen) { return -ENODEV; } in olpc_ec_cmd()
|