/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/ |
A D | ipsec.c | 103 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_restore() local 272 ipsec = adapter->ipsec; in ixgbevf_ipsec_add_sa() 401 ipsec = adapter->ipsec; in ixgbevf_ipsec_del_sa() 468 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_tx() local 563 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_rx() local 638 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in ixgbevf_init_ipsec_offload() 639 if (!ipsec) in ixgbevf_init_ipsec_offload() 656 adapter->ipsec = ipsec; in ixgbevf_init_ipsec_offload() 672 kfree(ipsec); in ixgbevf_init_ipsec_offload() 683 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_stop_ipsec_offload() local [all …]
|
A D | Makefile | 13 ixgbevf-$(CONFIG_IXGBEVF_IPSEC) += ipsec.o
|
A D | ixgbevf.h | 395 struct ixgbevf_ipsec *ipsec; member
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | ipsec.c | 17 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_dbg_netdev_ops_read() local 34 ipsec->count, ipsec->tx); in nsim_dbg_netdev_ops_read() 140 ipsec = &ns->ipsec; in nsim_ipsec_add_sa() 195 ipsec->count++; in nsim_ipsec_add_sa() 203 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_del_sa() local 214 ipsec->count--; in nsim_ipsec_del_sa() 220 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_offload_ok() local 222 ipsec->ok++; in nsim_ipsec_offload_ok() 236 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_tx() local 275 ipsec->tx++; in nsim_ipsec_tx() [all …]
|
A D | Makefile | 14 netdevsim-objs += ipsec.o
|
A D | netdevsim.h | 95 struct nsim_ipsec ipsec; member
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ipsec.c | 305 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_restore() local 567 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_add_sa() local 761 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_del_sa() local 853 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_clear() local 892 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_add_sa() local 1002 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_del_sa() local 1077 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_tx() local 1170 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_rx() local 1252 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in ixgbe_init_ipsec_offload() 1275 adapter->ipsec = ipsec; in ixgbe_init_ipsec_offload() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_fs.c | 609 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in rx_add_rule() local 687 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in tx_add_rule() local 755 tx_ft_put(ipsec); in tx_add_rule() 985 struct mlx5e_ipsec *ipsec = priv->ipsec; in mlx5e_accel_ipsec_fs_read_stats() local 1064 if (!ipsec->tx) in mlx5e_accel_ipsec_fs_cleanup() 1073 kfree(ipsec->tx); in mlx5e_accel_ipsec_fs_cleanup() 1095 ipsec->tx = kzalloc(sizeof(*ipsec->tx), GFP_KERNEL); in mlx5e_accel_ipsec_fs_init() 1096 if (!ipsec->tx) in mlx5e_accel_ipsec_fs_init() 1099 ipsec->rx_ipv4 = kzalloc(sizeof(*ipsec->rx_ipv4), GFP_KERNEL); in mlx5e_accel_ipsec_fs_init() 1103 ipsec->rx_ipv6 = kzalloc(sizeof(*ipsec->rx_ipv6), GFP_KERNEL); in mlx5e_accel_ipsec_fs_init() [all …]
|
A D | ipsec.c | 317 ipsec = priv->ipsec; in mlx5e_xfrm_add_state() 327 sa_entry->ipsec = ipsec; in mlx5e_xfrm_add_state() 372 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in mlx5e_xfrm_del_state() local 399 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in mlx5e_ipsec_init() 400 if (!ipsec) in mlx5e_ipsec_init() 422 priv->ipsec = ipsec; in mlx5e_ipsec_init() 432 kfree(ipsec); in mlx5e_ipsec_init() 439 struct mlx5e_ipsec *ipsec = priv->ipsec; in mlx5e_ipsec_cleanup() local 441 if (!ipsec) in mlx5e_ipsec_cleanup() 448 kfree(ipsec); in mlx5e_ipsec_cleanup() [all …]
|
A D | ipsec_stats.c | 69 if (!priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 81 if (!priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 95 if (!priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 98 mlx5e_accel_ipsec_fs_read_stats(priv, &priv->ipsec->hw_stats); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 100 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->hw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 108 return priv->ipsec ? NUM_IPSEC_SW_COUNTERS : 0; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 117 if (priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 128 if (priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 130 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
|
A D | ipsec_offload.c | 311 struct mlx5e_ipsec *ipsec; in mlx5e_ipsec_handle_event() local 318 ipsec = sa_entry->ipsec; in mlx5e_ipsec_handle_event() 319 aso = ipsec->aso; in mlx5e_ipsec_handle_event() 368 work->ipsec = ipsec; in mlx5e_ipsec_event() 371 queue_work(ipsec->wq, &work->work); in mlx5e_ipsec_event() 377 struct mlx5_core_dev *mdev = ipsec->mdev; in mlx5e_ipsec_aso_init() 404 mlx5_notifier_register(mdev, &ipsec->nb); in mlx5e_ipsec_aso_init() 406 ipsec->aso = aso; in mlx5e_ipsec_aso_init() 423 aso = ipsec->aso; in mlx5e_ipsec_aso_cleanup() 454 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in mlx5e_ipsec_aso_query() local [all …]
|
A D | ipsec.h | 127 struct mlx5e_ipsec *ipsec; member 174 struct mlx5e_ipsec *ipsec; member 205 struct mlx5e_ipsec *ipsec; member 216 void mlx5e_accel_ipsec_fs_cleanup(struct mlx5e_ipsec *ipsec); 217 int mlx5e_accel_ipsec_fs_init(struct mlx5e_ipsec *ipsec); 231 int mlx5e_ipsec_aso_init(struct mlx5e_ipsec *ipsec); 232 void mlx5e_ipsec_aso_cleanup(struct mlx5e_ipsec *ipsec); 247 return sa_entry->ipsec->mdev; in mlx5e_ipsec_sa2dev() 253 return pol_entry->ipsec->mdev; in mlx5e_ipsec_pol2dev()
|
A D | ipsec_rxtx.c | 270 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb() 276 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb() 283 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb() 289 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb() 316 struct mlx5e_ipsec *ipsec = priv->ipsec; in mlx5e_ipsec_offload_handle_rx_skb() local 325 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb() 330 sa_entry = xa_load(&ipsec->sadb, sa_handle); in mlx5e_ipsec_offload_handle_rx_skb() 333 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb() 356 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_offload_handle_rx_skb()
|
A D | en_accel.h | 114 struct mlx5e_accel_tx_ipsec_state ipsec; member 136 if (unlikely(!mlx5e_ipsec_handle_tx_skb(dev, skb, &state->ipsec))) in mlx5e_accel_tx_begin() 158 return mlx5e_ipsec_tx_ids_len(&state->ipsec); in mlx5e_accel_tx_ids_len() 198 state->ipsec.xo && state->ipsec.tailen) in mlx5e_accel_tx_finish() 199 mlx5e_ipsec_handle_tx_wqe(wqe, &state->ipsec, inlseg); in mlx5e_accel_tx_finish()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/rng/ |
A D | brcm,bcm2835.yaml | 29 const: ipsec 35 const: ipsec 78 clock-names = "ipsec"; 81 reset-names = "ipsec";
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | Makefile | 83 nfp-$(CONFIG_NFP_NET_IPSEC) += crypto/ipsec.o nfd3/ipsec.o nfdk/ipsec.o
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | .gitignore | 12 ipsec
|
A D | Makefile | 62 TEST_GEN_FILES += ipsec
|
A D | xfrm_policy.sh | 402 ip netns exec ns3 iptables -p icmp -A FORWARD -m policy --dir out --pol ipsec 403 ip netns exec ns4 iptables -p icmp -A FORWARD -m policy --dir out --pol ipsec
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfdk/ |
A D | dp.c | 176 struct sk_buff *skb, bool *ipsec) in nfp_nfdk_prep_tx_meta() argument 187 *ipsec = nfp_net_ipsec_tx_prep(dp, skb, &offload_info); in nfp_nfdk_prep_tx_meta() 195 if (!(md_dst || vlan_insert || *ipsec)) in nfp_nfdk_prep_tx_meta() 201 (*ipsec ? NFP_NET_META_IPSEC_FIELD_SIZE : 0); in nfp_nfdk_prep_tx_meta() 223 if (*ipsec) { in nfp_nfdk_prep_tx_meta() 265 bool ipsec = false; in nfp_nfdk_tx() local 286 metadata = nfp_nfdk_prep_tx_meta(dp, nn->app, skb, &ipsec); in nfp_nfdk_tx() 384 if (ipsec) in nfp_nfdk_tx() 390 if (!ipsec) in nfp_nfdk_tx() 399 if (!ipsec) in nfp_nfdk_tx()
|
/linux-6.3-rc2/arch/mips/boot/dts/brcm/ |
A D | bcm6368.dtsi | 231 clock-names = "ipsec"; 234 reset-names = "ipsec";
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfd3/ |
A D | dp.c | 172 u64 tls_handle, bool *ipsec) in nfp_nfd3_prep_tx_meta() argument 183 *ipsec = nfp_net_ipsec_tx_prep(dp, skb, &offload_info); in nfp_nfd3_prep_tx_meta() 191 if (!(md_dst || tls_handle || vlan_insert || *ipsec)) in nfp_nfd3_prep_tx_meta() 198 (*ipsec ? NFP_NET_META_IPSEC_FIELD_SIZE : 0); in nfp_nfd3_prep_tx_meta() 228 if (*ipsec) { in nfp_nfd3_prep_tx_meta() 266 bool ipsec = false; in nfp_nfd3_tx() local 294 md_bytes = nfp_nfd3_prep_tx_meta(dp, skb, tls_handle, &ipsec); in nfp_nfd3_tx() 327 if (ipsec) in nfp_nfd3_tx()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | index.rst | 63 ipsec
|
/linux-6.3-rc2/drivers/net/bonding/ |
A D | bond_main.c | 428 struct bond_ipsec *ipsec; in bond_ipsec_add_sa() local 452 ipsec = kmalloc(sizeof(*ipsec), GFP_ATOMIC); in bond_ipsec_add_sa() 453 if (!ipsec) { in bond_ipsec_add_sa() 461 ipsec->xs = xs; in bond_ipsec_add_sa() 467 kfree(ipsec); in bond_ipsec_add_sa() 476 struct bond_ipsec *ipsec; in bond_ipsec_add_sa_all() local 516 struct bond_ipsec *ipsec; in bond_ipsec_del_sa() local 546 if (ipsec->xs == xs) { in bond_ipsec_del_sa() 547 list_del(&ipsec->list); in bond_ipsec_del_sa() 548 kfree(ipsec); in bond_ipsec_del_sa() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | Makefile | 98 mlx5_core-$(CONFIG_MLX5_EN_IPSEC) += en_accel/ipsec.o en_accel/ipsec_rxtx.o \
|