Skip to content

Commit e731c2c

Browse files
committed
Merge remote-tracking branch 'fstack/master'
2 parents a474970 + 8850115 commit e731c2c

File tree

3,458 files changed

+518769
-204304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,458 files changed

+518769
-204304
lines changed

config.ini

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vlan_strip=1
2020

2121
# sleep when no pkts incomming
2222
# unit: microseconds
23-
idle_sleep=100
23+
idle_sleep=0
2424

2525
# enabled port list
2626
#
@@ -36,6 +36,9 @@ idle_sleep=100
3636
# 1-3,4,7 ports 1,2,3,4,7 are enabled
3737
port_list=0
3838

39+
# Number of vdev.
40+
nb_vdev=0
41+
3942
# Port config section
4043
# Correspond to dpdk.port_list's index: port0, port1...
4144
[port0]
@@ -51,6 +54,22 @@ gateway=192.168.1.1
5154
# Packet capture path, this will hurt performance
5255
#pcap=./a.pcap
5356

57+
# Vdev config section
58+
# orrespond to dpdk.nb_vdev's index: vdev0, vdev1...
59+
# iface : Shouldn't set always.
60+
# path : The vuser device path in container. Required.
61+
# queues : The max queues of vuser. Optional, default 1, greater or equal to the number of processes.
62+
# queue_size : Queue size.Optional, default 256.
63+
# mac : The mac address of vuser. Optional, default random, if vhost use phy NIC, it should be set to the phy NIC's mac.
64+
# cq : Optional, if queues = 1, default 0; if queues > 1 default 1.
65+
#[vdev0]
66+
##iface=/usr/local/var/run/openvswitch/vhost-user0
67+
#path=/var/run/openvswitch/vhost-user0
68+
#queues=1
69+
#queue_size=256
70+
#mac=00:00:00:00:00:01
71+
#cq=0
72+
5473
# Kni config: if enabled and method=reject,
5574
# all packets that do not belong to the following tcp_port and udp_port
5675
# will transmit to kernel; if method=accept, all packets that belong to

doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
If you have a Redhat7.3 EC2 instance,and then execute the following cmds, you will get the F-Stack server in one minute
44

55
sudo -i
6-
yum install -y git gcc openssl-devel kernel-devel-$(uname -r) bc numactl-devel
6+
yum install -y git gcc openssl-devel kernel-devel-$(uname -r) bc numactl-devel mkdir make net-tools vim pciutils iproute
77

88
mkdir /data/f-stack
99
git clone https://github.com/F-Stack/f-stack.git /data/f-stack

dpdk/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ doc/guides/cryptodevs/overview_feature_table.txt
33
doc/guides/cryptodevs/overview_cipher_table.txt
44
doc/guides/cryptodevs/overview_auth_table.txt
55
doc/guides/cryptodevs/overview_aead_table.txt
6+
doc/guides/compressdevs/overview_feature_table.txt
67
cscope.out.po
78
cscope.out.in
89
cscope.out

dpdk/GNUmakefile

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
# BSD LICENSE
2-
#
3-
# Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
4-
# All rights reserved.
5-
#
6-
# Redistribution and use in source and binary forms, with or without
7-
# modification, are permitted provided that the following conditions
8-
# are met:
9-
#
10-
# * Redistributions of source code must retain the above copyright
11-
# notice, this list of conditions and the following disclaimer.
12-
# * Redistributions in binary form must reproduce the above copyright
13-
# notice, this list of conditions and the following disclaimer in
14-
# the documentation and/or other materials provided with the
15-
# distribution.
16-
# * Neither the name of Intel Corporation nor the names of its
17-
# contributors may be used to endorse or promote products derived
18-
# from this software without specific prior written permission.
19-
#
20-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22-
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23-
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24-
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25-
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27-
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28-
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29-
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30-
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright(c) 2010-2015 Intel Corporation
313

324
#
335
# Head Makefile for compiling rte SDK
@@ -40,7 +12,7 @@ export RTE_SDK
4012
# directory list
4113
#
4214

43-
ROOTDIRS-y := buildtools lib drivers app
15+
ROOTDIRS-y := buildtools lib kernel drivers app
4416
ROOTDIRS- := test
4517

4618
include $(RTE_SDK)/mk/rte.sdkroot.mk

dpdk/LICENSE.GPL

Lines changed: 0 additions & 339 deletions
This file was deleted.

dpdk/LICENSE.LGPL

Lines changed: 0 additions & 502 deletions
This file was deleted.

0 commit comments

Comments
 (0)