Home
last modified time | relevance | path

Searched refs:inbound (Results 1 – 20 of 20) sorted by relevance

/dpdk/drivers/net/cnxk/
H A Dcn9k_ethdev_sec.c152 bool inbound; in cn9k_eth_sec_session_create() local
166 inbound = !!(ipsec->direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS); in cn9k_eth_sec_session_create()
169 if (cnxk_eth_sec_sess_get_by_spi(dev, ipsec->spi, inbound)) { in cn9k_eth_sec_session_create()
171 inbound ? "Inbound" : "Outbound", ipsec->spi); in cn9k_eth_sec_session_create()
180 lock = inbound ? &dev->inb.lock : &dev->outb.lock; in cn9k_eth_sec_session_create()
186 if (inbound) { in cn9k_eth_sec_session_create()
319 inbound ? "inbound" : "outbound", eth_sec->spi, in cn9k_eth_sec_session_create()
H A Dcn10k_ethdev_sec.c596 bool inbound, inl_dev; in cn10k_eth_sec_session_create() local
623 if (cnxk_eth_sec_sess_get_by_spi(dev, ipsec->spi, inbound)) { in cn10k_eth_sec_session_create()
625 inbound ? "Inbound" : "Outbound", ipsec->spi); in cn10k_eth_sec_session_create()
637 lock = inbound ? &dev->inb.lock : &dev->outb.lock; in cn10k_eth_sec_session_create()
641 if (inbound && inl_dev) in cn10k_eth_sec_session_create()
644 if (inbound) { in cn10k_eth_sec_session_create()
823 if (inbound && inl_dev) in cn10k_eth_sec_session_create()
828 inbound ? "inbound" : "outbound", eth_sec->spi, in cn10k_eth_sec_session_create()
837 if (inbound && inl_dev) in cn10k_eth_sec_session_create()
922 bool inbound; in cn10k_eth_sec_session_update() local
[all …]
/dpdk/doc/guides/nics/
H A Dcnxk.rst218 - ``Min SPI for inbound inline IPsec`` (default ``0``)
220 Min SPI supported for inbound inline IPsec processing can be specified by
228 for inbound SA with min SPI of 6.
230 - ``Max SPI for inbound inline IPsec`` (default ``255``)
232 Max SPI supported for inbound inline IPsec processing can be specified by
298 - ``Disable using inline ipsec device for inbound`` (default ``0``)
336 set with this custom mask, inbound encrypted traffic from all ports with
456 - ``Min SPI for inbound inline IPsec`` (default ``0``)
458 Min SPI supported for inbound inline IPsec processing can be specified by
466 for inbound SA with min SPI of 6 for traffic aggregated on inline device.
[all …]
H A Dbnxt.rst375 queues, allowing inbound network traffic to be processed by multiple CPU cores.
/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c237 struct ipsec_ctx inbound; member
1145 ctx = &qconf->inbound; in drain_crypto_buffers()
1318 &qconf->inbound); in ipsec_poll_mode_worker()
2098 ipsec_ctx = &qconf->inbound; in add_cdev_mapping()
3021 total->inbound.spd6.protect += lcore_stats->inbound.spd6.protect; in update_lcore_statistics()
3022 total->inbound.spd6.bypass += lcore_stats->inbound.spd6.bypass; in update_lcore_statistics()
3023 total->inbound.spd6.discard += lcore_stats->inbound.spd6.discard; in update_lcore_statistics()
3025 total->inbound.spd4.protect += lcore_stats->inbound.spd4.protect; in update_lcore_statistics()
3026 total->inbound.spd4.bypass += lcore_stats->inbound.spd4.bypass; in update_lcore_statistics()
3027 total->inbound.spd4.discard += lcore_stats->inbound.spd4.discard; in update_lcore_statistics()
[all …]
H A Dsa.c951 printf("\tspi_%s(%3u):", inbound?"in":"out", sa->spi); in print_one_sa_rule()
1105 if (inbound) { in check_eth_dev_caps()
1220 uint32_t nb_entries, uint32_t inbound, in sa_add_rules() argument
1243 if (inbound) { in sa_add_rules()
1254 if (check_eth_dev_caps(sa->portid, inbound, sa->mss)) in sa_add_rules()
1289 sa_ctx->xf[idx].a.aead.op = (inbound == 1) ? in sa_add_rules()
1320 if (inbound) { in sa_add_rules()
1371 sa->xforms = inbound ? in sa_add_rules()
1394 if (sa->fdir_flag && inbound) { in sa_add_rules()
1400 print_one_sa_rule(sa, inbound); in sa_add_rules()
[all …]
H A Dsp4.c522 check_spi_value(struct sa_ctx *sa_ctx, int inbound) in check_spi_value() argument
528 if (inbound != 0) { in check_spi_value()
539 spi_idx = sa_spi_present(sa_ctx, spi, inbound); in check_spi_value()
609 sp4_spi_present(uint32_t spi, int inbound, struct ip_addr ip_addr[2], in sp4_spi_present() argument
617 if (inbound != 0) { in sp4_spi_present()
H A Dipsec_worker.c697 ret = process_ipsec_ev_inbound_vector(&lconf->inbound, in ipsec_ev_vector_process()
908 lconf.inbound.sp4_ctx = socket_ctx[socket_id].sp_ip4_in; in ipsec_wrkr_non_burst_int_port_app_mode()
909 lconf.inbound.sp6_ctx = socket_ctx[socket_id].sp_ip6_in; in ipsec_wrkr_non_burst_int_port_app_mode()
910 lconf.inbound.sa_ctx = socket_ctx[socket_id].sa_in; in ipsec_wrkr_non_burst_int_port_app_mode()
911 lconf.inbound.session_pool = socket_ctx[socket_id].session_pool; in ipsec_wrkr_non_burst_int_port_app_mode()
912 lconf.inbound.session_priv_pool = in ipsec_wrkr_non_burst_int_port_app_mode()
959 ret = process_ipsec_ev_inbound(&lconf.inbound, in ipsec_wrkr_non_burst_int_port_app_mode()
H A Dipsec.h377 sp4_spi_present(uint32_t spi, int inbound, struct ip_addr ip_addr[2],
380 sp6_spi_present(uint32_t spi, int inbound, struct ip_addr ip_addr[2],
389 sa_spi_present(struct sa_ctx *sa_ctx, uint32_t spi, int inbound);
H A Dipsec_worker.h32 struct ipsec_ctx inbound; member
H A Dsp6.c653 check_spi_value(struct sa_ctx *sa_ctx, int inbound) in check_spi_value() argument
659 if (inbound != 0) { in check_spi_value()
670 spi_idx = sa_spi_present(sa_ctx, spi, inbound); in check_spi_value()
739 sp6_spi_present(uint32_t spi, int inbound, struct ip_addr ip_addr[2], in sp6_spi_present() argument
747 if (inbound != 0) { in sp6_spi_present()
H A Dipsec-secgw.h112 } inbound; member
/dpdk/doc/guides/prog_guide/
H A Dipsec_lib.rst20 inbound and outbound IPsec packets.
24 * for inbound ESP/AH packets perform decryption, authentication, integrity checking, remove ESP/AH…
64 * for inbound packets:
97 * for inbound packets:
122 * for inbound packets:
139 * for inbound packets:
251 inbound ipsec packet as a key.
H A Dmetrics_lib.rst179 - ``mean_bits_in``: Average inbound bit-rate
181 - ``ewma_bits_in``: Average inbound bit-rate (EWMA smoothed)
183 - ``peak_bits_in``: Peak inbound bit-rate
H A Dbbdev.rst484 If BBDEV PMD does not support this feature, it will assume inbound mbuf data
575 In TB-mode, CRC24A is assumed to be pre-calculated and appended to the inbound
810 | |r |index of the first CB in the inbound mbuf data |
849 inbound TB data buffer, unless the ``RTE_BBDEV_LDPC_CRC_24A_ATTACH``
1025 | |r |index of the first CB in the inbound mbuf data |
H A Drte_flow.rst186 to inbound and / or outbound traffic. With this respect, ``ingress``
187 and ``egress`` respectively stand for **inbound** and **outbound**
/dpdk/doc/guides/rel_notes/
H A Drelease_21_11.rst368 * Added tests to verify tunnel header verification in IPsec inbound.
571 routines used by inline outbound and inline inbound security processing were
582 verification need to be done as part of inbound IPsec processing.
586 verification need to be done as part of inbound IPsec processing.
H A Drelease_22_03.rst119 * Added support for IP reassembly for inline inbound IPsec packets.
H A Drelease_20_05.rst239 * Added IPsec inbound load-distribution support for the application using
/dpdk/doc/guides/sample_app_ug/
H A Dipsec_secgw.rst36 add/remove them during outbound/inbound processing.
440 * *in*: inbound traffic
544 * *in*: inbound traffic
731 * Option for redirecting a specific inbound ipsec flow of a port to a specific