Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix potential crash in rx and tx distribution"
- Fix potential crash in rx and tx distribution
In some (rare) modes, more than 64 packets can be received through
one rx function. This is for instance the case of the lat mode.
Change-Id: Ie733c927a8e116c679c464f2551768185ef85366
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Zero packet loss testing has been added.
Using l2 testing, where no ARP messages are being used, you can now run
a zero packet loss test. The binary search will continue to find the
speed where absolutely no packets have been lost during the test.
On top of that, the output has been reformatted to also show the
absolute and relative packet loss.
The *.test files have now 2 new parameters: drop_rate_treshold and accuracy.
When drop_rate_treshold is set to 0, this test will conclude successfull
when no packet has been lost whatsoever. If this is set to any other
number, the test will be successfull when the relative packet loss is
lower than drop_rate_treshold.
The new accuray parameter defines when the binary search will stop:
when the relative difference between the min and max of the search
window is lower than accuracy.
The irq testing is slightly modified to print the total number of
interrupts in a certain time bucket, not only as the number per second,
but when there is no interrupt whatsowever, we print '0' in stead of
'0.0'
Change-Id: I8fafded0a225cbe1ba7ac61cd28e94d72099e4a0
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fixed issues with the pkt_size command
Fixed issues with pkt_size. For a 64 byte packet, we need to issue
pkt_size <core> <task> 60
4 extra bytes will be calculated and added automatically by PROX
Also added the missing irq.test and irq.cfg files
Added support for OpenStack systems not using floating IP addresses
Change-Id: I05d775eb858a58dd349ea370a0e34ac6448590c9
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Rework of the test cases in the *.test files
Cores can now be specified in the test files. An irq test has been
added to verify if the VMs are not suffering from long interrupts.
Change-Id: I647fda3ebf76c7c2b36a8df9a63d9fb83563c249
Signed-off-by: Provoost <luc.provoost@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix dumping receive packets"
- Fix dumping receive packets
There were two issues identified in dump receive packets
- when the receive packets was going to be dropped (and not transmitted),
it was also printed as TX[255].
- a potential crash when using the dump function with modes like
lat which can receive more than MAX_RING_BURST.
Those issues have been fixed.
Change-Id: Ia2297539d64961a211389d68e3c9c6280472243c
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Integrate irq mode into PROX (support display and command line)"
- Integrate irq mode into PROX (support display and command line)
irq mode can be used to show how a core is interrupted by other tasks.
This mode does not handle packets. It only loops reading tsc.
When the difference between two consecutive calls to rdtsc() is high
then it means the core was interrupted.
This task implementes the display, so that we can see a histogram of
interrupts as well as the maximum, per core.
Command line is also supported, through "show irq buckets" (too show
the intervals of each buckets, in micrcoseconds), and the stats
command line (showing the number of items in each buckets and the max)..
Change-Id: I153cc3deaa7b86ae2776ea44e46ef9ecfd116992
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix extrapolation used in latency measurements
When doing latency measurements PROX takes into account the
generation or reception of a bulk of packets. For instance, if
PROX receives at time T 4 packets, it knows that the first
packet was received by te NIC before T (the time to receive the other
3 packets, as they were received at maximum link speed).
So the latency data is decreased by the minimum time to receive those
3 packets.
For this PROX was using a default link speed of 10Gbps. This is wrong
for 1Gbps and 40Gbps networks, and was causing for instance issues
on 40 Gbps networks as extrapolating too much, resulting in either
too low latencies or negative numbers (visible as very high latencies).
Change-Id: I4e0f02e8383dd8d168ac50ecae37a05510ad08bc
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Add support for DPDK 17.11"
- Add support for DPDK 17.11
Change-Id: I5611ead4b61b23d6c1c983852e8c75619e08ecf9
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Add config option to use port mac as src mac in l2fwd and swap"
- Add config option to use port mac as src mac in l2fwd and swap
L2fwd and swap has many options to set src mac. swap was supposed
to support the ability to use port mac, but config file parsing was
wrong. L2fwd was using port mac if a port was available and if
src mac=packet or if there was no src mac in the config.
Now l2fwd supports the following options
- "src mac=xx:xx:xx:xx:xx:xx" => this mac address is used as src mac.
- "src mac=packet" => the src mac is taken from the dst mac of the
received packet.
- "src mac=hw" => the src mac is taken from the mac address of the port,
if there is a physical port. Error otherwise.
- "src mac=no" => src mac kept untouched
- No "src mac" => same as "src mac=hw" if there is a physical port
and same as "src mac=packet" otherwise.
Default is (no "src mac") hence the mac is taken from the tx port if there
is one tx port and from the packet otherwise.
swap support is similar, except that it does not support "src mac=no".
Change-Id: I70fe49a61c2e85772288b769ede14a7a6205d122
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix using signature in latency measurements"
- Fix using signature in latency measurements
When doing latency measurements the generator can add a
32 bits signature in the packet at a specific location,
so that the receiver only uses the packets generated by the
generator and ignores packets generated for instance by a switch
The is particuly important for latency measurements as we use
data in the packets as timestamps, and packets generated elsewhere
would result in random latency for those packets.
Change-Id: I8352b35aff76ec8d1344a1e492b9dcc20a53f1ce
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix stacking of rx receive functions"
- Fix stacking of rx receive functions
PROX can stack different RX functions, so that they are executed
after each other.
This feature is for instance used to dump packets or to print
distribution of receive packets, without influencing the performance
of the rx functions when no dump or print is needed.
The previous implementation was wrong and causing some of the stacked
functions not to be executed. This was causing for instance issues
in latency measurement after enabling dumping packets.
Change-Id: I766b8ee8e8852fa17cdaf60ee6e1fec0dc98c719
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix potential crash when issuing "tx distr stop" command."
- Fix potential crash when issuing "tx distr stop" command.
Change-Id: I9ef89020d203674f6c3301653ab2ff9d623665b6
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Initialize fields of outer IP header"
- Initialize fields of outer IP header
As it was non being initialized, fragment offset was sometimes non null.
prox_ip_cksum_sw (as well as prox_ip_cksum_hw) require the hdr_checksum
field to be initialized to 0.
Change-Id: I3824682023782edb555982e558e5ae68062c3c9b
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Adding Security gateway testing"
- Adding Security gateway testing
Using now .test files describing the test to be executed.
Also desribed in the README file how to deal with SRIOV ports.
Change-Id: I3eb1551d7f205fef3fa1914bc6959c2126d63425
Signed-off-by: Provoost <luc.provoost@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Add l3 support for tasks without physical tx ports"
- Add l3 support for tasks without physical tx ports
This adds support for tasks in l3 submode receiving from ports but
transmitting to rings.
ARP related information is exchanged between tasks through master core.
Tasks transmitting to physical ports are responsible to transmit arp
related packets. Tasks not transmitting to physical ports (and using
rings) should not try to transmit arp packets. Transmitting arp
packets through ring would be more complex, as we would need extra information
(within the mbuf) to distinguish for instance an arp reply comoing from the
network and an arp reply coming from a core (as a reply to an arp request).
Change-Id: Ib55dc8c39d5e55703a933faa16bcc008f1274929
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Add support for multiple tasks generating to same ip in l3 mode.
When multiple tasks generate to the same ip in l3 mode (i.e. with arp
support), all those tasks generate arp requests. we need to make sure
that they all receive a arp-reply i.e. that the master broadcast
the reply to all those cores.
Change-Id: I7e89196497a1016a94dde167f212b1f6ed03bcfe
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Updating release notes for OPNFV Euphrates 5.1
Change-Id: I01a619de621a3dfbfe11cabef257f9dec311e318
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix command parser"
- Fix command parser
Command parser could have been crashing if a wrong core/task was
used in pkt_size command. For some other commands both an error
and a warning were printed in case of errors.
Change-Id: I6648bfca1b5bcde3c6393d49687ed84900326d49
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix checks done when changing generator pkt_size"
- Fix checks done when changing generator pkt_size
Different checks were done when setting the generator pkt_size.
In case of wrong pkt_size (e.g. too big) an error was printed but
the pkt_size was still set causing a potential corruption.
In addition, in case of a packet size incompatible with some
of the packet fields (e.g. latency data) PROX was panicing
while this should not happen runtime for such an error.
Change-Id: Ifa11475bf295aaac7b0255c1bf9b5feed8ef90c4
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix qos statistics
Packets dropped by QoS (because queues were full) were erroneously
shown as idle cycles. There aee now shown as discarded packets.
Change-Id: I01a619de621a3dfbfe11cabef257f9dec311e208
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- correct prox ipsec vnf
reapply the latest changes (47355 and 47521) due to gerrit merge problem
* fix crypto init for both encryptor and decryptor
* improve performance: preallocate crypto op memory in init
* finalize enabling routed ipsec traffic (proper IP/MAC addresses)
* correct handling of dropped packets at encryptor
* Fix receive packets with size > 1024 bytes
Change-Id: I51cccc9bef0b9564ea1a3465ad28fb985eee06d1
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- fix prox crypto build
Change-Id: I4ea54763871c18b1bd6cec9dbb926f18f0f5833f
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Add support for nop mode with l3 submode"
- Add support for nop mode with l3 submode
The l3 submode was not supported in nop mode, as the nop mode uses some
specific nop thread (and not generic). When L3 is specified, the nop mode
must use the generic thread. In addition the l3 submode is implemented
differently than other submodes. It is not supported through task_init
structures (i.e. each task does not have to explicitely tell that it
supports l3 submode). But this prevented to run both a nop with no submode
and a nop with a l3 submode. Note that nop with l3 is usually not very useful
- it handles arp (requests and response) but as nop, it does not swap IP
addresses. So with a real switch, the packets transmitted will be received
back... and l3 mode is usually mainly usefull when using a switch.
However, there is at least one nop mode where l3 submode makes sense:
when the nop does not transmit. In such cases, for instace used in
conjunction with a gen l3, the nop receives all packets and forward
the arp requests and responses to the master for handling.
Change-Id: I992121db285ba25a11cbb494092a6afc6fe55a58
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- * fix encryption: ESP packet format
* fix traffic routing
* enqueue packets in a bulk (improve crypto performance: TBD)
* improve code clarity
* fix crypto dequeuing
* complete decryption path implementation
* NOTE: the code works in a chain mode; crypto init to be fixed next
Change-Id: I058a906f4f4f5691ebf25d2cdf5b5faded88e11d
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Remove unused files in udp replay
Change-Id: I8cbad85c607ca5148723ed3689eaed2c4967fb1d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Fix changing impair delay through command line"
- Fix changing impair delay through command line
Change-Id: I7797241a1d384fa184bdf4d73b81babb21f7383d
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix latency commands in l3 submode
Change-Id: I9c46b57f98b566efc8ca3ea5966befe2a150315b
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Rework handle_esp.c (proto, DPDK<17.08, cleanup)"
- Rework handle_esp.c (proto, DPDK<17.08, cleanup)
- Adjust handle functions to PROX-v035+ prototype, returning 0 when all
packets have been handled.
- Because cryptodev API was modified in DPDK 17.08, many changes would
be necessary to support it. For the moment, just exclude handle_esp.c
from PROX build when using DPDK 17.08+, which will be supported later.
- Cleanup:
- consistent use of PROX_PANIC to cleanly fail on errors
- consistent use of OUT_DISCARD to drop unhandled packets
- remove "__attribute__((unused))" when parameter is actually used
- remove unused defines, fields and variables
Change-Id: I10d84fa184a866b4a5f87272875612aace5dd5b1
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "lw_AFTR: IP Checksum required on generated packet."
- lw_AFTR: IP Checksum required on generated packet.
In lwAFTR (ipv6 de-encapsulate) the generated ipv4 packet requires an IP
checksum, otherwise this packet is dropped in Openstack. (Openstack is
much stricter than baremetal) Some fields in the header need to be
initialized.
Add flag in Makefile which when enabled will build to include the generate
the IP checksum in the build. FLAG = GEN_DECAP_IPV6_TO_IPV4_CKSUM=y
Not include in default build.
Change-Id: If94e7cff64b03c66362021f05e48fb9265fc8210
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge changes from PROX-v041
Change-Id: Ie6d4e7ce22c27967117a446626f5923643397812
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Makefile change and new task structures for IPSec Prox task"
- Makefile change and new task structures for IPSec Prox task
Change-Id: I389389e5317d1a9d0d79cc1762d6f15d8287e36a
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com>
Signed-off-by: Alexander Komarov <izard.ak@gmail.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Added IPSec/ESP performance demo building block to DPPD-PROX"
- Added IPSec/ESP performance demo building block to DPPD-PROX
Change-Id: I25ab50297cd7d2f80a5206ddc3c55ffad36bd8d8
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com>
Signed-off-by: Alexander Komarov <izard.ak@gmail.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Adjusted referencing for docs"
- Adjusted referencing for docs
Change-Id: If9e92a2404214e91c682793622f097e28c11597d
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix all the config files alignment issues
Change-Id: I087c9a9acf412a99f8425fd65d07db6c3b7a4af7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- update rest api table
Change-Id: I71f8b419a8b28bc3c9208c8902b91d06bc4653de
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix table issues in release notes
Change-Id: I0c2accf7e2c1f417b9823a0dfa1f356ff7730a3d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Updating user guide
Change-Id: I80bcbe616b8f2c64151de6e588c892de6c3dc8f1
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- remove unwated proxy in the script
Change-Id: I4a38ac4f7a05b6a96fd9e0e8539aa76252ded3b0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Adding script to build samplevnf VM images
Change-Id: I1238aa72f178fb8744fdea688704ef7ff22c9c75
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Updating release notes of samplevnf
Change-Id: I5c6854467bca41ab0ca5894e1a706a65eb68ef32
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Merge "Rest API: Fix all the bugs in the HWLB, mask issue, etc"
- Rest API: Fix all the bugs in the HWLB, mask issue, etc
Change-Id: If7cc44f3b57a54aef510f729930e6f79bf83689e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Copy the dev bind to standard path
Change-Id: I44972071e41b67a5aec2adaf426ec84f54c4414e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Docs: Developer guide review and update
Review and update teh Developer guide for E-Release.
Change-Id: I88221fe6ea5bf3581c1dbf8bf6aaa31a628fff87
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix udp replay issue
Change-Id: I6b78044beb21fdf07ad70d22c81bcca6ca955e63
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Fix compilation issue with older gcc
Change-Id: Ib7f67bff93ce531f66be31c3fbd63ecbb33a46d8
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Adding app version display
Change-Id: I366d915a05f58c5653de89c1c59ebd180904e080
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Docs: Enhance the userguide with CLI command reference
JIRA: SAMPLEVNF-84
Update the documents with CLI command reference and Resolve the
jenkins build warnings.
Change-Id: I2bf22507758e1a13b648cc40d86495581fe0d981
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- vACL: The ethernet mac address not updated correctly
JIRA: SAMPLEVNF-85
The ethernet header pointer initialization was wrong due to which
the MAC address were not updated. Hence the packets were not
reaching the destination.
Change-Id: I90a38bba8d26d5f481c6476e6995eed92970b6e3
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored
JIRA: SAMPLEVNF-86
Due to this KW fix the arp pipeline is rejecting the commands
greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl
which can is becoming bigger in case of multi port setup.
This patch undo the KW fix which is causing issue with longer
parameters under ARPICMP pipeline.
Change-Id: I96ba3882b5fecc6ac2f7b75f11a63083b847bba5
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
|
|
* Update docs/submodules/samplevnf from branch 'master'
- Adding index.rst for developer guide
Change-Id: Id9ad242c5147a1dc15a181baa2c5bd886335921c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
|