#
9ac91e2f |
| 18-Oct-2024 |
Robin Jarry <rjarry@redhat.com> |
ipsec: use IPv6 address structure
Update rte_ipsec_sadv6_key to use rte_ipv6_addr structures instead of uint8_t[16] arrays.
Signed-off-by: Robin Jarry <rjarry@redhat.com>
|
#
0dc91038 |
| 21-Mar-2024 |
Masoumeh Farhadi Nia <masoumeh.farhadinia@gmail.com> |
examples/ipsec-secgw: fix typo in error message
Caught by codespell.
Fixes: 7622291b641d ("examples/ipsec-secgw: allow to specify neighbour MAC address") Cc: stable@dpdk.org
Signed-off-by: Masoume
examples/ipsec-secgw: fix typo in error message
Caught by codespell.
Fixes: 7622291b641d ("examples/ipsec-secgw: allow to specify neighbour MAC address") Cc: stable@dpdk.org
Signed-off-by: Masoumeh Farhadi Nia <masoumeh.farhadinia@gmail.com>
show more ...
|
#
72b452c5 |
| 27-Aug-2022 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directl
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directly from the files that need them.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
c2341bb6 |
| 30-Oct-2020 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
cmdline: avoid name clash with Windows system types
cmdline_numtype member names clash with Windows system identifiers. Add RTE_ prefix to cmdline constants to avoid this and possible future conflic
cmdline: avoid name clash with Windows system types
cmdline_numtype member names clash with Windows system identifiers. Add RTE_ prefix to cmdline constants to avoid this and possible future conflicts.
Suggested-by: Ranjit Menon <ranjit.menon@intel.com> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Ranjit Menon <ranjit.menon@intel.com> Acked-by: Jie Zhou <jizh@microsoft.com> Tested-by: Jie Zhou <jizh@microsoft.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
4054466b |
| 13-Jul-2020 |
Ibtisam Tariq <ibtisam.tariq@emumba.com> |
examples/ipsec-secgw: use POSIX network address conversion
inet_pton4 and inet_pton6 was reimplemented. Replace implementation of inet_pton4 and inet_pton6 with libc inet_pton function
Bugzilla ID:
examples/ipsec-secgw: use POSIX network address conversion
inet_pton4 and inet_pton6 was reimplemented. Replace implementation of inet_pton4 and inet_pton6 with libc inet_pton function
Bugzilla ID: 365 Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Reported-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
8e693616 |
| 17-Jul-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: enable flow based distribution
RTE_FLOW API allows hardware parsing and steering of packets to specific queues which helps in distributing ingress traffic across various cores.
examples/ipsec-secgw: enable flow based distribution
RTE_FLOW API allows hardware parsing and steering of packets to specific queues which helps in distributing ingress traffic across various cores. Adding 'flow' rules allows user to specify the distribution required.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
b0806375 |
| 31-Jan-2020 |
Vladimir Medvedkin <vladimir.medvedkin@intel.com> |
examples/ipsec-secgw: get rid of maximum SP limitation
Get rid of maximum SP limitation. Keep parsed SP's into the sorted by SPI value array. Use binary search in the sorted SP array to find appropr
examples/ipsec-secgw: get rid of maximum SP limitation
Get rid of maximum SP limitation. Keep parsed SP's into the sorted by SPI value array. Use binary search in the sorted SP array to find appropriate SP for a given SPI.
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
e1143d7d |
| 31-Jan-2020 |
Vladimir Medvedkin <vladimir.medvedkin@intel.com> |
examples/ipsec-secgw: get rid of maximum SA limitation
Get rid of maximum SA limitation. Keep parsed SA's into the sorted by SPI value array. Use binary search in the sorted SA array to find appropr
examples/ipsec-secgw: get rid of maximum SA limitation
Get rid of maximum SA limitation. Keep parsed SA's into the sorted by SPI value array. Use binary search in the sorted SA array to find appropriate SA for a given SPI.
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
6d13ea8e |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
7622291b |
| 10-Jan-2019 |
Konstantin Ananyev <konstantin.ananyev@intel.com> |
examples/ipsec-secgw: allow to specify neighbour MAC address
In some cases it is useful to allow user to specify destination ether address for outgoing packets. This patch adds such ability by intro
examples/ipsec-secgw: allow to specify neighbour MAC address
In some cases it is useful to allow user to specify destination ether address for outgoing packets. This patch adds such ability by introducing new 'neigh' config file option.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Radu Nicolau <radu.nicolau@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
1bdea611 |
| 14-May-2018 |
Kirill Rybalchenko <kirill.rybalchenko@intel.com> |
examples/ipsec-secgw: fix IP address parsing
In strlcpy function parameters there was no allowance for null terminator, so ip address was copied without last character.
Fixes: ae943ebe1ed3 ("exampl
examples/ipsec-secgw: fix IP address parsing
In strlcpy function parameters there was no allowance for null terminator, so ip address was copied without last character.
Fixes: ae943ebe1ed3 ("examples/ipsec-secgw: replace strncpy with strlcpy") Cc: stable@dpdk.org
Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
ae943ebe |
| 09-May-2018 |
Reshma Pattan <reshma.pattan@intel.com> |
examples/ipsec-secgw: replace strncpy with strlcpy
Use strlcpy instead of strncpy. Use strcpy where boundchecks on destination is not needed.
Fixes: 0d547ed037 ("examples/ipsec-secgw: support confi
examples/ipsec-secgw: replace strncpy with strlcpy
Use strlcpy instead of strncpy. Use strcpy where boundchecks on destination is not needed.
Fixes: 0d547ed037 ("examples/ipsec-secgw: support configuration file") Fixes: 07b156199f ("examples/ipsec-secgw: fix configuration string termination") Fixes: a1469c319f ("examples/ipsec-secgw: fix configuration parsing") Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
3998e2a0 |
| 19-Dec-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
examples: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@i
examples: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
a1469c31 |
| 07-Nov-2016 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/ipsec-secgw: fix configuration parsing
Fix pointer to local outside scope.
Coverity issue: 137871 Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Signed-off-by: F
examples/ipsec-secgw: fix configuration parsing
Fix pointer to local outside scope.
Coverity issue: 137871 Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
07b15619 |
| 03-Nov-2016 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/ipsec-secgw: fix configuration string termination
Coverity issue: 137854, 137855 Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Signed-off-by: Fan Zhang <roy.fan.
examples/ipsec-secgw: fix configuration string termination
Coverity issue: 137854, 137855 Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
0d547ed0 |
| 21-Sep-2016 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/ipsec-secgw: support configuration file
This patch adds the configuration file support to ipsec_secgw sample application. Instead of hard-coded rules, the users can specify their own SP, SA
examples/ipsec-secgw: support configuration file
This patch adds the configuration file support to ipsec_secgw sample application. Instead of hard-coded rules, the users can specify their own SP, SA, and routing rules in the configuration file. A command line option "-f" is added to pass the configuration file location to the application.
Configuration item formats:
SP rule format: sp <ip_ver> <dir> esp <action> <priority> <src_ip> <dst_ip> \ <proto> <sport> <dport>
SA rule format: sa <dir> <spi> <cipher_algo> <cipher_key> <auth_algo> <auth_key> \ <mode> <src_ip> <dst_ip>
Routing rule format: rt <ip_ver> <src_ip> <dst_ip> <port>
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
show more ...
|