| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| A D | ipsec.c | 103 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_restore() local 270 ipsec = adapter->ipsec; in ixgbevf_ipsec_add_sa() 395 ipsec = adapter->ipsec; in ixgbevf_ipsec_del_sa() 462 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_tx() local 557 struct ixgbevf_ipsec *ipsec = adapter->ipsec; in ixgbevf_ipsec_rx() local 631 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in ixgbevf_init_ipsec_offload() 632 if (!ipsec) in ixgbevf_init_ipsec_offload() 649 adapter->ipsec = ipsec; in ixgbevf_init_ipsec_offload() 665 kfree(ipsec); in ixgbevf_init_ipsec_offload() 676 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 | 393 struct ixgbevf_ipsec *ipsec; member
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_ipsec.c | 305 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_restore() local 565 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_add_sa() local 755 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_del_sa() local 847 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_clear() local 886 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_add_sa() local 996 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_vf_del_sa() local 1071 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_tx() local 1164 struct ixgbe_ipsec *ipsec = adapter->ipsec; in ixgbe_ipsec_rx() local 1246 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in ixgbe_init_ipsec_offload() 1269 adapter->ipsec = ipsec; in ixgbe_init_ipsec_offload() [all …]
|
| /linux/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() 139 ipsec = &ns->ipsec; in nsim_ipsec_add_sa() 190 ipsec->count++; in nsim_ipsec_add_sa() 198 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_del_sa() local 209 ipsec->count--; in nsim_ipsec_del_sa() 215 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_offload_ok() local 217 ipsec->ok++; in nsim_ipsec_offload_ok() 231 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_ipsec_tx() local 270 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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec.c | 81 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in mlx5e_ipsec_sadb_rx_add() local 103 struct mlx5e_ipsec *ipsec = sa_entry->ipsec; in mlx5e_ipsec_sadb_rx_del() local 330 sa_entry->ipsec = priv->ipsec; in mlx5e_xfrm_add_state() 423 ipsec = kzalloc(sizeof(*ipsec), GFP_KERNEL); in mlx5e_ipsec_init() 424 if (!ipsec) in mlx5e_ipsec_init() 435 if (!ipsec->wq) { in mlx5e_ipsec_init() 436 kfree(ipsec); in mlx5e_ipsec_init() 440 priv->ipsec = ipsec; in mlx5e_ipsec_init() 448 struct mlx5e_ipsec *ipsec = priv->ipsec; in mlx5e_ipsec_cleanup() local 450 if (!ipsec) in mlx5e_ipsec_cleanup() [all …]
|
| A D | ipsec_stats.c | 79 return priv->ipsec ? NUM_IPSEC_SW_COUNTERS : 0; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 88 if (priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 99 if (priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 101 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 108 return (priv->ipsec && mlx5_fpga_ipsec_device_caps(priv->mdev)) ? NUM_IPSEC_HW_COUNTERS : 0; in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 115 if (priv->ipsec) in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 116 ret = mlx5_accel_ipsec_counters_read(priv->mdev, (u64 *)&priv->ipsec->stats, in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 119 memset(&priv->ipsec->stats, 0, sizeof(priv->ipsec->stats)); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 126 if (priv->ipsec && mlx5_fpga_ipsec_device_caps(priv->mdev)) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 138 if (priv->ipsec && mlx5_fpga_ipsec_device_caps(priv->mdev)) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() [all …]
|
| A D | ipsec_fs.c | 337 struct mlx5e_ipsec *ipsec = priv->ipsec; in tx_create() local 355 ipsec->tx_fs->ft = ft; in tx_create() 361 struct mlx5e_ipsec *ipsec = priv->ipsec; in tx_destroy() local 367 ipsec->tx_fs->ft = NULL; in tx_destroy() 613 if (!priv->ipsec->rx_fs) in mlx5e_accel_ipsec_fs_add_rule() 626 if (!priv->ipsec->rx_fs) in mlx5e_accel_ipsec_fs_del_rule() 661 priv->ipsec->tx_fs = in fs_init_tx() 663 if (!priv->ipsec->tx_fs) in fs_init_tx() 676 priv->ipsec->rx_fs = in fs_init_rx() 678 if (!priv->ipsec->rx_fs) in fs_init_rx() [all …]
|
| A D | en_accel.h | 113 struct mlx5e_accel_tx_ipsec_state ipsec; member 134 if (unlikely(!mlx5e_ipsec_handle_tx_skb(dev, skb, &state->ipsec))) in mlx5e_accel_tx_begin() 145 return mlx5e_ipsec_is_tx_flow(&state->ipsec); in mlx5e_accel_tx_is_ipsec_flow() 156 return mlx5e_ipsec_tx_ids_len(&state->ipsec); in mlx5e_accel_tx_ids_len() 191 state->ipsec.xo && state->ipsec.tailen) in mlx5e_accel_tx_finish() 192 mlx5e_ipsec_handle_tx_wqe(wqe, &state->ipsec, inlseg); in mlx5e_accel_tx_finish()
|
| A D | ipsec_rxtx.c | 363 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb() 369 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb() 376 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb() 382 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb() 420 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_build_sp() 425 xs = mlx5e_ipsec_sadb_rx_lookup(priv->ipsec, sa_handle); in mlx5e_ipsec_build_sp() 440 if (likely(priv->ipsec->no_trailer)) { in mlx5e_ipsec_build_sp() 452 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_build_sp() 502 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb() 506 xs = mlx5e_ipsec_sadb_rx_lookup(priv->ipsec, sa_handle); in mlx5e_ipsec_offload_handle_rx_skb() [all …]
|
| A D | ipsec.h | 110 struct mlx5e_ipsec *ipsec; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| A D | ipsec.c | 227 if (!fdev || !fdev->ipsec) in mlx5_fpga_ipsec_cmd_exec() 339 if (!fdev->ipsec) in mlx5_fpga_ipsec_device_caps() 366 if (!fdev || !fdev->ipsec) in mlx5_fpga_ipsec_counters_count() 383 if (!fdev || !fdev->ipsec) in mlx5_fpga_ipsec_counters_read() 1276 fdev->ipsec = kzalloc(sizeof(*fdev->ipsec), GFP_KERNEL); in mlx5_fpga_ipsec_init() 1277 if (!fdev->ipsec) in mlx5_fpga_ipsec_init() 1280 fdev->ipsec->fdev = fdev; in mlx5_fpga_ipsec_init() 1332 kfree(fdev->ipsec); in mlx5_fpga_ipsec_init() 1333 fdev->ipsec = NULL; in mlx5_fpga_ipsec_init() 1360 kfree(fdev->ipsec); in mlx5_fpga_ipsec_cleanup() [all …]
|
| A D | core.h | 61 struct mlx5_fpga_ipsec *ipsec; member
|
| /linux/Documentation/devicetree/bindings/rng/ |
| A D | brcm,bcm2835.yaml | 29 const: ipsec 35 const: ipsec 78 clock-names = "ipsec"; 81 reset-names = "ipsec";
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | Makefile | 79 mlx5_core-$(CONFIG_MLX5_FPGA_IPSEC) += fpga/ipsec.o 81 mlx5_core-$(CONFIG_MLX5_ACCEL) += lib/crypto.o accel/tls.o accel/ipsec.o 85 mlx5_core-$(CONFIG_MLX5_EN_IPSEC) += en_accel/ipsec.o en_accel/ipsec_rxtx.o \
|
| /linux/tools/testing/selftests/net/ |
| A D | .gitignore | 2 ipsec
|
| A D | Makefile | 49 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/arch/mips/boot/dts/brcm/ |
| A D | bcm6368.dtsi | 231 clock-names = "ipsec"; 234 reset-names = "ipsec";
|
| /linux/drivers/net/bonding/ |
| A D | bond_main.c | 423 struct bond_ipsec *ipsec; in bond_ipsec_add_sa() local 447 ipsec = kmalloc(sizeof(*ipsec), GFP_ATOMIC); in bond_ipsec_add_sa() 448 if (!ipsec) { in bond_ipsec_add_sa() 456 ipsec->xs = xs; in bond_ipsec_add_sa() 462 kfree(ipsec); in bond_ipsec_add_sa() 471 struct bond_ipsec *ipsec; in bond_ipsec_add_sa_all() local 511 struct bond_ipsec *ipsec; in bond_ipsec_del_sa() local 541 if (ipsec->xs == xs) { in bond_ipsec_del_sa() 542 list_del(&ipsec->list); in bond_ipsec_del_sa() 543 kfree(ipsec); in bond_ipsec_del_sa() [all …]
|
| /linux/Documentation/networking/ |
| A D | index.rst | 63 ipsec
|
| A D | xfrm_device.rst | 51 The NIC driver offering ipsec offload will need to implement these
|
| /linux/Documentation/security/ |
| A D | SCTP.rst | 344 7) IPSEC is not supported as RFC 3554 - sctp/ipsec support has not been
|