Retire repository
Fuel repositories are all retired in openstack namespace, retire remaining fuel repos in x namespace since they are unused now. This change removes all content from the repository and adds the usual README file to point out that the repository is retired following the process from https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project See also http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html A related change is: https://review.opendev.org/699752 . Change-Id: Ia8e2df72f78f661b8b72c1960030de0c16cd1ab3
This commit is contained in:
parent
4a32c4d49d
commit
3edfee0cd6
|
@ -1,2 +0,0 @@
|
|||
.build
|
||||
.vagrant
|
202
LICENSE
202
LICENSE
|
@ -1,202 +0,0 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
134
README.md
134
README.md
|
@ -1,134 +0,0 @@
|
|||
Openvswitch Plugin for Fuel
|
||||
================================
|
||||
|
||||
Openvswitch plugin
|
||||
-----------------------
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
Fuel plugin fuel-plugin-ovs is developed to deploy OVS with NSH
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
| Requirement | Version/Comment |
|
||||
|----------------------------------|-----------------|
|
||||
| Mirantis OpenStack compatibility | 10.0 |
|
||||
|
||||
Recommendations
|
||||
---------------
|
||||
|
||||
None.
|
||||
|
||||
Limitations
|
||||
-----------
|
||||
|
||||
None.
|
||||
|
||||
Installation Guide
|
||||
==================
|
||||
|
||||
Openvswitch plugin installation
|
||||
----------------------------------------
|
||||
|
||||
1. Clone the fuel-plugin-ovs repo from stackforge:
|
||||
|
||||
git clone https://github.com/openstack/fuel-plugin-ovs
|
||||
|
||||
2. Install the Fuel Plugin Builder:
|
||||
|
||||
pip install fuel-plugin-builder
|
||||
|
||||
3. Build Openvswitch Fuel plugin:
|
||||
|
||||
fpb --build fuel-plugin-ovs/
|
||||
|
||||
4. The *fuel-plugin-ovs-[x.x.x].rpm* plugin package will be created in the plugin folder.
|
||||
|
||||
5. Move this file to the Fuel Master node with secure copy (scp):
|
||||
|
||||
scp fuel-plugin-ovs-[x.x.x].rpm root@<the_Fuel_Master_node_IP address>:/tmp
|
||||
|
||||
6. While logged in Fuel Master install the Openvswitch plugin:
|
||||
|
||||
fuel plugins --install fuel-plugin-ovs-[x.x.x].rpm
|
||||
|
||||
7. Check if the plugin was installed successfully:
|
||||
|
||||
fuel plugins
|
||||
|
||||
id | name | version | package_version
|
||||
---|-----------------|---------|----------------
|
||||
1 | fuel-plugin-ovs | 1.0.0 | 4.0.0
|
||||
|
||||
8. Plugin is ready to use and can be enabled on the Settings tab of the Fuel web UI.
|
||||
|
||||
|
||||
User Guide
|
||||
==========
|
||||
|
||||
Openvswitch plugin configuration
|
||||
---------------------------------------------
|
||||
|
||||
1. Create a new environment with the Fuel UI wizard.
|
||||
2. Click on the Settings tab of the Fuel web UI.
|
||||
3. Scroll down the page, select the plugin checkbox.
|
||||
|
||||
|
||||
Build options
|
||||
-------------
|
||||
|
||||
It is possible to modify process of building plugin by setting environment variables. Look into [pre_build_hook file](pre_build_hook) for more details.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
If you plan to use plugin in environment without internet access or/and CentOS environment modify build command:
|
||||
|
||||
INCLUDE_DEPENDENCIES=true fpb --build fuel-plugin-ovs/
|
||||
|
||||
Pre build script will try download required dependencies so it become part of the compiled plugin.
|
||||
|
||||
Note: List of packages for [ubuntu](ovs_package/ubuntu/dependencies.txt) and [centos](ovs_package/centos/dependencies.txt) may need to be modified if packages in centos or ubuntu repositories will change.
|
||||
|
||||
Testing
|
||||
-------
|
||||
|
||||
None.
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
None.
|
||||
|
||||
|
||||
Development
|
||||
===========
|
||||
|
||||
The *OpenStack Development Mailing List* is the preferred way to communicate,
|
||||
emails should be sent to `openstack-dev@lists.openstack.org` with the subject
|
||||
prefixed by `[fuel][plugins][ovs]`.
|
||||
|
||||
Reporting Bugs
|
||||
--------------
|
||||
|
||||
Bugs should be filled on the [Launchpad fuel-plugins project](
|
||||
https://bugs.launchpad.net/fuel-plugins) (not GitHub) with the tag `ovs`.
|
||||
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
If you would like to contribute to the development of this Fuel plugin you must
|
||||
follow the [OpenStack development workflow](
|
||||
http://docs.openstack.org/infra/manual/developers.html#development-workflow).
|
||||
|
||||
Patch reviews take place on the [OpenStack gerrit](
|
||||
https://review.openstack.org/#/q/status:open+project:stackforge/fuel-plugin-ovs,n,z)
|
||||
system.
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* ling.y.yu@intel.com,ruijing.guo@intel.com
|
|
@ -0,0 +1,10 @@
|
|||
This project is no longer maintained.
|
||||
|
||||
The contents of this repository are still available in the Git
|
||||
source code management system. To see the contents of this
|
||||
repository before it reached its end of life, please check out the
|
||||
previous commit with "git checkout HEAD^1".
|
||||
|
||||
For any further questions, please email
|
||||
openstack-discuss@lists.openstack.org or join #openstack-dev on
|
||||
Freenode.
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
HTTP_PROXY=${HTTP_PROXY:-http://127.0.0.1:1080}
|
||||
cat <<EOF | sudo tee /etc/apt/apt.conf
|
||||
Acquire::http::Proxy "$HTTP_PROXY";
|
||||
EOF
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y openssh-server git redsocks
|
|
@ -1,47 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
SOCKS5_IP=${SOCKS5_IP:-127.0.0.1}
|
||||
SOCKS5_PORT=${SOCKS5:-1080}
|
||||
RED_TCPORT=${RED_TCPORT:-6666}
|
||||
|
||||
cat <<EOF | sudo tee /etc/redsocks.conf
|
||||
base {
|
||||
log_debug = on;
|
||||
log_info = on;
|
||||
log = "file:/root/proxy.log";
|
||||
daemon = on;
|
||||
redirector = iptables;
|
||||
}
|
||||
|
||||
redsocks {
|
||||
local_ip = 0.0.0.0;
|
||||
local_port = ${RED_TCPORT};
|
||||
ip = $SOCKS5_IP;
|
||||
port = $SOCKS5_PORT;
|
||||
type = socks5;
|
||||
}
|
||||
|
||||
EOF
|
||||
|
||||
sudo apt-get install iptables -y
|
||||
|
||||
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
|
||||
|
||||
sudo iptables -t filter -F
|
||||
sudo iptables -t mangle -F
|
||||
sudo iptables -t nat -F
|
||||
|
||||
sudo iptables -t nat -N REDSOCKS
|
||||
sudo iptables -t nat -A REDSOCKS -d 0.0.0.0/8 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 169.254.0.0/16 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 172.16.0.0/12 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 192.168.0.0/16 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 224.0.0.0/4 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -d 240.0.0.0/4 -j RETURN
|
||||
sudo iptables -t nat -A REDSOCKS -p tcp -j REDIRECT --to-ports ${RED_TCPORT}
|
||||
sudo iptables -t nat -A OUTPUT -p tcp -j REDSOCKS
|
||||
sudo iptables -t nat -A PREROUTING -p tcp -j REDSOCKS
|
||||
|
||||
sudo service redsocks restart
|
|
@ -1,38 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
user=`whoami`
|
||||
|
||||
cat << EOF | sudo tee /etc/sudoers.d/${user}
|
||||
${user} ALL = (root) NOPASSWD:ALL
|
||||
EOF
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install openssh-server git -y
|
||||
|
||||
#install vnc
|
||||
sudo apt-get install gnome-session gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4server -y
|
||||
|
||||
#install libvirt/qemu
|
||||
sudo apt-get install virt-manager libvirt-bin qemu-system -y
|
||||
sudo virsh net-destroy default
|
||||
sudo virsh net-undefine default
|
||||
sudo rm -rf /etc/libvirt/qemu/networks/autostart/default.xml
|
||||
cat << EOF | sudo tee /etc/libvirt/qemu.conf
|
||||
user = "root"
|
||||
group = "root"
|
||||
EOF
|
||||
|
||||
sudo service libvirt-bin restart
|
||||
sudo ifconfig virbr0 down
|
||||
sudo brctl delbr virbr0
|
||||
sudo apt-get install putty-tools -y
|
||||
|
||||
#install ntp
|
||||
sudo service ntp stop
|
||||
sudo apt-get autoremove ntp -y
|
||||
sudo apt-get install ntp -y --force-yes
|
||||
cat << EOF | sudo tee /etc/ntp.conf
|
||||
server 127.127.1.0
|
||||
fudge 127.127.1.0 stratum 10
|
||||
EOF'
|
||||
sudo service ntp restart
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
rm -rf ~/.vnc; mkdir ~/.vnc
|
||||
echo "123456\n123456\n" | vncpasswd
|
||||
|
||||
cat << EOF > ~/.vnc/xstartup
|
||||
#!/bin/bash
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
DESK_TYPE=gnome
|
||||
export XKL_XMODMAP_DISABLE=1
|
||||
unset SESSION_MANAGER
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
|
||||
xsetroot -solid grey
|
||||
vncconfig -iconic &
|
||||
vncconfig -nowin &
|
||||
gnome-session &
|
||||
gnome-panel &
|
||||
gnome-settings-daemon &
|
||||
metacity &
|
||||
nautilus -n &
|
||||
gnome-terminal &
|
||||
EOF
|
||||
|
||||
chmod 755 ~/.vnc/xstartup
|
||||
vnc4server -geometry 1650x950 -depth 16 &
|
||||
echo "vnc password is 123456"
|
|
@ -1,100 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
DNS_SERVER=${DNS_SERVER:-10.248.2.1}
|
||||
SUPPORT_DPDK=${SUPPORT_DPDK:-false}
|
||||
|
||||
ls *.iso &> /dev/null || (echo "pls download fuel iso here" && exit 0)
|
||||
|
||||
#setup ntp server
|
||||
sudo service ntp restart
|
||||
|
||||
#setup network
|
||||
|
||||
sudo ifconfig br-eth0 down
|
||||
sudo brctl delbr br-eth0
|
||||
sudo brctl addbr br-eth0
|
||||
sudo ifconfig br-eth0 10.20.0.1/24 up
|
||||
|
||||
sudo ifconfig br-eth1 down
|
||||
sudo brctl delbr br-eth1
|
||||
sudo brctl addbr br-eth1
|
||||
sudo ifconfig br-eth1 172.16.0.1/24 up
|
||||
|
||||
if [ $SUPPORT_DPDK = 'true' ]
|
||||
then
|
||||
sudo ifconfig br-dpdk down
|
||||
sudo brctl delbr br-dpdk
|
||||
sudo brctl addbr br-dpdk
|
||||
sudo ifconfig br-dpdk up
|
||||
fi
|
||||
|
||||
sudo iptables -t nat -D PREROUTING -j PRE_FUEL
|
||||
sudo iptables -t nat -N PRE_FUEL
|
||||
sudo iptables -t nat -F PRE_FUEL
|
||||
sudo iptables -t nat -A PRE_FUEL -p udp --dport 53 -j DNAT --to-destination $DNS_SERVER
|
||||
sudo iptables -t nat -A PRE_FUEL -p udp --dport 123 -j DNAT --to-destination 10.20.0.1
|
||||
sudo iptables -t nat -A PREROUTING -j PRE_FUEL
|
||||
|
||||
sudo iptables -t nat -D POSTROUTING -j POST_FUEL
|
||||
sudo iptables -t nat -N POST_FUEL
|
||||
sudo iptables -t nat -F POST_FUEL
|
||||
sudo iptables -t nat -A POST_FUEL -s 10.20.0.0/24 -j MASQUERADE
|
||||
sudo iptables -t nat -A POST_FUEL -s 172.16.0.0/24 -j MASQUERADE
|
||||
sudo iptables -t nat -A POSTROUTING -j POST_FUEL
|
||||
|
||||
#setup master
|
||||
|
||||
sudo virt-manager
|
||||
sudo virsh destroy fuel-master
|
||||
sudo rm -rf /var/lib/libvirt/images/fuel-master.img
|
||||
sudo qemu-img create -f qcow2 /var/lib/libvirt/images/fuel-master.img 200G
|
||||
|
||||
mkdir -p vms
|
||||
|
||||
iso=`pwd`/`ls *.iso`
|
||||
sed "s~ISO_FILE~$iso~g" fuel-master.xml > vms/fuel-master.xml
|
||||
|
||||
sudo virsh create vms/fuel-master.xml
|
||||
|
||||
#login fuel master
|
||||
sleep 30
|
||||
rm -rf ~/.ssh/known_hosts
|
||||
sudo rm -rf ~/.putty
|
||||
inprog=1
|
||||
while [ $inprog -ne 0 ]
|
||||
do
|
||||
echo "y\n" | plink -ssh -pw r00tme root@10.20.0.2 "echo y" >& /dev/null
|
||||
inprog=$?
|
||||
sleep 20
|
||||
done
|
||||
|
||||
plink -ssh -pw r00tme root@10.20.0.2 "cat /etc/fuel/astute.yaml" > astute.yaml
|
||||
sed -i "/.*FEATURE_GROUPS.*/s/\[\]/\n \- \"experimental\"/" astute.yaml
|
||||
cat astute.yaml | plink -ssh -pw r00tme root@10.20.0.2 "dd of=/etc/fuel/astute.yaml"
|
||||
plink -ssh -pw r00tme root@10.20.0.2 "pkill fuelmenu"
|
||||
|
||||
inprog=1
|
||||
while [ $inprog -ne 0 ]
|
||||
do
|
||||
echo "y\n" | plink -ssh -pw r00tme root@10.20.0.2 "grep 'Fuel node deployment complete' /var/log/puppet/bootstrap_admin_node.log " >& /dev/null
|
||||
inprog=$?
|
||||
sleep 20
|
||||
done
|
||||
|
||||
if [ $SUPPORT_DPDK = 'true' ]
|
||||
then
|
||||
fuel_slave_xml='fuel-slave-dpdk.xml'
|
||||
else
|
||||
fuel_slave_xml='fuel-slave.xml'
|
||||
fi
|
||||
#setup slave
|
||||
for i in {1..4}; do
|
||||
sudo virsh destroy fuel-slave-$i
|
||||
sudo rm -rf /var/lib/libvirt/images/fuel-slave-${i}.img
|
||||
sudo qemu-img create -f qcow2 /var/lib/libvirt/images/fuel-slave-${i}.img 200G
|
||||
sed "s/FUEL_SLAVE/fuel-slave-$i/g" $fuel_slave_xml > vms/fuel-slave-${i}.xml
|
||||
sudo virsh create vms/fuel-slave-${i}.xml
|
||||
done
|
||||
|
||||
#setup web browser
|
||||
firefox https://10.20.0.2:8443 >& /dev/null &
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo virt-manager
|
||||
|
||||
#destroy master
|
||||
sudo virsh destroy fuel-master
|
||||
sudo rm -rf /var/lib/libvirt/images/fuel-master.img
|
||||
|
||||
#destroy slave
|
||||
for i in {1..4}; do
|
||||
sudo virsh destroy fuel-slave-$i
|
||||
sudo rm -rf /var/lib/libvirt/images/fuel-slave-${i}.img
|
||||
done
|
|
@ -1,29 +0,0 @@
|
|||
Fuel OVS + DPDK Plugin Demo
|
||||
===========================
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
How to enable OVS + DPDK plugin in fuel 9.0
|
||||
|
||||
How to enalbe
|
||||
-------------
|
||||
|
||||
1. ssh to the master node
|
||||
2. Edit FEATURE_GROUPS field in /etc/nailgun/settings.yaml as:
|
||||
FEATURE_GROUPS:
|
||||
- "experimental"
|
||||
3. Restart Nailgun
|
||||
systemctl restart nailgun.
|
||||
delete cluster nodes from fuel DB as fuel node --node-id 1,2 --delete-from-db --force.
|
||||
Boot cluster nodes.
|
||||
4. set OVS plugin
|
||||
|
||||
5. Follow document[1]
|
||||
|
||||
6. Enable Hugepages for Guest VM
|
||||
nova flavor-key m1.tiny set hw:mem_page_size=2048
|
||||
|
||||
Related Documents
|
||||
---------------
|
||||
[1] http://github.com/openstack/fuel-specs/blob/master/specs/9.0/support-dpdk.rst
|
|
@ -1,56 +0,0 @@
|
|||
Fuel OVS Plugin Demo Script
|
||||
===========================
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
This directory includes scripts to setup fuel ovs plugin demo.
|
||||
|
||||
The scripts are ONLY tested in new installation of Ubuntu 14.04.03 Desktop
|
||||
64bit in server:
|
||||
a. 16G Memory
|
||||
b. 1T Disk
|
||||
c. virtualization support
|
||||
|
||||
Extra configuration or Extra packages such as virtualbox may break
|
||||
functionality. All packages or network configuration are provided by the
|
||||
the following scripts.
|
||||
|
||||
Scripts
|
||||
-------
|
||||
|
||||
0. 00_bootstrap.sh
|
||||
a. copy from https://raw.githubusercontent.com/openstack/fuel-plugin-ovs/master/demo/00_bootstrap.sh
|
||||
b. change HTTP_PROXY
|
||||
c. run the script
|
||||
|
||||
1. 01_setup_network.sh
|
||||
|
||||
The script is to setup socks5 proxy. You may change the script to support
|
||||
NAT. The following network setting is updated before running the script:
|
||||
|
||||
a. SOCK5_IP: socks5 proxy for fuel VM
|
||||
b. SOCK5_PORT: socks5 proxy for fuel VM
|
||||
b. RED_TCPORT: redsocks tcp port
|
||||
|
||||
2. 02_install_packages.sh
|
||||
|
||||
The script is to install all packages
|
||||
|
||||
3. 03_setup_vnc.sh
|
||||
|
||||
The script is to setup vnc. Default vnc password is 123456.
|
||||
|
||||
4. 04_setup_fuel.sh
|
||||
|
||||
The script is to create 1 master VM and 4 slave VMs:
|
||||
|
||||
a. change DNS_SERVER
|
||||
b. download ISO in fuel-plugin-ovs/demo
|
||||
Examle1: wget http://seed-us1.fuel-infra.org/fuelweb-community-release/fuel-community-9.0.iso.
|
||||
Examle2: wget http://artifacts.opnfv.org/fuel/opnfv-2016-08-03_23-58-37.iso
|
||||
c. run the script
|
||||
|
||||
5. 94_destroy_fuel.sh
|
||||
|
||||
The script is to destroy 1 master VM and 4 slave VMs.
|
|
@ -1,94 +0,0 @@
|
|||
<domain type='kvm' id='5'>
|
||||
<name>fuel-master</name>
|
||||
<memory unit='KiB'>4194304</memory>
|
||||
<currentMemory unit='KiB'>4194304</currentMemory>
|
||||
<vcpu placement='static'>4</vcpu>
|
||||
<resource>
|
||||
<partition>/machine</partition>
|
||||
</resource>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
<boot dev='cdrom'/>
|
||||
<bootmenu enable='yes'/>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<pae/>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2'/>
|
||||
<source file='/var/lib/libvirt/images/fuel-master.img'/>
|
||||
<target dev='hda' bus='ide'/>
|
||||
<alias name='ide0-0-0'/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
||||
</disk>
|
||||
<disk type='file' device='cdrom'>
|
||||
<driver name='qemu' type='raw'/>
|
||||
<source file='ISO_FILE' />
|
||||
<target dev='hdc' bus='ide'/>
|
||||
<readonly/>
|
||||
<alias name='ide0-1-0'/>
|
||||
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
|
||||
</disk>
|
||||
<controller type='usb' index='0'>
|
||||
<alias name='usb0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'>
|
||||
<alias name='pci.0'/>
|
||||
</controller>
|
||||
<controller type='ide' index='0'>
|
||||
<alias name='ide0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
||||
</controller>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-eth0'/>
|
||||
<target dev='vnet0'/>
|
||||
<model type='virtio'/>
|
||||
<alias name='net0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</interface>
|
||||
<serial type='pty'>
|
||||
<source path='/dev/pts/16'/>
|
||||
<target port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</serial>
|
||||
<console type='pty' tty='/dev/pts/16'>
|
||||
<source path='/dev/pts/16'/>
|
||||
<target type='serial' port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</console>
|
||||
<input type='tablet' bus='usb'>
|
||||
<alias name='input0'/>
|
||||
</input>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<sound model='ich6'>
|
||||
<alias name='sound0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
||||
</sound>
|
||||
<video>
|
||||
<model type='cirrus' vram='9216' heads='1'/>
|
||||
<alias name='video0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</video>
|
||||
<memballoon model='virtio'>
|
||||
<alias name='balloon0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
<seclabel type='dynamic' model='apparmor' relabel='yes'>
|
||||
</seclabel>
|
||||
</domain>
|
||||
|
|
@ -1,104 +0,0 @@
|
|||
<domain type='kvm' id='75'>
|
||||
<name>FUEL_SLAVE</name>
|
||||
<memory unit='KiB'>4194304</memory>
|
||||
<currentMemory unit='KiB'>4194304</currentMemory>
|
||||
<vcpu placement='static'>4</vcpu>
|
||||
<resource>
|
||||
<partition>/machine</partition>
|
||||
</resource>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
|
||||
<boot dev='network'/>
|
||||
<boot dev='hd'/>
|
||||
<bootmenu enable='no' />
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<pae/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>SandyBridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='aes'/>
|
||||
<feature policy='require' name='avx'/>
|
||||
<feature policy='require' name='avx2'/>
|
||||
<feature policy='require' name='f16c'/>
|
||||
<feature policy='require' name='fsgsbase'/>
|
||||
<feature policy='require' name='pclmuldq'/>
|
||||
<feature policy='require' name='rdrand'/>
|
||||
<feature policy='require' name='sse'/>
|
||||
<feature policy='require' name='sse2'/>
|
||||
<feature policy='require' name='ssse3'/>
|
||||
<feature policy='require' name='sse4.1'/>
|
||||
<feature policy='require' name='sse4.2'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
</cpu>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2'/>
|
||||
<source file='/var/lib/libvirt/images/FUEL_SLAVE.img'/>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<alias name='virtio-disk0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
|
||||
</disk>
|
||||
<controller type='usb' index='0'>
|
||||
<alias name='usb0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'>
|
||||
<alias name='pci.0'/>
|
||||
</controller>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-eth0'/>
|
||||
<model type='e1000' />
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</interface>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-eth1'/>
|
||||
<model type='e1000' />
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
|
||||
</interface>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-dpdk'/>
|
||||
<model type='e1000' />
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
|
||||
</interface>
|
||||
<serial type='pty'>
|
||||
<source path='/dev/pts/20'/>
|
||||
<target port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</serial>
|
||||
<console type='pty' tty='/dev/pts/20'>
|
||||
<source path='/dev/pts/20'/>
|
||||
<target type='serial' port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</console>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<sound model='ich6'>
|
||||
<alias name='sound0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
||||
</sound>
|
||||
<video>
|
||||
<model type='cirrus' vram='9216' heads='1'/>
|
||||
<alias name='video0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</video>
|
||||
<memballoon model='virtio'>
|
||||
<alias name='balloon0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
<seclabel type='dynamic' model='apparmor' relabel='yes'>
|
||||
</seclabel>
|
||||
</domain>
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
<domain type='kvm' id='75'>
|
||||
<name>FUEL_SLAVE</name>
|
||||
<memory unit='KiB'>4194304</memory>
|
||||
<currentMemory unit='KiB'>4194304</currentMemory>
|
||||
<vcpu placement='static'>4</vcpu>
|
||||
<resource>
|
||||
<partition>/machine</partition>
|
||||
</resource>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
|
||||
<boot dev='network'/>
|
||||
<boot dev='hd'/>
|
||||
<bootmenu enable='no' />
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<pae/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>SandyBridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vmx'/>
|
||||
</cpu>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2'/>
|
||||
<source file='/var/lib/libvirt/images/FUEL_SLAVE.img'/>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<alias name='virtio-disk0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
|
||||
</disk>
|
||||
<controller type='usb' index='0'>
|
||||
<alias name='usb0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pci-root'>
|
||||
<alias name='pci.0'/>
|
||||
</controller>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-eth0'/>
|
||||
<model type='e1000' />
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</interface>
|
||||
<interface type='bridge'>
|
||||
<source bridge='br-eth1'/>
|
||||
<model type='e1000' />
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
|
||||
</interface>
|
||||
<serial type='pty'>
|
||||
<source path='/dev/pts/20'/>
|
||||
<target port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</serial>
|
||||
<console type='pty' tty='/dev/pts/20'>
|
||||
<source path='/dev/pts/20'/>
|
||||
<target type='serial' port='0'/>
|
||||
<alias name='serial0'/>
|
||||
</console>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<sound model='ich6'>
|
||||
<alias name='sound0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
||||
</sound>
|
||||
<video>
|
||||
<model type='cirrus' vram='9216' heads='1'/>
|
||||
<alias name='video0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
||||
</video>
|
||||
<memballoon model='virtio'>
|
||||
<alias name='balloon0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
<seclabel type='dynamic' model='apparmor' relabel='yes'>
|
||||
</seclabel>
|
||||
</domain>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
INSTALL_HOME=/tmp/ovs-nshdpdk
|
||||
rm -rf $INSTALL_HOME; mkdir -p $INSTALL_HOME
|
||||
cd $INSTALL_HOME
|
||||
|
||||
host=$1
|
||||
nsh=$2
|
||||
deb_arch=$(dpkg --print-architecture)
|
||||
|
||||
if [ $nsh = 'true' ]; then
|
||||
ovs="ovs-nsh_${deb_arch}.tar.gz"
|
||||
apt-get install -y --allow-unauthenticated dkms
|
||||
curl http://$host:8080/plugins/fuel-plugin-ovs-1.0/repositories/ubuntu/${ovs} | tar -xzv
|
||||
dpkg -i openvswitch-datapath-dkms_*.deb
|
||||
dpkg -i openvswitch-common_*.deb
|
||||
dpkg -i openvswitch-switch_*.deb
|
||||
dpkg -i python-openvswitch_*.deb
|
||||
fi
|
||||
|
||||
rm -rf $INSTALL_HOME
|
|
@ -1,17 +0,0 @@
|
|||
notice('MODULAR: ovs-install.pp')
|
||||
# get options
|
||||
$master_ip = hiera('master_ip')
|
||||
$ovs_settings = hiera('fuel-plugin-ovs')
|
||||
|
||||
$install_nsh = $ovs_settings['install_nsh']
|
||||
$install_dpdk = 'false'
|
||||
|
||||
if $operatingsystem == 'Ubuntu' {
|
||||
if (!roles_include(['primary-controller', 'controller'])) or $install_on_controller {
|
||||
exec { 'install ovs_nsh_dpdk':
|
||||
command => "/etc/fuel/plugins/fuel-plugin-ovs-1.0/install.sh ${master_ip} ${install_nsh} ${install_dpdk}",
|
||||
path => '/usr/bin:/usr/sbin:/bin:/sbin',
|
||||
}
|
||||
}
|
||||
} elsif $operatingsystem == 'CentOS' {
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
notice('MODULAR: ovs-update-flavors')
|
||||
|
||||
if $operatingsystem == 'Ubuntu' {
|
||||
exec { 'update flavors':
|
||||
command => "/etc/fuel/plugins/fuel-plugin-ovs-1.0/update_flavors.sh",
|
||||
path => '/usr/bin:/usr/sbin:/bin:/sbin',
|
||||
}
|
||||
} elsif $operatingsystem == 'CentOS' {
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
. /root/openrc
|
||||
|
||||
#foreach nova flavor name set it to have it's memory backed with large pages
|
||||
#so that it will run with DPDK-enabled OVS.
|
||||
for i in `nova flavor-list | tail -n +4 | head --lines=-1 | awk {'print $4'}`; do
|
||||
nova flavor-key $i set "hw:mem_page_size=large"
|
||||
done
|
|
@ -1,10 +0,0 @@
|
|||
- id: ovs_install
|
||||
type: puppet
|
||||
version: 2.1.0
|
||||
groups: [compute, primary-controller, controller]
|
||||
requires: [setup_repositories]
|
||||
required_for: [netconfig]
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/ovs-install.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 720
|
|
@ -1,11 +0,0 @@
|
|||
attributes:
|
||||
install_nsh:
|
||||
type: "checkbox"
|
||||
weight: 20
|
||||
value: false
|
||||
label: "Install NSH"
|
||||
install_on_controller:
|
||||
type: "checkbox"
|
||||
weight: 20
|
||||
value: false
|
||||
label: "Install same OVS version on the Controller"
|
|
@ -1,32 +0,0 @@
|
|||
# Plugin name
|
||||
name: fuel-plugin-ovs
|
||||
# Human-readable name for your plugin
|
||||
title: Install Open vSwitch with NSH
|
||||
# Plugin version
|
||||
version: '1.0.0'
|
||||
# Description
|
||||
description: 'This plugin provides to deploy Open vSwitch with NSH'
|
||||
# Required fuel version
|
||||
fuel_version: ['10.0']
|
||||
# Specify license of your plugin
|
||||
licenses: ['Apache License Version 2.0']
|
||||
# Specify author or company name
|
||||
authors: ['ruijing.guo@intel.com']
|
||||
# A link to the plugin's page
|
||||
homepage: 'https://github.com/openstack/fuel-plugin-ovs'
|
||||
# Specify a group which your plugin implements, possible options:
|
||||
# network, storage, storage::cinder, storage::glance, hypervisor
|
||||
groups: ['network']
|
||||
|
||||
# The plugin is compatible with releases in the list
|
||||
releases:
|
||||
- os: ubuntu
|
||||
version: newton-10.0
|
||||
mode: ['ha']
|
||||
deployment_scripts_path: deployment_scripts/
|
||||
repository_path: repositories/ubuntu
|
||||
|
||||
# Version of plugin package
|
||||
package_version: '4.0.0'
|
||||
|
||||
is_hotpluggable: false
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y sudo
|
||||
RUN rm -rf /lib/modules
|
||||
RUN apt-get install -y linux-headers-4.4.0-45-generic
|
||||
RUN ln -s /lib/modules/4.4.0-45-generic /lib/modules/`uname -r`
|
||||
|
||||
ADD ./ /ovs_build
|
|
@ -1,96 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
OVS_COMMIT=92043ab8ffd449dfd50c3e716d6db06d04af70d7
|
||||
OVS_VER=${OVS_VER:-2.6.90}
|
||||
BUILD_DEST=${BUILD_DEST:-/deb}
|
||||
BUILD_SRC="$(dirname `readlink -f $0`)"
|
||||
BUILD_HOME=${BUILD_HOME:-/tmp/ovs-dpdk}
|
||||
DEB_ARCH="$(dpkg --print-architecture)"
|
||||
|
||||
export DEB_BUILD_OPTIONS='parallel=8 nocheck'
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --force-yes install devscripts dpkg-dev git wget dkms
|
||||
|
||||
rm -rf ${BUILD_HOME}; mkdir -p ${BUILD_HOME}/deb
|
||||
|
||||
cd ${BUILD_HOME}
|
||||
wget -c http://fast.dpdk.org/rel/dpdk-16.07.tar.xz
|
||||
xz -d dpdk-16.07.tar.xz; tar xvf dpdk-16.07.tar
|
||||
cd dpdk-16.07
|
||||
cp -r ${BUILD_SRC}/dpdk_16.07.fuel/debian .
|
||||
cat << EOF > debian/changelog
|
||||
dpdk (16.07-0ubuntu5~u1604+fuel10) xenial; urgency=low
|
||||
|
||||
* Rebuild debian package
|
||||
* update librte-eal2.symbols
|
||||
|
||||
-- Ruijing Guo <ruijing.guo@intel.com> $(date --rfc-2822)
|
||||
EOF
|
||||
|
||||
# copy from debian/control
|
||||
sudo apt-get install -y --force-yes debhelper \
|
||||
dh-python \
|
||||
dh-systemd \
|
||||
doxygen \
|
||||
graphviz \
|
||||
inkscape \
|
||||
libcap-dev \
|
||||
libpcap-dev \
|
||||
libxen-dev \
|
||||
libxenstore3.0 \
|
||||
python \
|
||||
python-sphinx \
|
||||
texlive-fonts-recommended \
|
||||
texlive-latex-extra
|
||||
debian/rules build; fakeroot debian/rules binary
|
||||
|
||||
cd ${BUILD_HOME}
|
||||
sudo apt-get install -y --force-yes hwdata
|
||||
sudo dpkg -i *.deb
|
||||
mv *.deb ${BUILD_DEST}
|
||||
|
||||
# copy from debian/control
|
||||
sudo apt-get install -y --force-yes autoconf \
|
||||
automake \
|
||||
bzip2 \
|
||||
debhelper \
|
||||
dh-autoreconf \
|
||||
dh-systemd \
|
||||
graphviz \
|
||||
libdpdk-dev \
|
||||
libfuse-dev \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
openssl \
|
||||
procps \
|
||||
python-all \
|
||||
python-qt4 \
|
||||
python-twisted-conch \
|
||||
python-zopeinterface \
|
||||
python-six
|
||||
|
||||
git clone https://github.com/openvswitch/ovs.git
|
||||
cd ovs; git checkout ${OVS_COMMIT}; rm -rf .git
|
||||
cd ${BUILD_HOME}; cp -r ovs ovs-dpdk
|
||||
|
||||
cd ovs-dpdk
|
||||
cp -r ${BUILD_SRC}/openvswitch_2.6-dpdk_16.07/debian .
|
||||
cat << EOF > debian/changelog
|
||||
openvswitch-dpdk (${OVS_VER}-1) unstable; urgency=low
|
||||
[ Open vSwitch team ]
|
||||
* support OVS with DPDK 16.07
|
||||
|
||||
-- Open vSwitch team <dev@openvswitch.org> $(date --rfc-2822)
|
||||
EOF
|
||||
|
||||
debian/rules build; fakeroot debian/rules binary
|
||||
|
||||
cd ${BUILD_HOME}/ovs
|
||||
debian/rules build; fakeroot debian/rules binary
|
||||
|
||||
cp -r ${BUILD_HOME}/*.deb ${BUILD_HOME}/deb
|
||||
cd ${BUILD_HOME}/deb
|
||||
tar czvf ${BUILD_DEST}/ovs-dpdk_${DEB_ARCH}.tar.gz .;
|
|
@ -1,60 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
OVS_COMMIT=f4b0e64cffb4777ff03d48621c3eadcf1d8c19f3
|
||||
OVS_VER=${OVS_VER:-2.6.1}
|
||||
BUILD_DEST=${BUILD_DEST:-/deb}
|
||||
BUILD_SRC="$(dirname `readlink -f $0`)"
|
||||
BUILD_HOME=${BUILD_HOME:-/tmp/ovs-nsh}
|
||||
DEB_ARCH="$(dpkg --print-architecture)"
|
||||
|
||||
export DEB_BUILD_OPTIONS='parallel=8 nocheck'
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --force-yes install devscripts dpkg-dev git wget dkms
|
||||
|
||||
rm -rf ${BUILD_HOME}; mkdir -p ${BUILD_HOME}/deb
|
||||
|
||||
cd ${BUILD_HOME}
|
||||
|
||||
# copy from debian/control
|
||||
sudo apt-get install -y --force-yes autoconf \
|
||||
automake \
|
||||
bzip2 \
|
||||
debhelper \
|
||||
dh-autoreconf \
|
||||
dh-systemd \
|
||||
graphviz \
|
||||
libdpdk-dev \
|
||||
libfuse-dev \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
openssl \
|
||||
procps \
|
||||
python-all \
|
||||
python-qt4 \
|
||||
python-twisted-conch \
|
||||
python-zopeinterface \
|
||||
python-six
|
||||
|
||||
git clone https://github.com/openvswitch/ovs.git
|
||||
cd ovs; git checkout ${OVS_COMMIT}; rm -rf .git
|
||||
PATCHES=$(cd ${BUILD_SRC}/ovs_nsh_patches/v2.6.1/; echo *patch)
|
||||
for patch in ${PATCHES}
|
||||
do
|
||||
patch -p1 < ${BUILD_SRC}/ovs_nsh_patches/v2.6.1/${patch}
|
||||
done
|
||||
|
||||
cat << EOF > debian/changelog
|
||||
openvswitch (${OVS_VER}-1.nsh) unstable; urgency=low
|
||||
[ Open vSwitch team ]
|
||||
* support NSH
|
||||
|
||||
-- Open vSwitch team <dev@openvswitch.org> $(date --rfc-2822)
|
||||
EOF
|
||||
debian/rules build; fakeroot debian/rules binary
|
||||
|
||||
cp -r ${BUILD_HOME}/*.deb ${BUILD_HOME}/deb
|
||||
cd ${BUILD_HOME}/deb
|
||||
tar czvf ${BUILD_DEST}/ovs-nsh_${DEB_ARCH}.tar.gz .;
|
|
@ -1,42 +0,0 @@
|
|||
How to build the package - for CI systems, etc
|
||||
|
||||
1 - install all the build-dependencies as listed in the debian/control file.
|
||||
From the repo top-level directory:
|
||||
|
||||
apt-get install `dpkg-checkbuilddeps |& sed "s/.*://g" |& sed "s/(...[0-9]*)//g"`
|
||||
|
||||
2 - run debuild (the flags will avoid signing the built packages):
|
||||
From the repo top-level directory:
|
||||
|
||||
debuild -uc -us
|
||||
|
||||
***************
|
||||
|
||||
quilt patches format
|
||||
|
||||
Note that we use the dquilt format for patches as outlined on Debian's wiki:
|
||||
https://www.debian.org/doc/manuals/maint-guide/modify.en.html#quiltrc
|
||||
|
||||
Please consider using the same format to avoid excessive churn when adding or
|
||||
refreshing patches.
|
||||
|
||||
Add the following to your ~/.bashrc (or equivalent):
|
||||
|
||||
alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
|
||||
complete -F _quilt_completion $_quilt_complete_opt dquilt
|
||||
|
||||
And then create a new ~/.quiltrc-dpkg file with content:
|
||||
|
||||
d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done
|
||||
if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then
|
||||
# if in Debian packaging tree with unset $QUILT_PATCHES
|
||||
QUILT_PATCHES="debian/patches"
|
||||
QUILT_PATCH_OPTS="--reject-format=unified"
|
||||
QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
|
||||
QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
|
||||
QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
|
||||
if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
|
||||
fi
|
||||
|
||||
Open a new terminal or souce ~/.bashrc, and then you will be able to use
|
||||
dquilt.
|
|
@ -1,528 +0,0 @@
|
|||
dpdk (16.07-0ubuntu5~u1604+mos1) mos; urgency=low
|
||||
|
||||
* Rebuild debian package.
|
||||
* Add fake dpdk-dkms package
|
||||
|
||||
-- Ivan Suzdal <mos-linux@mirantis.com> Thu, 08 Dec 2016 15:06:10 +0000
|
||||
|
||||
dpdk (16.07-0ubuntu5~cloud0) xenial-newton; urgency=medium
|
||||
|
||||
* New update for the Ubuntu Cloud Archive.
|
||||
|
||||
-- Openstack Ubuntu Testing Bot <openstack-testing-bot@ubuntu.com> Tue, 04 Oct 2016 12:12:07 +0000
|
||||
|
||||
dpdk (16.07-0ubuntu5) yakkety; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* Fix component mismatch by dropping the optional dpdk-pmdinfo tool
|
||||
(LP: #1630073).
|
||||
|
||||
[ Gowrishankar Muthukrishnan ]
|
||||
* update d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch to
|
||||
fix dlopen issue (LP: #1630119)
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 04 Oct 2016 09:27:54 +0200
|
||||
|
||||
dpdk (16.07-0ubuntu4) yakkety; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* merge of latest deb_dpdk packaging
|
||||
* Fix d/p/fix-vhost-user-socket-permission.patch for dpdk 16.07
|
||||
server/client sockets (LP: #1625542).
|
||||
* d/rules utilize RTE_EAL_PMD_PATH to autoload pmd drivers (LP: #1628419)
|
||||
- d/dpdk-doc.README.Debian document usage of RTE_EAL_PMD_PATH
|
||||
- d/control let the runtime of dpdk recommend the pmd drivers to make
|
||||
them available for auto-probing devices
|
||||
* d/control add python-elftools and hwdata dependencies to dpdk for the tool
|
||||
dpdk-pmdinfo (LP: #1628410).
|
||||
|
||||
[ Luca Boccassi ]
|
||||
* Fix d/watch file to point to fast.dpdk.org/rel
|
||||
* Allow DPDK_CONFIG, RTE_MACHINE, RTE_TARGET overrides via DEB_BUILD_OPTIONS
|
||||
* Use ?= to allow env var overrides in d/rules
|
||||
|
||||
[ Santiago RR ]
|
||||
* debian/control:
|
||||
- dpdk: recommends dkms packages (dpdk-igb-uio-dkms, dpdk-rte-kni-dkms) on
|
||||
arm64 and suggest for other architectures.
|
||||
|
||||
[ Gowrishankar Muthukrishnan ]
|
||||
* d/p/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch to make
|
||||
ip_pipeline work properly with -d eal parameter (LP: #1629186)
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 29 Sep 2016 17:19:05 +0200
|
||||
|
||||
dpdk (16.07-0ubuntu3) yakkety; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* merge of latest deb_dpdk packaging for dpdk 16.07 (LP: #1625009)
|
||||
- excluding ppc enablement due to being post-FF
|
||||
- mix and match of changelogs as it is not yet uploaded to Debian
|
||||
* add man pages for installed binaries
|
||||
- add backport of patches from upstream
|
||||
- call generation of man pages in d/rules
|
||||
* d/t/test-dkms retain dkms logs for debugging (LP: #1625028)
|
||||
* fix rte_kni dkms build with kernel >= 4.8 (LP: #1625021)
|
||||
- d/p/dpdk-dev-v2-kni-fix-build-with-kernel-4.8.patch replaced macro with
|
||||
its value in kni ethtool drivers.
|
||||
|
||||
[ Luca Boccassi ]
|
||||
* Add optional binary kernel modules package, disabled by default (build with
|
||||
DEB_BUILD_OPTIONS=kernel_modules to enable). If enabled will build kernel
|
||||
modules against the local, current kernel version (override by adding
|
||||
ksrc=<path/to/kernel/sources> to DEB_BUILD_OPTIONS) into a
|
||||
dpdk-modules-<kernel version> package
|
||||
* Set HOST_/EXTRA/CPP/C/LDFLAGS in d/rules so that all built objects pick up
|
||||
all flags set by the dpkg environment, like hardening flags
|
||||
* Add rte-compile-pre-cppflags.patch to make all DPDK objects pick up the
|
||||
user specified or environment specified CPP/C/LDFLAGS.
|
||||
Fixes Lintian warning:
|
||||
- W: dpdk-dev: hardening-no-relro
|
||||
usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen
|
||||
* Add a brief HOWTO to debian/README.source with instructions to build the
|
||||
packages, for CI systems and the like.
|
||||
* Build with RTE_DEVEL_BUILD=n to avoid building test pmds with an rpath
|
||||
hardcoded to the package build PATH. Fixes Lintian Error:
|
||||
- E: dpdk: binary-or-shlib-defines-rpath usr/bin/dpdk-pdump
|
||||
/home/lboccass/git/dpdk_deb/debian/build/shared-root/lib
|
||||
|
||||
[ Santiago RR ]
|
||||
* improve debian/copyright
|
||||
* remove duplicate entries from d/control
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 19 Sep 2016 08:49:44 +0200
|
||||
|
||||
dpdk (16.07-0ubuntu2) yakkety; urgency=medium
|
||||
|
||||
* d/t/test-initscripts fix false positive in adt
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 12 Aug 2016 12:56:07 +0200
|
||||
|
||||
dpdk (16.07-0ubuntu1) yakkety; urgency=medium
|
||||
|
||||
* release current state of deb_dpdk packaging into yakkety
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 11 Aug 2016 10:09:10 +0200
|
||||
|
||||
dpdk (16.07-0) UNRELEASED; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* Merge with upstream DPDK 16.07 release
|
||||
* Cleanup Lintian Warnings
|
||||
- d/p/fix-unusual-interpreter.patch fixes "W: dpdk-doc:
|
||||
unusual-interpreter"
|
||||
- d/p/fix-double-license-info.patch fixes "W: dpdk-rte-kni-dkms:
|
||||
extra-license-file"
|
||||
* Renamed d/p/ubuntu-fix-vhost-user-socket-permission.patch to
|
||||
d/p/fix-vhost-user-socket-permission.patch
|
||||
* Add lintian-overrides for: E: dpdk-dev: arch-dependent-file-in-usr-share
|
||||
These binaries are part of the sdk and meant to be shipped with the sdk.
|
||||
* d/p/dpdk-dev-doc-fix-old-dpdk-nic-bind.py-references.patch to fix the
|
||||
docs in regard to 16.07 changes renaming dpdk_nic_bind
|
||||
* d/p/make-load-devel-config-not-to-appear-as-executable.patch to avoid
|
||||
accidentially executing as script and to fix unusual-interpreter lintian
|
||||
warning.
|
||||
|
||||
[ Anders Roxell ]
|
||||
* debian/control: add pciutils to the dpdk depends list, since lspci is used
|
||||
by the devbind script
|
||||
|
||||
[ Luca Boccassi ]
|
||||
* Add ${shlib:Depends} to dpdk-dev dependencies
|
||||
* Install api and guides in dpdk-doc
|
||||
* Convert debian/rules to new style DH targets
|
||||
* Add Recommends: python to dpdk-doc since it ships python scripts among the
|
||||
examples, fixes Lintian warning about missing python dependencies
|
||||
* Fix typo in dpdk-doc.README.Debian, fixes "W: dpdk-doc:
|
||||
spelling-error-in-readme-debian to to (duplicate word) to"
|
||||
* Fix upstream rc versions by using "~" instead of "-". 16.07-rc1 evaluates
|
||||
as newer than 16.07 which causes issues with Debian tools and Lintian
|
||||
errors and warnings:
|
||||
- W: libethdev4: latest-debian-changelog-entry-without-new-version
|
||||
- E: libethdev4: symbols-file-contains-current-version-with-debian-revision
|
||||
on symbol DPDK_16.04@DPDK_16.04 and 114 others
|
||||
* Add lintian-overrides for: "W: dpdk-doc: embedded-javascript-library"
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 29 Jul 2016 08:18:50 +0200
|
||||
|
||||
dpdk (16.07~rc5-1) UNRELEASED; urgency=medium
|
||||
|
||||
[ Ricardo Salveti de Araujo ]
|
||||
* Merge with upstream DPDK 16.07-rc5 release
|
||||
|
||||
[ Luca Boccassi ]
|
||||
* Generate pkgconfig and ship it in libdpdk-dev
|
||||
* Document use of dquilt for patches in debian/README.source
|
||||
|
||||
-- Ricardo Salveti de Araujo <rsalveti@rsalveti.net> Tue, 26 Jul 2016 14:13:38 -0300
|
||||
|
||||
dpdk (16.07~rc4-1) UNRELEASED; urgency=medium
|
||||
|
||||
* Merge with upstream DPDK 16.07-rc4 release
|
||||
- Tools renamed, dpdk_nic_bind is now dpdk-devbind
|
||||
* Adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch for dpdk 16.07-rc4
|
||||
|
||||
-- Ricardo Salveti de Araujo <rsalveti@rsalveti.net> Mon, 25 Jul 2016 13:38:13 -0300
|
||||
|
||||
dpdk (16.07~rc3-1) UNRELEASED; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* Merge with upstream DPDK 16.07-rc3 release
|
||||
* droping patches/backports that are already upstream in DPDK 16.07-rc3
|
||||
- d/p/ubuntu-fix-bond-symbol-export.patch
|
||||
- d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
|
||||
* adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch for dpdk 16.07-rc3
|
||||
* update symbols
|
||||
|
||||
[ Ricardo Salveti de Araujo ]
|
||||
* debian/rules:
|
||||
- Allow all make commands to be verbose
|
||||
- Fix libdpdk-dev headers path
|
||||
* Renaming package librte-pmd-e10001 to librte-pmd-e1000-1, to avoid mixing
|
||||
package name with soversion (lintian package-name-doesnt-match-sonames)
|
||||
* Adding package librte-pmd-bnxt1
|
||||
* Merging symbols files, handling the arch differences inline instead
|
||||
|
||||
[ Anders Roxell ]
|
||||
* debian/control: add libpcap-dev to libdpdk-dev's Depends list
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 19 Jul 2016 08:32:06 +0200
|
||||
|
||||
dpdk (16.07~rc1-1) UNRELEASED; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* Merge with upstream DPDK 16.07-rc1 release
|
||||
* droping patches/backports that are already upstream in DPDK 16.07
|
||||
- d/p/ubuntu-backport-39-lpm-fix-freeing-in-compatibility-mode.patch
|
||||
This was formerly part of a combined patch that we dropped because the
|
||||
majority is upstream (d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch).
|
||||
- d/p/ubuntu-backport-40-linking-fixes-stage-[1-4]-4.patch
|
||||
d/p/ubuntu-backport-44-linking-cleanup.patch
|
||||
Fixing underlinking and overlinking issues in apps and libraries.
|
||||
- d/p/ubuntu-backport-41-fix-install-tar-1.29.patch
|
||||
Fix issues with tar >=1.29 (Yakkety)
|
||||
- d/p/ubuntu-backport-42-increase-default-logging-level.patch
|
||||
avoid default debug messages causing a perf degradation
|
||||
- d/p/ubuntu-backport-43-fix-level-type-retrieving.patch
|
||||
Fix type retrieving which was broken in standard threads
|
||||
- d/p/ubuntu-fix-xenvirt-support-dynamic-page-size.patch: fix build
|
||||
failure on arm64
|
||||
* droping patches/backports that are no more applicable
|
||||
- d/p/ubuntu-backport-38-* was never accepted despite looking good.
|
||||
Upstream discussion around proper successor started.
|
||||
* keeping patches:
|
||||
- d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
|
||||
Was never accepted, Upstream discussion around proper successor started.
|
||||
* adapt debian/* to upstream changes
|
||||
- update symbols and ABI versions
|
||||
- add librte-pdump1
|
||||
* adding changes
|
||||
- fix exported symbols of librte_pmd_bond (sent upstream, can be dropped
|
||||
later)
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 06 Jul 2016 09:40:49 +0200
|
||||
|
||||
dpdk (16.04-1) UNRELEASED; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* Merge with upstream DPDK 16.04 release
|
||||
* droping patches/backports that are already upstream in DPDK 16.04
|
||||
- d/p/ubuntu-fix-doc-installpath.patch
|
||||
- d/p/ubuntu-fix-testpmd-without-xen.patch
|
||||
- d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch
|
||||
- d/p/ubuntu-backport-[01-32,34-35] backports for stability
|
||||
- d/p/ubuntu-backport-[36-37] but keep doc and example changes in d/*
|
||||
* droping patches for soname / linking fixups.
|
||||
- Upstream now goes with proper soname/abi/api handling per sublib plus a
|
||||
linker script.
|
||||
- dropped d/p/ubuntu-combined-shared-lib-abiversion.patch
|
||||
- dropped d/p/ubuntu-fix-library-linkage.patch
|
||||
* keeping patches:
|
||||
- d/p/ubuntu-backport-38-* fix for memory leak
|
||||
this now applies as is, so changed from a modified backport to match the
|
||||
post 16.04 upstream commit now.
|
||||
- d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
|
||||
- doc and example changes that were related to d/p/ubuntu-backport-[36-37]
|
||||
- d/p/ubuntu-fix-vhost-user-socket-permission.patch adapted for dpdk-16.04:
|
||||
In the new build system with sublibs the exposed function needs to be
|
||||
listed in lib/librte_eal/linuxapp/eal/rte_eal_version.map
|
||||
* adding upstream backports - can be dropped when merging DPDK 16.07.
|
||||
- d/p/ubuntu-backport-39-lpm-fix-freeing-in-compatibility-mode.patch
|
||||
This was formerly part of a combined patch that we dropped because the
|
||||
majority is upstream (d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch).
|
||||
- d/p/ubuntu-backport-40-linking-fixes-stage-[1-4]-4.patch
|
||||
d/p/ubuntu-backport-44-linking-cleanup.patch
|
||||
Fixing underlinking and overlinking issues in apps and libraries.
|
||||
- d/p/ubuntu-backport-41-fix-install-tar-1.29.patch
|
||||
Fix issues with tar >=1.29 (Yakkety)
|
||||
- d/p/ubuntu-backport-42-increase-default-logging-level.patch
|
||||
avoid default debug messages causing a perf degradation
|
||||
- d/p/ubuntu-backport-43-fix-level-type-retrieving.patch
|
||||
Fix type retrieving which was broken in standard threads
|
||||
* adapt to new build system
|
||||
- drop enabling the following build config symbols as they no more exist
|
||||
CONFIG_RTE_BUILD_COMBINE_LIBS
|
||||
- Sub-Libraries are now packaged in a versioned package per library. That
|
||||
allows consumers of dpdk to just depend on what they need. As well as
|
||||
installation of multiple .so versions concurrently.
|
||||
- added the hidden dependency of librte_eal to librte_mempool
|
||||
- use dpkg-buildflags and properly enable hardening
|
||||
* Adding DKMS package for rte_kni (LP: #1592786)
|
||||
|
||||
[ Ricardo Salveti ]
|
||||
* Adding support for ARM64:
|
||||
- debian/control: adding arm64 to the supported architecture list
|
||||
- debian/rules: supporting dpdk config and machine for arm64
|
||||
- d/p/ubuntu-fix-xenvirt-support-dynamic-page-size.patch: fix build
|
||||
failure on arm64
|
||||
- debian/dpdk-sdk-env.sh: generating the right RTE_TARGET during build
|
||||
time, so we can also make it compatible with ARM64
|
||||
- debian/tests: also making tests compatible with ARM64
|
||||
* Adding DKMS package for igb_uio
|
||||
* Build static dpdk with -fPIC so it can be used by shared libraries
|
||||
* debian/copyright: fixing Canonical's copyright entry
|
||||
* Renaming symbol files so they can match the right package
|
||||
* Drop the arch specific symbol files, as they are identical
|
||||
|
||||
[ Anders Roxell ]
|
||||
* debian/dpdk.init: add remote_fs (lintian)
|
||||
* debian/control: fixing week-library-dev-dependency (lintian)
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 17 May 2016 14:23:21 +0200
|
||||
|
||||
dpdk (2.2.0-0ubuntu9) yakkety; urgency=medium
|
||||
|
||||
* d/p/ubuntu-backport-[36-37] fix virtio issues (LP: #1570195):
|
||||
- don't let DPDK initialize virtio devices still in use by the kernel
|
||||
- this avoids conflicts between kernel and dpdk usage of those devices
|
||||
- an admin now has to unbind/bind devices as on physical hardware
|
||||
- this is in the dpdk 16.04 release and delta can then be dropped
|
||||
- d/dpdk-doc.README.Debian update for changes in virtio-pci handling
|
||||
- d/dpdk.interfaces update for changes in virtio-pci handling
|
||||
* d/p/ubuntu-backport-38... fix for memory leak (LP: #1570466):
|
||||
- call vhost_destroy_device on removing vhost user ports to fix memory leak
|
||||
- this likely is in the dpdk 16.07 release and delta can then be dropped
|
||||
* d/p/ubuntu-fix-vhost-user-socket-permission.patch fox (LP: #1546565):
|
||||
- when vhost_user sockets are created they are owner:group of the process
|
||||
- the DPDK api to create those has no way to specify owner:group
|
||||
- to fix that without breaking the API and potential workaround code in
|
||||
consumers of the library like openvswitch 2.6 for example. This patch
|
||||
adds an EAL commandline option to specify user:group created vhost_user
|
||||
sockets should have.
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 27 Apr 2016 07:52:48 -0500
|
||||
|
||||
dpdk (2.2.0-0ubuntu7) xenial; urgency=medium
|
||||
|
||||
* Increase max_map_count after setting huge pages (LP: #1507921):
|
||||
- The default config of 65530 would cause issues as soon as about 64GB or
|
||||
more are used as 2M huge pages for dpdk.
|
||||
- Increase this value to base+2*#hugepages to avoid issues on huge systems.
|
||||
* d/p/ubuntu-backport-[28-32,34-35] backports for stability (LP: #1568838):
|
||||
- these will be in the 16.04 dpdk release, delta can then be dropped.
|
||||
- 5 fixes that do not change api/behaviour but fix serious issues.
|
||||
- 01 f82f705b lpm: fix allocation of an existing object
|
||||
- 02 f9bd3342 hash: fix multi-process support
|
||||
- 03 1aadacb5 hash: fix allocation of an existing object
|
||||
- 04 5d7bfb73 hash: fix race condition at creation
|
||||
- 05 fe671356 vfio: fix resource leak
|
||||
- 06 356445f9 port: fix ring writer buffer overflow
|
||||
- 07 52f7a5ae port: fix burst size mask type
|
||||
* d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
|
||||
- this will likely be in dpdk release 16.07 and delta can then be dropped.
|
||||
- fixes a crash on using fd's >1023 (LP: #1566874)
|
||||
* d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch fix lpm_free (LP: #1569375)
|
||||
- the old patches had an error freeing a pointer which had no meta data
|
||||
- that lead to a crash on any lpm_free call
|
||||
- folded into the fix that generally covers the lpm allocation and free
|
||||
weaknesses already (also there this particular mistake was added)
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 12 Apr 2016 16:13:47 +0200
|
||||
|
||||
dpdk (2.2.0-0ubuntu6) xenial; urgency=medium
|
||||
|
||||
* d/dpdk-init fix handling of multiple huge page sizes (LP: #1557532):
|
||||
- dpdk-init now ensures non-default-hugepage-size mountpoints are
|
||||
available as well.
|
||||
- extra mountpoints are only created if requested in dpdk.conf and not yet
|
||||
available (e.g. by the admin).
|
||||
* d/dpdk-init fix issues with unassigned devices (LP: #1558485):
|
||||
- dpdk-init no more checks /sys/.../driver of the device unconditionally
|
||||
- removed the superfluous tr call in that path
|
||||
* d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch lpm/lpm6 (LP: #1554009):
|
||||
- lpm/lpm6 fix use after free on lpm[6]_create
|
||||
- lpm/lpm6 fix missing frees of rules_tbl substructure
|
||||
- lpm/lpm6 fix missing free of lpm due to early exit
|
||||
- make RTE_LOG messages of the failed allocation unique
|
||||
* d/p/ubuntu-backport-[01-26] backport for stability (LP: #1559981):
|
||||
- these will be in the following dpdk release and delta can then be dropped
|
||||
- 26 fixes that do not change api/behaviour but fix serious issues
|
||||
- 01 d3a274ce app/testpmd: handle SIGINT and SIGTERM
|
||||
- 02 308df2bf Handle SIGINT and SIGTERM in l3fwd.
|
||||
- 03 da82ee17 tools: fix unbinding failure handling
|
||||
- 04 16c1814c tools: support Python 3 in bind script
|
||||
- 05 bb9f4085 tools: support binding to built-in kernel modules
|
||||
- 06 6e7caa1a eal/linux: support built-in kernel modules
|
||||
- 07 86f36ff9 mempool: fix leak when creation fails
|
||||
- 08 ca67ed28 vhost: fix leak of fds and mmaps
|
||||
- 09 fa11a8a7 port: fix crash for ring writer nodrop
|
||||
- 10 04f36690 port: fix crash for ethdev writer nodrop
|
||||
- 11 c7a4ff80 i40e: fix overflow
|
||||
- 12 097e920c i40e: fix inverted check for no refcount
|
||||
- 13 330aa319 i40e: fix VLAN filtering
|
||||
- 14 9f44dd3d i40e/base: fix missing check for stopped admin queue
|
||||
- 15 8a880736 i40e/base: fix driver load failure
|
||||
- 16 7656a546 fm10k: fix VLAN flag in scattered Rx
|
||||
- 17 c6fb0e55 pcap: fix captured frame length
|
||||
- 18 6e027237 bonding: fix detach of bonded device
|
||||
- 19 df3e8ad7 bonding: fix detach of slave devices
|
||||
- 20 786c990a bonding: copy entire config structure in mode 4
|
||||
- 21 6698820b bonding: do not ignore multicast in mode 4
|
||||
- 22 8997a10b bonding: fix active slaves with no primary
|
||||
- 23 7a7122ed bonding: do not activate slave twice
|
||||
- 24 2186fff3 bonding: fix crash when no slave device
|
||||
- 25 c680a4a8 virtio: fix crash in statistics functions
|
||||
- 26 3b1e3e4e virtio: fix descriptors pointing to the same buffer
|
||||
* d/p/ubuntu-backport-27-virtio-fix-restart.patch for (LP: #1559981):
|
||||
- fixing re-initializing the ethdev as openvswitch-dpdk does in the
|
||||
virtio pmd driver by moving the detection of already being initialized
|
||||
from virtio_dev_close to virtio_dev_start/stop
|
||||
- this will be in the following dpdk release and delta can then be dropped
|
||||
* d/rules build with debuginfo (LP: #1560839):
|
||||
- exporting CFLAGS for all dpdk build processes
|
||||
- dh_strip will automatically and create -dbgsym packages accordingly
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 23 Mar 2016 10:34:50 +0100
|
||||
|
||||
dpdk (2.2.0-0ubuntu5) xenial; urgency=medium
|
||||
|
||||
* d/t/test-initscripts fix issues regarding 1G hugepages
|
||||
- the dep8 was already taking care of 1G hugepages being not supported in
|
||||
some environments. But it was failing when supported, but not enough
|
||||
memory available.
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 09 Mar 2016 17:19:24 +0000
|
||||
|
||||
dpdk (2.2.0-0ubuntu4) xenial; urgency=medium
|
||||
|
||||
* harden d/dpdk-init for configuration issues (LP: #1551601):
|
||||
- detect and warn about bad bus specifications.
|
||||
- detect and warn about incomplete device specifications.
|
||||
- detect and warn about non existing pci IDs.
|
||||
- avoid failing when working with unassigned devices.
|
||||
- d/t/test-initscripts now testing various misconfigs.
|
||||
- d/t/test-initscripts now also verifying service status.
|
||||
* d/dpdk-init d/dpdk.conf now also support 1G hugepages (LP: #1551767):
|
||||
- detect and warn if 1G pages are not available but configured.
|
||||
- d/t/test-initscripts now also testing hugepage allocations.
|
||||
- d/dpdk.conf has an option to drop caches to incease the likeliness of
|
||||
successful 1G hugepage allocations (default off).
|
||||
* d/rules replaced uname -m with DEB_HOST_GNU_CPU (LP: #1551796):
|
||||
* fix testpmd to run without Xen environment (LP: #1551752):
|
||||
- upstream discussion is slow, but we need a fix now. We can drop this
|
||||
and change to the upstream solution when it is available.
|
||||
* avoid errors due to missing modules (LP: #1554397):
|
||||
- d/dpdk-init gracefully warns about missing modules.
|
||||
- d/control now suggests linux-image-generic.
|
||||
- d/dpdk.interfaces has a comment that makes the user aware.
|
||||
* d/dpdk-init fix failure loading vfio-pci (LP: #1554214):
|
||||
- d/dpdk-init no more converts "-" to "_" to make vfio-pci work
|
||||
- d/dpdk.interfaces enhanced comments and updated examples
|
||||
- d/dpdk-doc.README.debian got extra notes about using some modules
|
||||
* unify whitespace/tabs in packaging and scripts
|
||||
- tabs/spaces to just spaces in d/dpdk-init and d/dpdk.init.
|
||||
- few remaining spaces to tabs in d/rules
|
||||
* d/t/test-* now satisfy shellcheck
|
||||
* d/* fix various comments and guides to be more readable
|
||||
* d/dpdk-init and d/copyright updated copyright information
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 09 Mar 2016 08:48:58 +0000
|
||||
|
||||
dpdk (2.2.0-0ubuntu3) xenial; urgency=medium
|
||||
|
||||
* Guard dep8 tests against non supported platforms (LP: #1551158):
|
||||
- d/t/control now avoids failing due to "dependencies are unsatisfiable"
|
||||
when fetching packages. The packages architecture restrictions got added
|
||||
to avoid that.
|
||||
- d/t/check-dpdk-supported-arch.sh is called by all DPDK tests to ensure
|
||||
the platform is supported. If not it skips the test.
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 29 Feb 2016 11:03:39 +0000
|
||||
|
||||
dpdk (2.2.0-0ubuntu2) xenial; urgency=medium
|
||||
|
||||
[ Christian Ehrhardt ]
|
||||
* fix libdpdk.so library linking (LP: #1547517)
|
||||
- libdpdk.so now has proper linkage information (was underlinked)
|
||||
Note: this can be dropped when moving to DPDK 2.3 with linker script
|
||||
instead of combined shared lib.
|
||||
- remove reference to extra linkage needed when building against -ldpdk
|
||||
in dpdk-doc README.
|
||||
- add dep8 d/t/test-linkage to verify linking dpdk works as expected.
|
||||
* d/control remove ${shlibs:Depends} on package with no linked binary
|
||||
avoiding dpkg-gencontrol build warning about unknown ${shlibs:Depends}.
|
||||
* d/dpdk-doc.README.debian fix path to DPDK build environment variable
|
||||
helper script in README file.
|
||||
* Update VCS Info in d/control to include our repositories.
|
||||
|
||||
[ James Page ]
|
||||
* d/*: wrap-and-sort.
|
||||
* d/control: Trim trailing whitespace.
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 25 Feb 2016 16:07:21 +0000
|
||||
|
||||
dpdk (2.2.0-0ubuntu1) xenial; urgency=low
|
||||
|
||||
* Merge from Upstream to DPDK 2.2
|
||||
Remaining changes:
|
||||
- Set soabi for the combined shared library
|
||||
* Drop changes:
|
||||
- configuring RTE_LIBNAME to dpdk as it is the upstream default now
|
||||
- enabled formerly non building components as they build properly in 2.2
|
||||
- d/p/ubunut-avoid-texlive-fonts-extra, d/control:
|
||||
Replace use of DejaVuSansMono is no more needed as upstream changed the
|
||||
font. Thereby we can drop our delta.
|
||||
- d/p/ubuntu-fix-gcc5-ftbs.patch no more needed with DPDK 2.2
|
||||
* Added changes
|
||||
- Disable CONFIG_RTE_NEXT_ABI as required for packaging (git 506f51cc)
|
||||
- Enable LIBRTE_PMD_PCAP which is useful for some DPDK testcase examples
|
||||
this adds a build dependency to libpcap-dev
|
||||
- Fully support DH_VERBOSE for build debugging convenience
|
||||
- adapt to new make infrastructure of dpdk 2.2
|
||||
- d/README.debian: convert into d/dpdk-doc.README.debian
|
||||
- d/dpdk-doc.README.debian: update recommendations about sdk env variables
|
||||
- d/dpdk-sdk-env.sh: now deployed in /usr/share/dpdk to be opt in
|
||||
- enable XEN support for dpdk (LP: #1521289).
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 17 Feb 2016 09:29:28 +0100
|
||||
|
||||
dpdk (2.0.0-0ubuntu3) xenial; urgency=medium
|
||||
|
||||
* Only generate HTML documentation, easing backports to 14.04 and
|
||||
reducing the time to build and size of the -doc package (LP: #1524700).
|
||||
|
||||
-- James Page <james.page@ubuntu.com> Thu, 10 Dec 2015 10:23:51 +0000
|
||||
|
||||
dpdk (2.0.0-0ubuntu2) xenial; urgency=low
|
||||
|
||||
* d/p/ubunut-avoid-texlive-fonts-extra, d/control:
|
||||
Replace use of DejaVuSansMono by courier and drop dependency on the
|
||||
texlive-fonts-extra package (which is in universe).
|
||||
* d/watch added to allow use of uscan to check for upstream releases.
|
||||
* d/dpdk-init: fix error if bash variables could not be resolved that
|
||||
appeared as "[: -gt: unexpected operator" (had no functional impact)
|
||||
* d/dpdk-init:
|
||||
Replace use of head and cut (in /usr/bin) commands with sed (in /bin)
|
||||
while also adding /usr/bin to the PATH used on direct /etc/init.d/dpdk
|
||||
invocation. The PATH is only updated to be on the safe side, there
|
||||
should be no other commands from /usr/bin used (LP: #1516543).
|
||||
* d/t/test-mountpoint: add dep8 test to cover the issue of LP #1517075.
|
||||
* d/dpdk-dev.install: Copy the SDK makefiles into place (LP: #1517075).
|
||||
|
||||
-- Stefan Bader <stefan.bader@canonical.com> Tue, 17 Nov 2015 11:50:15 +0100
|
||||
|
||||
dpdk (2.0.0-0ubuntu1) wily; urgency=low
|
||||
|
||||
* Initial release (LP: #1487538)
|
||||
|
||||
-- Stefan Bader <stefan.bader@canonical.com> Mon, 01 Jun 2015 18:46:38 +0200
|
|
@ -1 +0,0 @@
|
|||
9
|
|
@ -1,747 +0,0 @@
|
|||
Source: dpdk
|
||||
Priority: optional
|
||||
Maintainer: MOS Linux Team <mos-linux@mirantis.com>
|
||||
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-python,
|
||||
dh-systemd (>= 1.5),
|
||||
dkms,
|
||||
doxygen,
|
||||
graphviz,
|
||||
inkscape,
|
||||
libcap-dev,
|
||||
libpcap-dev,
|
||||
libxen-dev,
|
||||
libxenstore3.0,
|
||||
python,
|
||||
python-sphinx,
|
||||
texlive-fonts-recommended,
|
||||
texlive-latex-extra
|
||||
Standards-Version: 3.9.8
|
||||
Section: libs
|
||||
Homepage: http://www.dpdk.org
|
||||
Vcs-Git: https://gerrit.fd.io/r/deb_dpdk
|
||||
Vcs-Browser: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git
|
||||
|
||||
Package: dpdk
|
||||
Section: admin
|
||||
Architecture: amd64 arm64 i386
|
||||
Depends: lsb-base (>= 3.2-14),
|
||||
pciutils,
|
||||
hwdata,
|
||||
${misc:Depends},
|
||||
${python:Depends},
|
||||
${shlibs:Depends}
|
||||
Recommends: dpdk-igb-uio-dkms (= ${binary:Version}) [arm64], dpdk-rte-kni-dkms (= ${binary:Version}) [arm64],
|
||||
librte-pmd-af-packet1 (= ${binary:Version}),
|
||||
librte-pmd-bnxt1 (= ${binary:Version}),
|
||||
librte-pmd-bond1 (= ${binary:Version}),
|
||||
librte-pmd-cxgbe1 (= ${binary:Version}),
|
||||
librte-pmd-e1000-1 (= ${binary:Version}),
|
||||
librte-pmd-ena1 (= ${binary:Version}),
|
||||
librte-pmd-enic1 (= ${binary:Version}) [amd64 arm64 i386],
|
||||
librte-pmd-fm10k1 (= ${binary:Version}) [amd64 i386],
|
||||
librte-pmd-i40e1 (= ${binary:Version}) [amd64 i386],
|
||||
librte-pmd-ixgbe1 (= ${binary:Version}) [amd64 arm64 i386],
|
||||
librte-pmd-null-crypto1 (= ${binary:Version}),
|
||||
librte-pmd-null1 (= ${binary:Version}),
|
||||
librte-pmd-pcap1 (= ${binary:Version}),
|
||||
librte-pmd-ring2 (= ${binary:Version}),
|
||||
librte-pmd-vhost1 (= ${binary:Version}),
|
||||
librte-pmd-virtio1 (= ${binary:Version}),
|
||||
librte-pmd-vmxnet3-uio1 (= ${binary:Version}) [amd64 arm64 i386],
|
||||
librte-pmd-xenvirt1 (= ${binary:Version}) [amd64 arm64 i386],
|
||||
Suggests: linux-image-generic, dpdk-igb-uio-dkms (= ${binary:Version}), dpdk-rte-kni-dkms (= ${binary:Version})
|
||||
Description: Data Plane Development Kit (runtime)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime environment to run DPDK applications.
|
||||
|
||||
Package: dpdk-dev
|
||||
Section: devel
|
||||
Architecture: amd64 arm64 i386
|
||||
Depends: libdpdk-dev (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Data Plane Development Kit (development files)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains examples and the upstream build environment. It is
|
||||
not strictly required in order to build external applications.
|
||||
|
||||
Package: dpdk-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Homepage: http://dpdk.org/doc/guides/index.html
|
||||
Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${python:Depends}
|
||||
Recommends: python, ${python:Recommends}
|
||||
Description: Data Plane Development Kit (documentation)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the complete set of documentation and guides.
|
||||
|
||||
Package: dpdk-igb-uio-dkms
|
||||
Section: kernel
|
||||
Architecture: amd64 arm64 i386
|
||||
Depends: dkms,
|
||||
dpdk-dev (= ${binary:Version}),
|
||||
libdpdk-dev (= ${binary:Version}),
|
||||
make,
|
||||
${misc:Depends}
|
||||
Description: Data Plane Development Kit (igb uio dkms)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the source code for the igb_uio kernel module.
|
||||
|
||||
Package: dpdk-rte-kni-dkms
|
||||
Section: kernel
|
||||
Architecture: amd64 arm64 i386
|
||||
Depends: dkms,
|
||||
dpdk-dev (= ${binary:Version}),
|
||||
libdpdk-dev (= ${binary:Version}),
|
||||
make,
|
||||
${misc:Depends}
|
||||
Description: Data Plane Development Kit (rte kni dkms)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the source code for the rte_kni kernel module.
|
||||
|
||||
Package: libdpdk-dev
|
||||
Section: libdevel
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends},
|
||||
libpcap-dev,
|
||||
libethdev4 (= ${binary:Version}),
|
||||
librte-acl2 (= ${binary:Version}),
|
||||
librte-cfgfile2 (= ${binary:Version}),
|
||||
librte-cmdline2 (= ${binary:Version}),
|
||||
librte-cryptodev1 (= ${binary:Version}),
|
||||
librte-distributor1 (= ${binary:Version}),
|
||||
librte-eal2 (= ${binary:Version}),
|
||||
librte-hash2 (= ${binary:Version}),
|
||||
librte-ip-frag1 (= ${binary:Version}),
|
||||
librte-jobstats1 (= ${binary:Version}),
|
||||
librte-kni2 (= ${binary:Version}) [amd64 arm64],
|
||||
librte-kvargs1 (= ${binary:Version}),
|
||||
librte-lpm2 (= ${binary:Version}),
|
||||
librte-mbuf2 (= ${binary:Version}),
|
||||
librte-mempool2 (= ${binary:Version}),
|
||||
librte-meter1 (= ${binary:Version}),
|
||||
librte-pdump1 (= ${binary:Version}),
|
||||
librte-pipeline3 (= ${binary:Version}),
|
||||
librte-pmd-af-packet1 (= ${binary:Version}),
|
||||
librte-pmd-bnxt1 (= ${binary:Version}),
|
||||
librte-pmd-bond1 (= ${binary:Version}),
|
||||
librte-pmd-cxgbe1 (= ${binary:Version}),
|
||||
librte-pmd-e1000-1 (= ${binary:Version}),
|
||||
librte-pmd-ena1 (= ${binary:Version}),
|
||||
librte-pmd-enic1 (= ${binary:Version}),
|
||||
librte-pmd-fm10k1 (= ${binary:Version}) [amd64 i386],
|
||||
librte-pmd-i40e1 (= ${binary:Version}) [amd64 i386],
|
||||
librte-pmd-ixgbe1 (= ${binary:Version}),
|
||||
librte-pmd-null-crypto1 (= ${binary:Version}),
|
||||
librte-pmd-null1 (= ${binary:Version}),
|
||||
librte-pmd-pcap1 (= ${binary:Version}),
|
||||
librte-pmd-ring2 (= ${binary:Version}),
|
||||
librte-pmd-vhost1 (= ${binary:Version}),
|
||||
librte-pmd-virtio1 (= ${binary:Version}),
|
||||
librte-pmd-vmxnet3-uio1 (= ${binary:Version}),
|
||||
librte-pmd-xenvirt1 (= ${binary:Version}),
|
||||
librte-port3 (= ${binary:Version}),
|
||||
librte-power1 (= ${binary:Version}),
|
||||
librte-reorder1 (= ${binary:Version}),
|
||||
librte-ring1 (= ${binary:Version}),
|
||||
librte-sched1 (= ${binary:Version}),
|
||||
librte-table2 (= ${binary:Version}),
|
||||
librte-timer1 (= ${binary:Version}),
|
||||
librte-vhost3 (= ${binary:Version})
|
||||
Description: Data Plane Development Kit (basic development files)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the basic headers and library files required to
|
||||
build external applications which will also require at least SSE3 support
|
||||
when running.
|
||||
|
||||
Package: libethdev4
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (libethdev runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for libethdev.
|
||||
|
||||
Package: librte-acl2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-acl runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_acl.
|
||||
|
||||
Package: librte-cfgfile2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__cfgfile_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-cfgfile runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_cfgfile.
|
||||
|
||||
Package: librte-cmdline2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-cmdline runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_cmdline.
|
||||
|
||||
Package: librte-cryptodev1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__cryptodev_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-cryptodev runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_cryptodev.
|
||||
|
||||
Package: librte-distributor1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__distributor_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-distributor runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_distributor.
|
||||
|
||||
Package: librte-eal2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__eal_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-eal runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_eal.
|
||||
|
||||
Package: librte-hash2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__hash_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-hash runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_hash.
|
||||
|
||||
Package: librte-ip-frag1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__ip__frag_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-ip-frag runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_ip_frag.
|
||||
|
||||
Package: librte-jobstats1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__jobstats_8h_source.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-jobstats runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_jobstats.
|
||||
|
||||
Package: librte-kni2
|
||||
Architecture: amd64 arm64
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__kni_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-kni runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_kni.
|
||||
|
||||
Package: librte-kvargs1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__kvargs_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-kvargs runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_kvargs.
|
||||
|
||||
Package: librte-lpm2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__lpm_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-lpm runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_lpm.
|
||||
|
||||
Package: librte-mbuf2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__mbuf_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-mbuf2 runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_mbuf.
|
||||
|
||||
Package: librte-mempool2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__mempool_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-mempool runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_mempool.
|
||||
|
||||
Package: librte-meter1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__meter_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-meter runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_meter.
|
||||
|
||||
Package: librte-pipeline3
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__pipeline_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pipeline runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pipeline.
|
||||
|
||||
Package: librte-pmd-af-packet1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/af_packet
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-af-packet runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_af_packet.
|
||||
|
||||
Package: librte-pmd-bnxt1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-bnxt runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_bnxt.
|
||||
|
||||
Package: librte-pmd-bond1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-bond runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_bond.
|
||||
|
||||
Package: librte-pmd-cxgbe1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/cxgbe.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-cxgbe runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_cxgbe.
|
||||
|
||||
Package: librte-pmd-e1000-1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/e1000em.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-e1000 runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_e1000.
|
||||
|
||||
Package: librte-pmd-ena1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/ena.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-ena runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_ena.
|
||||
|
||||
Package: librte-pmd-enic1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/enic.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-enic runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_enic.
|
||||
|
||||
Package: librte-pmd-fm10k1
|
||||
Architecture: amd64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/fm10k.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-fm10k runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_fm10k.
|
||||
|
||||
Package: librte-pmd-i40e1
|
||||
Architecture: amd64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/i40e.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-i40e runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_i40e.
|
||||
|
||||
Package: librte-pmd-ixgbe1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/ixgbe.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-ixgbe runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_ixgbe.
|
||||
|
||||
Package: librte-pmd-null-crypto1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/cryptodevs/null.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-null-crypto runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_null_crypto.
|
||||
|
||||
Package: librte-pmd-null1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/browse/dpdk/tree/drivers/net/null
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-null runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_null.
|
||||
|
||||
Package: librte-pmd-pcap1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-pcap runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_pcap.
|
||||
|
||||
Package: librte-pmd-ring2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/pcap_ring.html#rings-based-pmd
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-ring runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_ring.
|
||||
|
||||
Package: librte-pmd-vhost1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/vhost.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-vhost runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_vhost.
|
||||
|
||||
Package: librte-pmd-virtio1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/virtio.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-virtio runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_virtio.
|
||||
|
||||
Package: librte-pmd-vmxnet3-uio1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/nics/vmxnet3.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-vmxnet3-uio runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_vmxnet3_uio.
|
||||
|
||||
Package: librte-pmd-xenvirt1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/guides/xen/pkt_switch.html#xen-pmd-frontend-prerequisites
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-pmd-xenvirt runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pmd_xenvirt.
|
||||
|
||||
Package: librte-port3
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__port_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-port runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_port.
|
||||
|
||||
Package: librte-power1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__power_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-power runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_power.
|
||||
|
||||
Package: librte-reorder1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__reorder_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte-reorder runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_reorder.
|
||||
|
||||
Package: librte-ring1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__ring_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_ring runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_ring.
|
||||
|
||||
Package: librte-sched1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__sched_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_sched runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_sched.
|
||||
|
||||
Package: librte-table2
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__table_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_table runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_table.
|
||||
|
||||
Package: librte-timer1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__timer_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_timer runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_timer.
|
||||
|
||||
Package: librte-vhost3
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Homepage: http://dpdk.org/doc/api/rte__virtio__net_8h.html
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_vhost runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_vhost.
|
||||
|
||||
Package: librte-pdump1
|
||||
Architecture: amd64 arm64 i386
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: libdpdk0
|
||||
Description: Data Plane Development Kit (librte_pdump runtime library)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
.
|
||||
This package contains the runtime libraries for librte_pdump.
|
||||
|
||||
Package: dpdk-dkms
|
||||
Architecture: amd64 arm64 i386 ppc64el
|
||||
Depends: dpdk-igb-uio-dkms (= ${binary:Version}), dpdk-rte-kni-dkms (= ${binary:Version})
|
||||
Multi-Arch: same
|
||||
Conflicts: libdpdk0
|
||||
Breaks: dpdk-dkms (< ${binary:Version})
|
||||
Description: Metapackage provides backward compatibility for
|
||||
installing dpdk-dkms modules.
|
|
@ -1,14 +0,0 @@
|
|||
Package: dpdk-modules-#KVERS#
|
||||
Section: kernel
|
||||
Architecture: amd64 arm64 i386
|
||||
Provides: dpdk-modules
|
||||
Recommends: linux-image-#KVERS#
|
||||
Conflicts: dpdk-igb-uio-dkms, dpdk-rte-kni-dkms
|
||||
Built-Using: ${built:using:kernel}
|
||||
Description: Data Plane Development Kit (rte kni, igb uio modules)
|
||||
DPDK is a set of libraries for fast packet processing. Applications run
|
||||
in user-space and communicate directly with dedicated network interfaces.
|
||||
This package contains the source code for the igb_uio kernel module.
|
||||
.
|
||||
This package provides the kernel drivers for userspace networking.
|
||||
Includes Intel DPDK kernel modules.
|
|
@ -1,136 +0,0 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: dpdk
|
||||
Source: http://dpdk.org
|
||||
|
||||
Files: *
|
||||
Copyright: 2008-2014 Cisco Systems, Inc.
|
||||
2012-2014 6WIND S.A.
|
||||
1999-2016 Intel Corporation.
|
||||
2010-2013 Tilera Corporation.
|
||||
2012-2016 Mellanox.
|
||||
2007 VMware, Inc.
|
||||
2007 Nuova Systems, Inc.
|
||||
2014 IBM Corporation.
|
||||
and many other contributors.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: lib/librte_eal/linuxapp/*
|
||||
Copyright: 2007-2016, Intel Corporation
|
||||
2006-2007 Myricom, Inc. for some LRO specific code
|
||||
License: GPL-2
|
||||
|
||||
Files: drivers/net/enic/*
|
||||
Copyright: 2007, Nuova Systems, Inc.
|
||||
2008-2016, Cisco Systems, Inc.
|
||||
License: BSD-2-clause
|
||||
|
||||
Files:
|
||||
lib/librte_eal/common/include/rte_pci_dev_*.h
|
||||
lib/librte_eal/linuxapp/xen_dom0/*
|
||||
lib/librte_vhost/eventfd_link/eventfd_link.h
|
||||
drivers/crypto/qat/qat_adf/*
|
||||
Copyright: 2010-2016, Intel Corporation.
|
||||
License: BSD-3-clause or GPL-2
|
||||
|
||||
Files:
|
||||
lib/librte_eal/bsdapp/eal/include/exec-env/rte_dom0_common.h
|
||||
lib/librte_eal/linuxapp/eal/include/exec-env/rte_dom0_common.h
|
||||
lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h
|
||||
Copyright: 2007-2014, Intel Corporation.
|
||||
License: BSD-3-clause or LGPL-2.1
|
||||
|
||||
Files: lib/librte_compat/rte_compat.h
|
||||
drivers/net/vmxnet3/base/upt1_defs.h
|
||||
drivers/net/vmxnet3/base/vmxnet3_defs.h
|
||||
scripts/validate-abi.sh
|
||||
Copyright: 2015, Neil Horman <nhorman@tuxdriver.com>
|
||||
2007, VMware, Inc.
|
||||
License: BSD-2-clause
|
||||
|
||||
Files: buildtools/pmdinfogen/*
|
||||
Copyright: 2016, Neil Horman <nhorman@tuxdriver.com>
|
||||
License: GPL-2
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2015, 2016 Canonical Ltd.
|
||||
License: GPL-3
|
||||
|
||||
Files: debian/kernel-version
|
||||
debian/prep-modules
|
||||
Copyright: 2009-2016 Andreas Beckmann <anbe@debian.org>
|
||||
2010-2016 Russ Allbery <rra@debian.org>
|
||||
License: GPL-2.0+
|
||||
|
||||
License: GPL-2
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: GPL-2.0+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: GPL-3
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
License: LGPL-2.1
|
||||
On Debian systems, the complete text of the GNU Library General Public
|
||||
License can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
|
||||
|
||||
License: BSD-2-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Intel Corporation nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -1,3 +0,0 @@
|
|||
# Upstream distributes it like this, these are binaries which are
|
||||
# part of the sdk which is shipped in dpdk-dev.
|
||||
dpdk-dev: arch-dependent-file-in-usr-share
|
|
@ -1,64 +0,0 @@
|
|||
dpdk for Debian
|
||||
---------------
|
||||
|
||||
This package is currently compiled for the lowest possible CPU requirements.
|
||||
Which still requires at least SSE3 to be supported by the CPU.
|
||||
|
||||
dpdk (runtime) / libdpdk0:
|
||||
|
||||
For runtime /etc/dpdk/interfaces holds a list of PCI devices to be assigned
|
||||
to DPDK compatible drivers and /etc/dpdk/dpdk.conf allows one to define the
|
||||
number of hugepages to be reserved at boot.
|
||||
The runtime environment is not required to build applications that use
|
||||
DPDK but if those applications get packaged they should depend on the
|
||||
runtime.
|
||||
|
||||
Since DPDK technically would be able to use all of your compatible card/driver
|
||||
combination it is required that you take care of blacklisting / whitelisting
|
||||
network cards to tell dpdk which it has to initialize (especially true for
|
||||
virtio-pci as the normal kernel driver is considered compatible).
|
||||
|
||||
If you are working with virtio-pci network cards it isn't a hard requirement to
|
||||
assign them to a dpdk compatible userspace driver like uio_pci_generic. But you
|
||||
have to at least unbind them from the default kernel driver (virtio-pci) to
|
||||
avoid bugs by dpdk and the kernel working on them simultaneously. It is
|
||||
recommended to reassign them to dpdk compatible drivers using
|
||||
/etc/dpdk/interfaces (just as you would with any physical card).
|
||||
|
||||
libdpdk0 contains the shared object needed to run a program in terms of symbol
|
||||
resolution, but none of the other runtime environment pieces.
|
||||
|
||||
dpdk-dev / libdpdk-dev:
|
||||
|
||||
The minimum requirement for developing external applications is libdpdk-dev,
|
||||
which brings the headers and library files.
|
||||
|
||||
In dpdk-dev is the upstream makefile environment. Sample applications, which
|
||||
are shipped in dpdk-doc, are providing makefiles.
|
||||
Those makefiles need to find the dpdk build system. To do so they need some
|
||||
environment variables defined:
|
||||
export RTE_TARGET="$(uname -m)-default-linuxapp-gcc"
|
||||
export RTE_SDK="/usr/share/dpdk/"
|
||||
export RTE_INCLUDE="/usr/include/dpdk"
|
||||
Those can be set by the user to overwrite with a custom path/config. If no
|
||||
custom environment is used it is recommended to source the file
|
||||
/usr/share/dpdk/dpdk-sdk-env.sh which comes with dpdk-dev.
|
||||
If the paths ever change or there will be more/less variables needed to build
|
||||
against dpdk-dev that file will be adjusted for you.
|
||||
|
||||
Alternatively /usr/include/dpdk/rte_config.h has to be pre-included:
|
||||
CFLAGS += -I/usr/include/dpdk -irte_config.h
|
||||
|
||||
librte-pmd-* and DPDK PMD autoloading:
|
||||
|
||||
PMD driver autoloading. DPDK since its split into several libraries does not
|
||||
have all PMD drivers available by default. One always can use EAL argument -d
|
||||
to provide a path to an extra .so file.
|
||||
TO ease daily usage RTE_EAL_PMD_PATH is set to
|
||||
/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/dpdk-pmds/.
|
||||
Each librte-pmd-* package will place a symlink in there which makes DPDK load
|
||||
and register it as PMD on startup.
|
||||
This can also be used to globally enable extra PMD drivers as you can link
|
||||
self-provided .so files in there to be considered.
|
||||
|
||||
-- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 29 Sep 2016 13:04:47 +0200
|
|
@ -1 +0,0 @@
|
|||
dpdk-doc: embedded-javascript-library
|
|
@ -1,7 +0,0 @@
|
|||
PACKAGE_NAME="dpdk-igb-uio"
|
||||
PACKAGE_VERSION="#MODULE_VERSION#"
|
||||
BUILT_MODULE_NAME[0]="igb_uio"
|
||||
MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h'"
|
||||
CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean"
|
||||
DEST_MODULE_LOCATION[0]="/updates/dkms"
|
||||
AUTOINSTALL="YES"
|
|
@ -1,251 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# dpdk-init: startup script to initialize a dpdk runtime environment
|
||||
#
|
||||
# Copyright 2015-2016 Canonical Ltd.
|
||||
# Autor: Stefan Bader <stefan.bader@canonical.com>
|
||||
# Autor: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 3,
|
||||
# as published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
set -e
|
||||
|
||||
DPDK_BIND="/sbin/dpdk-devbind"
|
||||
DPDK_INTERF="/etc/dpdk/interfaces"
|
||||
|
||||
|
||||
# pagesize supports [G|g]/[M|m]/[K|k]
|
||||
get_kbytes() {
|
||||
local unit
|
||||
local num
|
||||
unit=$(echo "${1}" | sed 's/[0-9]*//g')
|
||||
num=$(echo "${1}" | sed 's/[^0-9]*//g')
|
||||
case ${unit} in
|
||||
*g | *G)
|
||||
echo $((num*1024*1024))
|
||||
;;
|
||||
*m | *M)
|
||||
echo $((num*1024))
|
||||
;;
|
||||
*k | *K)
|
||||
echo $((num))
|
||||
;;
|
||||
*)
|
||||
echo $((num/1024))
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
get_default_hpgsz() {
|
||||
default_hpgsz=$(grep "Hugepagesize:" /proc/meminfo \
|
||||
| sed 's/^Hugepagesize:\s*//g' | sed 's/\s*kB$//g')
|
||||
echo "${default_hpgsz}"
|
||||
}
|
||||
|
||||
get_hugetlbfs_mountpoint() {
|
||||
local requested_hpgsz
|
||||
local mp_hpgsz
|
||||
requested_hpgsz=$(get_kbytes "${1}")
|
||||
|
||||
grep hugetlbfs /proc/mounts | while read \
|
||||
mntfrom mntpoint mntfstype mntopt mntdump mntfsck; do
|
||||
|
||||
# check if the current muntpoint is of the requested huge page size
|
||||
case ${mntopt} in
|
||||
*pagesize=*)
|
||||
mp_hpgsz=$(echo "${mntopt}" | sed 's/.*pagesize=//g' | sed 's/,.*//g')
|
||||
mp_hpgsz=$(get_kbytes "${mp_hpgsz}")
|
||||
;;
|
||||
*)
|
||||
mp_hpgsz=$(get_default_hpgsz)
|
||||
;;
|
||||
esac
|
||||
if [ "${requested_hpgsz}" -eq "${mp_hpgsz}" ]; then
|
||||
echo "${mntpoint}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
_mount_hugetlbfs() {
|
||||
local MNT="/dev/hugepages"
|
||||
local MNTOPTS=""
|
||||
local requested_hpgsz
|
||||
local default_hpgsz
|
||||
requested_hpgsz=$(get_kbytes "${1}")
|
||||
default_hpgsz=$(get_default_hpgsz)
|
||||
|
||||
# kernel might not support the requested size
|
||||
if [ ! -d "/sys/kernel/mm/hugepages/hugepages-${requested_hpgsz}kB" ]; then
|
||||
echo "WARNING: requested page size of ${requested_hpgsz}kB " \
|
||||
"not supported by the kernel"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# special case if this is not the default huge page size
|
||||
if [ "${requested_hpgsz}" -ne "${default_hpgsz}" ]; then
|
||||
MNT="${MNT}-${requested_hpgsz}"
|
||||
MNTOPTS="pagesize=${requested_hpgsz}K"
|
||||
fi
|
||||
|
||||
if [ ! -e "${MNT}" ]; then
|
||||
mkdir "${MNT}"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Could not create directory ${MNT}!" >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
mount -thugetlbfs hugetlbfs "${MNT}" -o "${MNTOPTS}"
|
||||
return $?
|
||||
}
|
||||
|
||||
#
|
||||
# The DPDK library will use the first mounted instance it finds for a given
|
||||
# page size. so if there is already one for a given size there is no need to
|
||||
# create another for the same huge page size.
|
||||
#
|
||||
mount_hugetlbfs() {
|
||||
if [ ! -r /etc/dpdk/dpdk.conf ]; then
|
||||
return 1
|
||||
fi
|
||||
. /etc/dpdk/dpdk.conf
|
||||
|
||||
# if a page size is requested, there has to be a mountpoint for that size
|
||||
if [ -n "${NR_2M_PAGES}" -a -z "$(get_hugetlbfs_mountpoint '2M')" ]; then
|
||||
_mount_hugetlbfs 2M
|
||||
fi
|
||||
if [ -n "${NR_1G_PAGES}" -a -z "$(get_hugetlbfs_mountpoint '1G')" ]; then
|
||||
_mount_hugetlbfs 1G
|
||||
fi
|
||||
}
|
||||
|
||||
_setup_hugepages() {
|
||||
MMDIR="/sys/kernel/mm/hugepages/${1}"
|
||||
PAGES=${2}
|
||||
|
||||
if [ "$PAGES" != "" ]; then
|
||||
if [ "$PAGES" -gt 0 ]; then
|
||||
if [ -d "$MMDIR" -a -w "$MMDIR/nr_hugepages" ]; then
|
||||
# increases the chance to allocate enough huge pages
|
||||
# configurable, since it comes at a perf penality
|
||||
if [ "$DROPCACHE_BEFORE_HP_ALLOC" = "1" ]; then
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
fi
|
||||
|
||||
echo "$PAGES" > "$MMDIR/nr_hugepages"
|
||||
|
||||
GOTPAGES=$(cat "$MMDIR/nr_hugepages")
|
||||
if [ "$GOTPAGES" -lt "$PAGES" ]; then
|
||||
echo "WARNING: could not allocate $PAGES at " \
|
||||
"$MMDIR/nr_hugepages (only got $GOTPAGES)."
|
||||
fi
|
||||
else
|
||||
echo "WARNING: $MMDIR/nr_hugepages not found/writable"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Reserve a certain amount of hugepages (defined in /etc/dpdk.conf)
|
||||
#
|
||||
setup_hugepages() {
|
||||
if [ ! -r /etc/dpdk/dpdk.conf ]; then
|
||||
return 1
|
||||
fi
|
||||
. /etc/dpdk/dpdk.conf
|
||||
|
||||
_setup_hugepages "hugepages-2048kB" "$NR_2M_PAGES"
|
||||
_setup_hugepages "hugepages-1048576kB" "$NR_1G_PAGES"
|
||||
|
||||
# dpdk uses 2*#hugepages mappings, increase for huge systems LP #1507921
|
||||
if [ -d /sys/kernel/mm/hugepages ]; then
|
||||
max_map_count=$(awk -v pad=65530 '{tot+=$1}END{print tot*2+pad}' \
|
||||
/sys/kernel/mm/hugepages/hugepages-*/nr_hugepages)
|
||||
sysctl -q vm.max_map_count="${max_map_count:-65530}"
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
#
|
||||
# Allow NICs to be automatically bound to DPDK compatible drivers on boot.
|
||||
#
|
||||
bind_interfaces() {
|
||||
if [ ! -r "$DPDK_INTERF" ]; then
|
||||
return 0
|
||||
fi
|
||||
grep -v '^[ \t]*#' "$DPDK_INTERF" | while read BUS ID MOD; do
|
||||
if [ "$BUS" = "" -o "$ID" = "" -o "$MOD" = "" ]; then
|
||||
echo "WARNING: incomplete spec in $DPDK_INTERF" \
|
||||
" - BUS '$BUS' ID '$ID' MOD '$MOD'"
|
||||
continue
|
||||
fi
|
||||
if [ "$BUS" != "pci" ]; then
|
||||
echo "WARNING: incompatible bus '$BUS' in $DPDK_INTERF"
|
||||
continue
|
||||
fi
|
||||
|
||||
SYSFSPATH="/sys/bus/$BUS/devices/$ID"
|
||||
if [ ! -e "$SYSFSPATH" ]; then
|
||||
echo "WARNING: invalid pci ID '$ID' in $DPDK_INTERF" \
|
||||
" - '$SYSFSPATH' does not exist"
|
||||
continue
|
||||
fi
|
||||
if [ -L "$SYSFSPATH/driver" ]; then
|
||||
CUR=$(readlink "$SYSFSPATH/driver")
|
||||
CUR=$(basename "$CUR")
|
||||
else
|
||||
# device existing, but currently unregistered
|
||||
CUR=""
|
||||
fi
|
||||
if [ "$MOD" != "$CUR" ]; then
|
||||
modprobe -q "$MOD" || true
|
||||
# cloud img have no linux-image-extra initially (uip_pci_generic)
|
||||
# so check if the module is available (loadable/built in)
|
||||
if [ -e "/sys/bus/pci/drivers/${MOD}" ]; then
|
||||
echo "Reassigning pci:$ID to $MOD"
|
||||
$DPDK_BIND -b "$MOD" "$ID"
|
||||
else
|
||||
echo "Warning: failed assigning pci:$ID," \
|
||||
" module $MOD not available"
|
||||
fi
|
||||
else
|
||||
echo "pci:$ID already assigned to $MOD"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
mount_hugetlbfs
|
||||
setup_hugepages
|
||||
bind_interfaces
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
reload|force-reload)
|
||||
setup_hugepages
|
||||
bind_interfaces
|
||||
;;
|
||||
status)
|
||||
$DPDK_BIND --status
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|reload|force-reload|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
PACKAGE_NAME="dpdk-rte-kni"
|
||||
PACKAGE_VERSION="#MODULE_VERSION#"
|
||||
BUILT_MODULE_NAME[0]="rte_kni"
|
||||
MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h -I$source_tree/dpdk-rte-kni-#MODULE_VERSION#/ethtool/ixgbe -I$source_tree/dpdk-rte-kni-#MODULE_VERSION#/ethtool/igb'"
|
||||
CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean"
|
||||
DEST_MODULE_LOCATION[0]="/updates/dkms"
|
||||
AUTOINSTALL="YES"
|
|
@ -1,4 +0,0 @@
|
|||
export RTE_TARGET=SDK_TARGET
|
||||
export RTE_SDK="/usr/share/dpdk/"
|
||||
export RTE_INCLUDE="/usr/include/dpdk"
|
||||
export RTE_KERNELDIR="/lib/modules/${kernelver}/build"
|
|
@ -1,54 +0,0 @@
|
|||
#
|
||||
# The number of 2M hugepages to reserve on system boot
|
||||
#
|
||||
# Default is 0
|
||||
# To e.g. let it reserve 64x 2M Hugepages set:
|
||||
# NR_2M_PAGES=64
|
||||
|
||||
#
|
||||
# The number of 1G hugepages to reserve on system boot
|
||||
#
|
||||
# Default is 0
|
||||
# To e.g. let it reserve 2x 1G Hugepages set:
|
||||
# NR_1G_PAGES=2
|
||||
|
||||
#
|
||||
# Dropping slab and pagecache can help to successfully allocate hugepages,
|
||||
# especially later in the lifecycle of a system.
|
||||
# This comes at the cost of loosing all slab and pagecache on (re)start
|
||||
# of the dpdk service - therefore the default is off.
|
||||
#
|
||||
# Default is 0
|
||||
# Set to 1 to enable it
|
||||
#DROPCACHE_BEFORE_HP_ALLOC=0
|
||||
|
||||
# The DPDK library will use the first mounted hugetlbfs.
|
||||
# The init scripts try to ensure there is at least one default hugetlbfs
|
||||
# mountpoint on start.
|
||||
# If you have multiple hugetlbfs mountpoints for a complex (e.g. specific numa
|
||||
# policies) setup it should be controlled by the admin instead of this init
|
||||
# script. In that case specific mountpoints can be provided as parameters to
|
||||
# the DPDK library.
|
||||
|
||||
# Hardware may support other granularities of hugepages (like 4M). But the
|
||||
# larger the hugepages the earlier those should be allocated.
|
||||
# Note: the dpdk init scripts will report warnings, but not fail if they could
|
||||
# not allocate the requested amount of hugepages.
|
||||
# The more or the larger the hugepages to be allocated are, the more it is
|
||||
# recommended to do the reservation as kernel commandline arguments.
|
||||
# To do so edit /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT
|
||||
# and add [hugepagesz=xx] hugepages=yy ...
|
||||
#
|
||||
# Kernel commandline config:
|
||||
# hugepagesz sets the size for the next hugepages reservation (default 2M)
|
||||
# hugepages reserves the given number of hugepages of the size set before
|
||||
#
|
||||
# After modifying /etc/default/grub, the command "update-grub" has to be
|
||||
# run in order to re-generate the grub config files. The new values will
|
||||
# be used after next reboot.
|
||||
#
|
||||
# example:
|
||||
# GRUB_CMDLINE_LINUX_DEFAULT="... hugepages=16 hugepagesz=1G hugepages=2"
|
||||
#
|
||||
# If the system supports it, this will reserve 16x 2M pages and 2x 1G pages.
|
||||
#
|
|
@ -1,57 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: dpdk
|
||||
# Required-Start: $remote_fs $local_fs
|
||||
# Required-Stop: $remote_fs $local_fs
|
||||
# Default-Start: S
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start dpdk runtime environment
|
||||
### END INIT INFO
|
||||
|
||||
set -e
|
||||
|
||||
PATH="/sbin:/bin:/usr/bin"
|
||||
|
||||
[ -d /lib/dpdk ] || exit 0
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
|
||||
# and status_of_proc is working.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
error=0
|
||||
case "$1" in
|
||||
start)
|
||||
log_action_begin_msg "Starting DPDK environment" "dpdk"
|
||||
output=$(/lib/dpdk/dpdk-init start 2>&1) || error="$?"
|
||||
if [ ! -z "$output" ]; then
|
||||
echo "$output" | while read line; do
|
||||
log_action_cont_msg "$line"
|
||||
done
|
||||
fi
|
||||
log_action_end_msg $error
|
||||
exit $error
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
restart|force-reload)
|
||||
;;
|
||||
status)
|
||||
output=$(/lib/dpdk/dpdk-init --status 2>&1) || error="$?"
|
||||
if [ ! -z "$output" ]; then
|
||||
echo "$output" | while read line; do
|
||||
log_action_cont_msg "$line"
|
||||
done
|
||||
fi
|
||||
log_action_end_msg $error
|
||||
exit $error
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|force-reload|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
debian/dpdk-init lib/dpdk/
|
||||
debian/dpdk.conf etc/dpdk/
|
|
@ -1,19 +0,0 @@
|
|||
#
|
||||
# <bus> Currently only "pci" is supported
|
||||
# <id> Device ID on the specified bus
|
||||
# <driver> Driver to bind against (vfio-pci, uio_pci_generic, igb_uio or
|
||||
# rte_kni)
|
||||
#
|
||||
# Be aware that the two dpdk compatible drivers uio_pci_generic and vfio-pci are
|
||||
# part of linux-image-extra-<VERSION> package.
|
||||
# This package is not always installed by default - for example in cloud-images.
|
||||
# So please install it in case you run into missing module issues.
|
||||
#
|
||||
# For the module igb_uio, please install the dpdk-igb-uio-dkms package.
|
||||
# For the module rte_kni, please install the dpdk-rte-kni-dkms package.
|
||||
#
|
||||
# <bus> <id> <driver>
|
||||
# pci 0000:04:00.0 vfio-pci
|
||||
# pci 0000:04:00.1 uio_pci_generic
|
||||
# pci 0000:05:00.0 igb_uio
|
||||
# pci 0000:06:00.0 rte_kni
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=DPDK runtime environment
|
||||
DefaultDependencies=false
|
||||
After=network-pre.target local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/lib/dpdk/dpdk-init start
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,61 +0,0 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# Copyright (c) 2009-2016 Andreas Beckmann <anbe@debian.org>
|
||||
# 2010-2016 Russ Allbery <rra@debian.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this script. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# This program comes from:
|
||||
# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/module/debian/kernel-version?view=markup
|
||||
# The original copyright and license (GPL2+) can be found at:
|
||||
# https://anonscm.debian.org/viewvc/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/copyright?view=markup
|
||||
#
|
||||
# Extract the kernel version from the kernel version header file. Takes the
|
||||
# kernel source path as its only argument. If the version header couldn't be
|
||||
# found, print nothing and exit quietly.
|
||||
|
||||
use warnings;
|
||||
|
||||
my $ksrc = shift;
|
||||
unless ($ksrc && (-f "$ksrc/include/linux/version.h" || -f "$ksrc/include/generated/uapi/linux/version.h")) {
|
||||
exit 0;
|
||||
}
|
||||
my $found = 0;
|
||||
my $line;
|
||||
if (open (VERSION, "$ksrc/include/linux/version.h")) {
|
||||
if (defined(VERSION) && ($line = <VERSION>)) {
|
||||
if ($line =~ /"(.+)"/) {
|
||||
print "$1\n";
|
||||
$found = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 if $found;
|
||||
if (open (VERSION, "$ksrc/include/generated/utsrelease.h")) {
|
||||
if (defined(VERSION) && ($line = <VERSION>)) {
|
||||
if ($line =~ /UTS_RELEASE *"(.+)"/) {
|
||||
print "$1\n";
|
||||
$found = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 if $found;
|
||||
# kernel.release is no longer useful since 3.1.0
|
||||
unless (open (VERSION, "$ksrc/include/config/kernel.release")) {
|
||||
exit 0;
|
||||
}
|
||||
if (defined(VERSION) && ($line = <VERSION>)) {
|
||||
print "$line";
|
||||
}
|
||||
exit 0;
|
|
@ -1,10 +0,0 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: dpdk
|
||||
Description: Data Plane Development Kit library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} @DPDK_LIBS@ -ldl -lm -lpthread -lz
|
||||
Cflags: -I${includedir}/dpdk -include ${includedir}/dpdk/rte_config.h
|
|
@ -1,116 +0,0 @@
|
|||
libethdev.so.4 libethdev4 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.07~rc1
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.2@DPDK_2.2 16.07~rc1
|
||||
_rte_eth_dev_callback_process@DPDK_2.2 16.07~rc1
|
||||
rte_eth_add_first_rx_callback@DPDK_16.07 16.07~rc1
|
||||
rte_eth_add_rx_callback@DPDK_2.2 16.07~rc1
|
||||
rte_eth_add_tx_callback@DPDK_2.2 16.07~rc1
|
||||
rte_eth_allmulticast_disable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_allmulticast_enable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_allmulticast_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_copy_pci_info@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_allocate@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_allocated@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_attach@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_callback_register@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_callback_unregister@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_close@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_configure@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_count@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_default_mac_addr_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_detach@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_filter_ctrl@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_filter_supported@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_flow_ctrl_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_flow_ctrl_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_dcb_info@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_eeprom@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_eeprom_length@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_mtu@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_name_by_port@DPDK_16.07 16.07~rc1
|
||||
rte_eth_dev_get_port_by_name@DPDK_16.07 16.07~rc1
|
||||
rte_eth_dev_get_reg_info@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_get_supported_ptypes@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_get_vlan_offload@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_info_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_is_valid_port@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_l2_tunnel_eth_type_conf@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_l2_tunnel_offload_set@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_mac_addr_add@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_mac_addr_remove@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_priority_flow_ctrl_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_release_port@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rss_hash_conf_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rss_hash_update@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rss_reta_query@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rss_reta_update@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_intr_ctl@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_intr_ctl_q@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_intr_disable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_intr_enable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_queue_start@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_rx_queue_stop@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_eeprom@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_link_down@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_link_up@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_mc_addr_list@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_mtu@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_rx_queue_stats_mapping@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_tx_queue_stats_mapping@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vf_rx@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vf_rxmode@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vf_tx@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vf_vlan_filter@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vlan_ether_type@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_set_vlan_offload@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vlan_pvid@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_set_vlan_strip_on_queue@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_socket_id@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_start@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_stop@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_tx_queue_start@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_tx_queue_stop@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_uc_all_hash_table_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_uc_hash_table_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dev_udp_tunnel_port_add@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_udp_tunnel_port_delete@DPDK_16.04 16.07~rc1
|
||||
rte_eth_dev_vlan_filter@DPDK_2.2 16.07~rc1
|
||||
rte_eth_devices@DPDK_2.2 16.07~rc1
|
||||
rte_eth_dma_zone_reserve@DPDK_2.2 16.07~rc1
|
||||
rte_eth_driver_register@DPDK_2.2 16.07~rc1
|
||||
rte_eth_led_off@DPDK_2.2 16.07~rc1
|
||||
rte_eth_led_on@DPDK_2.2 16.07~rc1
|
||||
rte_eth_link_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_link_get_nowait@DPDK_2.2 16.07~rc1
|
||||
rte_eth_macaddr_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_mirror_rule_reset@DPDK_2.2 16.07~rc1
|
||||
rte_eth_mirror_rule_set@DPDK_2.2 16.07~rc1
|
||||
rte_eth_promiscuous_disable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_promiscuous_enable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_promiscuous_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_remove_rx_callback@DPDK_2.2 16.07~rc1
|
||||
rte_eth_remove_tx_callback@DPDK_2.2 16.07~rc1
|
||||
rte_eth_rx_queue_info_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_rx_queue_setup@DPDK_2.2 16.07~rc1
|
||||
rte_eth_set_queue_rate_limit@DPDK_2.2 16.07~rc1
|
||||
rte_eth_set_vf_rate_limit@DPDK_2.2 16.07~rc1
|
||||
rte_eth_speed_bitflag@DPDK_16.04 16.07~rc1
|
||||
rte_eth_stats_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_stats_reset@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_adjust_time@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_disable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_enable@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_read_rx_timestamp@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_read_time@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_read_tx_timestamp@DPDK_2.2 16.07~rc1
|
||||
rte_eth_timesync_write_time@DPDK_2.2 16.07~rc1
|
||||
rte_eth_tx_buffer_count_callback@DPDK_16.04 16.07~rc1
|
||||
rte_eth_tx_buffer_drop_callback@DPDK_16.04 16.07~rc1
|
||||
rte_eth_tx_buffer_init@DPDK_16.04 16.07~rc1
|
||||
rte_eth_tx_buffer_set_err_callback@DPDK_16.04 16.07~rc1
|
||||
rte_eth_tx_queue_info_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_tx_queue_setup@DPDK_2.2 16.07~rc1
|
||||
rte_eth_xstats_get@DPDK_2.2 16.07~rc1
|
||||
rte_eth_xstats_get_names@DPDK_16.07 16.07~rc1
|
||||
rte_eth_xstats_reset@DPDK_2.2 16.07~rc1
|
|
@ -1,15 +0,0 @@
|
|||
librte_acl.so.2 librte-acl2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_acl_add_rules@DPDK_2.0 16.04
|
||||
rte_acl_build@DPDK_2.0 16.04
|
||||
rte_acl_classify@DPDK_2.0 16.04
|
||||
rte_acl_classify_alg@DPDK_2.0 16.04
|
||||
rte_acl_classify_scalar@DPDK_2.0 16.04
|
||||
rte_acl_create@DPDK_2.0 16.04
|
||||
rte_acl_dump@DPDK_2.0 16.04
|
||||
rte_acl_find_existing@DPDK_2.0 16.04
|
||||
rte_acl_free@DPDK_2.0 16.04
|
||||
rte_acl_list_dump@DPDK_2.0 16.04
|
||||
rte_acl_reset@DPDK_2.0 16.04
|
||||
rte_acl_reset_rules@DPDK_2.0 16.04
|
||||
rte_acl_set_ctx_classify@DPDK_2.0 16.04
|
|
@ -1,13 +0,0 @@
|
|||
librte_cfgfile.so.2 librte-cfgfile2 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_cfgfile_close@DPDK_2.0 16.04
|
||||
rte_cfgfile_get_entry@DPDK_2.0 16.04
|
||||
rte_cfgfile_has_entry@DPDK_2.0 16.04
|
||||
rte_cfgfile_has_section@DPDK_2.0 16.04
|
||||
rte_cfgfile_load@DPDK_2.0 16.04
|
||||
rte_cfgfile_num_sections@DPDK_2.0 16.04
|
||||
rte_cfgfile_section_entries@DPDK_2.0 16.04
|
||||
rte_cfgfile_section_entries_by_index@DPDK_16.04 16.04
|
||||
rte_cfgfile_section_num_entries@DPDK_2.0 16.04
|
||||
rte_cfgfile_sections@DPDK_2.0 16.04
|
|
@ -1,68 +0,0 @@
|
|||
librte_cmdline.so.2 librte-cmdline2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
cirbuf_add_buf_head@DPDK_2.0 16.04
|
||||
cirbuf_add_buf_tail@DPDK_2.0 16.04
|
||||
cirbuf_add_head@DPDK_2.0 16.04
|
||||
cirbuf_add_head_safe@DPDK_2.0 16.04
|
||||
cirbuf_add_tail@DPDK_2.0 16.04
|
||||
cirbuf_add_tail_safe@DPDK_2.0 16.04
|
||||
cirbuf_align_left@DPDK_2.0 16.04
|
||||
cirbuf_align_right@DPDK_2.0 16.04
|
||||
cirbuf_del_buf_head@DPDK_2.0 16.04
|
||||
cirbuf_del_buf_tail@DPDK_2.0 16.04
|
||||
cirbuf_del_head@DPDK_2.0 16.04
|
||||
cirbuf_del_head_safe@DPDK_2.0 16.04
|
||||
cirbuf_del_tail@DPDK_2.0 16.04
|
||||
cirbuf_del_tail_safe@DPDK_2.0 16.04
|
||||
cirbuf_get_buf_head@DPDK_2.0 16.04
|
||||
cirbuf_get_buf_tail@DPDK_2.0 16.04
|
||||
cirbuf_get_head@DPDK_2.0 16.04
|
||||
cirbuf_get_tail@DPDK_2.0 16.04
|
||||
cirbuf_init@DPDK_2.0 16.04
|
||||
cmdline_complete@DPDK_2.0 16.04
|
||||
cmdline_complete_get_elt_string@DPDK_2.0 16.04
|
||||
cmdline_complete_get_nb_string@DPDK_2.0 16.04
|
||||
cmdline_file_new@DPDK_2.0 16.04
|
||||
cmdline_free@DPDK_2.0 16.04
|
||||
cmdline_get_help_etheraddr@DPDK_2.0 16.04
|
||||
cmdline_get_help_ipaddr@DPDK_2.0 16.04
|
||||
cmdline_get_help_num@DPDK_2.0 16.04
|
||||
cmdline_get_help_portlist@DPDK_2.0 16.04
|
||||
cmdline_get_help_string@DPDK_2.0 16.04
|
||||
cmdline_in@DPDK_2.0 16.04
|
||||
cmdline_interact@DPDK_2.0 16.04
|
||||
cmdline_isendoftoken@DPDK_2.0 16.04
|
||||
cmdline_new@DPDK_2.0 16.04
|
||||
cmdline_parse@DPDK_2.0 16.04
|
||||
cmdline_parse_etheraddr@DPDK_2.0 16.04
|
||||
cmdline_parse_ipaddr@DPDK_2.0 16.04
|
||||
cmdline_parse_num@DPDK_2.0 16.04
|
||||
cmdline_parse_portlist@DPDK_2.0 16.04
|
||||
cmdline_parse_string@DPDK_2.0 16.04
|
||||
cmdline_poll@DPDK_2.1 16.04
|
||||
cmdline_printf@DPDK_2.0 16.04
|
||||
cmdline_quit@DPDK_2.0 16.04
|
||||
cmdline_set_prompt@DPDK_2.0 16.04
|
||||
cmdline_stdin_exit@DPDK_2.0 16.04
|
||||
cmdline_stdin_new@DPDK_2.0 16.04
|
||||
cmdline_token_etheraddr_ops@DPDK_2.0 16.04
|
||||
cmdline_token_ipaddr_ops@DPDK_2.0 16.04
|
||||
cmdline_token_num_ops@DPDK_2.0 16.04
|
||||
cmdline_token_portlist_ops@DPDK_2.0 16.04
|
||||
cmdline_token_string_ops@DPDK_2.0 16.04
|
||||
cmdline_write_char@DPDK_2.0 16.04
|
||||
rdline_add_history@DPDK_2.0 16.04
|
||||
rdline_char_in@DPDK_2.0 16.04
|
||||
rdline_clear_history@DPDK_2.0 16.04
|
||||
rdline_get_buffer@DPDK_2.0 16.04
|
||||
rdline_get_history_item@DPDK_2.0 16.04
|
||||
rdline_init@DPDK_2.0 16.04
|
||||
rdline_newline@DPDK_2.0 16.04
|
||||
rdline_quit@DPDK_2.0 16.04
|
||||
rdline_redisplay@DPDK_2.0 16.04
|
||||
rdline_reset@DPDK_2.0 16.04
|
||||
rdline_restart@DPDK_2.0 16.04
|
||||
rdline_stop@DPDK_2.0 16.04
|
||||
vt100_init@DPDK_2.0 16.04
|
||||
vt100_parser@DPDK_2.0 16.04
|
|
@ -1,32 +0,0 @@
|
|||
librte_cryptodev.so.1 librte-cryptodev1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
rte_crypto_op_pool_create@DPDK_16.04 16.04
|
||||
rte_cryptodev_callback_register@DPDK_16.04 16.04
|
||||
rte_cryptodev_callback_unregister@DPDK_16.04 16.04
|
||||
rte_cryptodev_close@DPDK_16.04 16.04
|
||||
rte_cryptodev_configure@DPDK_16.04 16.04
|
||||
rte_cryptodev_count@DPDK_16.04 16.04
|
||||
rte_cryptodev_count_devtype@DPDK_16.04 16.04
|
||||
rte_cryptodev_create_vdev@DPDK_16.04 16.04
|
||||
rte_cryptodev_get_dev_id@DPDK_16.04 16.04
|
||||
rte_cryptodev_get_feature_name@DPDK_16.04 16.04
|
||||
rte_cryptodev_info_get@DPDK_16.04 16.04
|
||||
rte_cryptodev_parse_vdev_init_params@DPDK_16.07 16.07~rc1
|
||||
rte_cryptodev_pmd_allocate@DPDK_16.04 16.04
|
||||
rte_cryptodev_pmd_callback_process@DPDK_16.04 16.04
|
||||
rte_cryptodev_pmd_driver_register@DPDK_16.04 16.04
|
||||
rte_cryptodev_pmd_release_device@DPDK_16.04 16.04
|
||||
rte_cryptodev_pmd_virtual_dev_init@DPDK_16.04 16.04
|
||||
rte_cryptodev_queue_pair_count@DPDK_16.04 16.04
|
||||
rte_cryptodev_queue_pair_setup@DPDK_16.04 16.04
|
||||
rte_cryptodev_queue_pair_start@DPDK_16.04 16.04
|
||||
rte_cryptodev_queue_pair_stop@DPDK_16.04 16.04
|
||||
rte_cryptodev_socket_id@DPDK_16.04 16.04
|
||||
rte_cryptodev_start@DPDK_16.04 16.04
|
||||
rte_cryptodev_stats_get@DPDK_16.04 16.04
|
||||
rte_cryptodev_stats_reset@DPDK_16.04 16.04
|
||||
rte_cryptodev_stop@DPDK_16.04 16.04
|
||||
rte_cryptodev_sym_session_create@DPDK_16.04 16.04
|
||||
rte_cryptodev_sym_session_free@DPDK_16.04 16.04
|
||||
rte_cryptodevs@DPDK_16.04 16.04
|
|
@ -1,11 +0,0 @@
|
|||
librte_distributor.so.1 librte-distributor1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_distributor_clear_returns@DPDK_2.0 16.04
|
||||
rte_distributor_create@DPDK_2.0 16.04
|
||||
rte_distributor_flush@DPDK_2.0 16.04
|
||||
rte_distributor_get_pkt@DPDK_2.0 16.04
|
||||
rte_distributor_poll_pkt@DPDK_2.0 16.04
|
||||
rte_distributor_process@DPDK_2.0 16.04
|
||||
rte_distributor_request_pkt@DPDK_2.0 16.04
|
||||
rte_distributor_return_pkt@DPDK_2.0 16.04
|
||||
rte_distributor_returned_pkts@DPDK_2.0 16.04
|
|
@ -1,136 +0,0 @@
|
|||
librte_eal.so.2 librte-eal2 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
__rte_panic@DPDK_2.0 16.04
|
||||
devargs_list@DPDK_2.0 16.04
|
||||
eal_parse_sysfs_value@DPDK_2.0 16.04
|
||||
eal_timer_source@DPDK_2.0 16.04
|
||||
lcore_config@DPDK_2.0 16.04
|
||||
pci_device_list@DPDK_2.0 16.04
|
||||
pci_driver_list@DPDK_2.0 16.04
|
||||
pci_get_sysfs_path@DPDK_16.07 16.07~rc1
|
||||
per_lcore__lcore_id@DPDK_2.0 16.04
|
||||
per_lcore__rte_errno@DPDK_2.0 16.04
|
||||
rte_calloc@DPDK_2.0 16.04
|
||||
rte_calloc_socket@DPDK_2.0 16.04
|
||||
rte_cpu_check_supported@DPDK_2.0 16.04
|
||||
rte_cpu_get_flag_enabled@DPDK_2.0 16.04
|
||||
rte_cpu_get_flag_name@DPDK_16.04 16.04
|
||||
rte_cycles_vmware_tsc_map@DPDK_2.0 16.04
|
||||
rte_delay_us@DPDK_2.0 16.04
|
||||
rte_dump_physmem_layout@DPDK_2.0 16.04
|
||||
rte_dump_registers@DPDK_2.0 16.04
|
||||
rte_dump_stack@DPDK_2.0 16.04
|
||||
rte_dump_tailq@DPDK_2.0 16.04
|
||||
rte_eal_alarm_cancel@DPDK_2.0 16.04
|
||||
rte_eal_alarm_set@DPDK_2.0 16.04
|
||||
rte_eal_dev_init@DPDK_2.0 16.04
|
||||
rte_eal_devargs_add@DPDK_2.0 16.04
|
||||
rte_eal_devargs_dump@DPDK_2.0 16.04
|
||||
rte_eal_devargs_type_count@DPDK_2.0 16.04
|
||||
rte_eal_driver_register@DPDK_2.0 16.04
|
||||
rte_eal_driver_unregister@DPDK_2.0 16.04
|
||||
rte_eal_get_configuration@DPDK_2.0 16.04
|
||||
rte_eal_get_lcore_state@DPDK_2.0 16.04
|
||||
rte_eal_get_physmem_layout@DPDK_2.0 16.04
|
||||
rte_eal_get_physmem_size@DPDK_2.0 16.04
|
||||
rte_eal_has_hugepages@DPDK_2.0 16.04
|
||||
rte_eal_init@DPDK_2.0 16.04
|
||||
rte_eal_iopl_init@DPDK_2.0 16.04
|
||||
rte_eal_lcore_role@DPDK_2.0 16.04
|
||||
rte_eal_mp_remote_launch@DPDK_2.0 16.04
|
||||
rte_eal_mp_wait_lcore@DPDK_2.0 16.04
|
||||
rte_eal_parse_devargs_str@DPDK_2.0 16.04
|
||||
rte_eal_pci_detach@DPDK_2.1 16.04
|
||||
rte_eal_pci_dump@DPDK_2.0 16.04
|
||||
rte_eal_pci_ioport_map@DPDK_16.04 16.04
|
||||
rte_eal_pci_ioport_read@DPDK_16.04 16.04
|
||||
rte_eal_pci_ioport_unmap@DPDK_16.04 16.04
|
||||
rte_eal_pci_ioport_write@DPDK_16.04 16.04
|
||||
rte_eal_pci_map_device@DPDK_16.04 16.04
|
||||
rte_eal_pci_probe@DPDK_2.0 16.04
|
||||
rte_eal_pci_probe_one@DPDK_2.0 16.04
|
||||
rte_eal_pci_read_config@DPDK_2.1 16.04
|
||||
rte_eal_pci_register@DPDK_2.0 16.04
|
||||
rte_eal_pci_scan@DPDK_2.0 16.04
|
||||
rte_eal_pci_unmap_device@DPDK_16.04 16.04
|
||||
rte_eal_pci_unregister@DPDK_2.0 16.04
|
||||
rte_eal_pci_write_config@DPDK_2.1 16.04
|
||||
rte_eal_primary_proc_alive@DPDK_16.04 16.04
|
||||
rte_eal_process_type@DPDK_2.0 16.04
|
||||
rte_eal_remote_launch@DPDK_2.0 16.04
|
||||
rte_eal_tailq_lookup@DPDK_2.0 16.04
|
||||
rte_eal_tailq_register@DPDK_2.0 16.04
|
||||
rte_eal_vdev_init@DPDK_2.0 16.04
|
||||
rte_eal_vdev_uninit@DPDK_2.0 16.04
|
||||
rte_eal_wait_lcore@DPDK_2.0 16.04
|
||||
rte_epoll_ctl@DPDK_2.1 16.04
|
||||
rte_epoll_wait@DPDK_2.1 16.04
|
||||
rte_exit@DPDK_2.0 16.04
|
||||
rte_free@DPDK_2.0 16.04
|
||||
rte_get_log_level@DPDK_2.0 16.04
|
||||
rte_get_log_type@DPDK_2.0 16.04
|
||||
rte_get_tsc_hz@DPDK_2.0 16.04
|
||||
rte_hexdump@DPDK_2.0 16.04
|
||||
rte_intr_allow_others@DPDK_2.1 16.04
|
||||
rte_intr_callback_register@DPDK_2.0 16.04
|
||||
rte_intr_callback_unregister@DPDK_2.0 16.04
|
||||
rte_intr_cap_multiple@DPDK_2.2 16.04
|
||||
rte_intr_disable@DPDK_2.0 16.04
|
||||
rte_intr_dp_is_en@DPDK_2.1 16.04
|
||||
rte_intr_efd_disable@DPDK_2.1 16.04
|
||||
rte_intr_efd_enable@DPDK_2.1 16.04
|
||||
rte_intr_enable@DPDK_2.0 16.04
|
||||
rte_intr_rx_ctl@DPDK_2.1 16.04
|
||||
rte_intr_tls_epfd@DPDK_2.1 16.04
|
||||
rte_keepalive_create@DPDK_2.2 16.04
|
||||
rte_keepalive_dispatch_pings@DPDK_2.2 16.04
|
||||
rte_keepalive_mark_alive@DPDK_2.2 16.04
|
||||
rte_keepalive_mark_sleep@DPDK_16.07 16.07~rc1
|
||||
rte_keepalive_register_core@DPDK_2.2 16.04
|
||||
rte_keepalive_register_relay_callback@DPDK_16.07 16.07~rc1
|
||||
rte_log@DPDK_2.0 16.04
|
||||
rte_log_add_in_history@DPDK_2.0 16.04
|
||||
rte_log_cur_msg_loglevel@DPDK_2.0 16.04
|
||||
rte_log_cur_msg_logtype@DPDK_2.0 16.04
|
||||
rte_log_dump_history@DPDK_2.0 16.04
|
||||
rte_log_set_history@DPDK_2.0 16.04
|
||||
rte_logs@DPDK_2.0 16.04
|
||||
rte_malloc@DPDK_2.0 16.04
|
||||
rte_malloc_dump_stats@DPDK_2.0 16.04
|
||||
rte_malloc_get_socket_stats@DPDK_2.0 16.04
|
||||
rte_malloc_set_limit@DPDK_2.0 16.04
|
||||
rte_malloc_socket@DPDK_2.0 16.04
|
||||
rte_malloc_validate@DPDK_2.0 16.04
|
||||
rte_malloc_virt2phy@DPDK_2.0 16.04
|
||||
rte_mem_lock_page@DPDK_2.0 16.04
|
||||
rte_mem_virt2phy@DPDK_2.0 16.04
|
||||
rte_memdump@DPDK_2.0 16.04
|
||||
rte_memory_get_nchannel@DPDK_2.0 16.04
|
||||
rte_memory_get_nrank@DPDK_2.0 16.04
|
||||
rte_memzone_dump@DPDK_2.0 16.04
|
||||
rte_memzone_free@DPDK_2.1 16.04
|
||||
rte_memzone_lookup@DPDK_2.0 16.04
|
||||
rte_memzone_reserve@DPDK_2.0 16.04
|
||||
rte_memzone_reserve_aligned@DPDK_2.0 16.04
|
||||
rte_memzone_reserve_bounded@DPDK_2.0 16.04
|
||||
rte_memzone_walk@DPDK_2.0 16.04
|
||||
rte_openlog_stream@DPDK_2.0 16.04
|
||||
rte_realloc@DPDK_2.0 16.04
|
||||
(arch=!arm64)rte_rtm_supported@DPDK_16.07 16.07~rc3
|
||||
rte_set_application_usage_hook@DPDK_2.0 16.04
|
||||
rte_set_log_level@DPDK_2.0 16.04
|
||||
rte_set_log_type@DPDK_2.0 16.04
|
||||
rte_socket_id@DPDK_2.0 16.04
|
||||
rte_strerror@DPDK_2.0 16.04
|
||||
rte_strsplit@DPDK_2.0 16.04
|
||||
rte_sys_gettid@DPDK_2.0 16.04
|
||||
rte_thread_get_affinity@DPDK_2.0 16.04
|
||||
rte_thread_set_affinity@DPDK_2.0 16.04
|
||||
rte_thread_setname@DPDK_16.07 16.07~rc1
|
||||
rte_vlog@DPDK_2.0 16.04
|
||||
rte_zmalloc@DPDK_2.0 16.04
|
||||
rte_zmalloc_socket@DPDK_2.0 16.04
|
|
@ -1,28 +0,0 @@
|
|||
librte_hash.so.2 librte-hash2 #MINVER#
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc3
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
rte_fbk_hash_create@DPDK_2.0 16.04
|
||||
rte_fbk_hash_find_existing@DPDK_2.0 16.04
|
||||
rte_fbk_hash_free@DPDK_2.0 16.04
|
||||
rte_hash_add_key@DPDK_2.0 16.04
|
||||
rte_hash_add_key_data@DPDK_2.1 16.04
|
||||
rte_hash_add_key_with_hash@DPDK_2.0 16.04
|
||||
rte_hash_add_key_with_hash_data@DPDK_2.1 16.04
|
||||
rte_hash_create@DPDK_2.0 16.04
|
||||
rte_hash_del_key@DPDK_2.0 16.04
|
||||
rte_hash_del_key_with_hash@DPDK_2.0 16.04
|
||||
rte_hash_find_existing@DPDK_2.0 16.04
|
||||
rte_hash_free@DPDK_2.0 16.04
|
||||
rte_hash_get_key_with_position@DPDK_16.07 16.07~rc3
|
||||
rte_hash_hash@DPDK_2.0 16.04
|
||||
rte_hash_iterate@DPDK_2.1 16.04
|
||||
rte_hash_lookup@DPDK_2.0 16.04
|
||||
rte_hash_lookup_bulk@DPDK_2.0 16.04
|
||||
rte_hash_lookup_bulk_data@DPDK_2.1 16.04
|
||||
rte_hash_lookup_data@DPDK_2.1 16.04
|
||||
rte_hash_lookup_with_hash@DPDK_2.0 16.04
|
||||
rte_hash_lookup_with_hash_data@DPDK_2.1 16.04
|
||||
rte_hash_reset@DPDK_2.1 16.04
|
||||
rte_hash_set_cmp_func@DPDK_2.2 16.04
|
|
@ -1,9 +0,0 @@
|
|||
librte_ip_frag.so.1 librte-ip-frag1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_ip_frag_free_death_row@DPDK_2.0 16.04
|
||||
rte_ip_frag_table_create@DPDK_2.0 16.04
|
||||
rte_ip_frag_table_statistics_dump@DPDK_2.0 16.04
|
||||
rte_ipv4_frag_reassemble_packet@DPDK_2.0 16.04
|
||||
rte_ipv4_fragment_packet@DPDK_2.0 16.04
|
||||
rte_ipv6_frag_reassemble_packet@DPDK_2.0 16.04
|
||||
rte_ipv6_fragment_packet@DPDK_2.0 16.04
|
|
@ -1,17 +0,0 @@
|
|||
librte_jobstats.so.1 librte-jobstats1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_jobstats_abort@DPDK_16.04 16.04
|
||||
rte_jobstats_context_finish@DPDK_2.0 16.04
|
||||
rte_jobstats_context_init@DPDK_2.0 16.04
|
||||
rte_jobstats_context_reset@DPDK_2.0 16.04
|
||||
rte_jobstats_context_start@DPDK_2.0 16.04
|
||||
rte_jobstats_finish@DPDK_2.0 16.04
|
||||
rte_jobstats_init@DPDK_2.0 16.04
|
||||
rte_jobstats_reset@DPDK_2.0 16.04
|
||||
rte_jobstats_set_max@DPDK_2.0 16.04
|
||||
rte_jobstats_set_min@DPDK_2.0 16.04
|
||||
rte_jobstats_set_period@DPDK_2.0 16.04
|
||||
rte_jobstats_set_target@DPDK_2.0 16.04
|
||||
rte_jobstats_set_update_period_function@DPDK_2.0 16.04
|
||||
rte_jobstats_start@DPDK_2.0 16.04
|
|
@ -1,13 +0,0 @@
|
|||
librte_kni.so.2 librte-kni2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_kni_alloc@DPDK_2.0 16.04
|
||||
rte_kni_close@DPDK_2.0 16.04
|
||||
rte_kni_get@DPDK_2.0 16.04
|
||||
rte_kni_get_name@DPDK_2.0 16.04
|
||||
rte_kni_handle_request@DPDK_2.0 16.04
|
||||
rte_kni_init@DPDK_2.0 16.04
|
||||
rte_kni_register_handlers@DPDK_2.0 16.04
|
||||
rte_kni_release@DPDK_2.0 16.04
|
||||
rte_kni_rx_burst@DPDK_2.0 16.04
|
||||
rte_kni_tx_burst@DPDK_2.0 16.04
|
||||
rte_kni_unregister_handlers@DPDK_2.0 16.04
|
|
@ -1,6 +0,0 @@
|
|||
librte_kvargs.so.1 librte-kvargs1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_kvargs_count@DPDK_2.0 16.04
|
||||
rte_kvargs_free@DPDK_2.0 16.04
|
||||
rte_kvargs_parse@DPDK_2.0 16.04
|
||||
rte_kvargs_process@DPDK_2.0 16.04
|
|
@ -1,27 +0,0 @@
|
|||
librte_lpm.so.2 librte-lpm2 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_lpm6_add@DPDK_2.0 16.04
|
||||
rte_lpm6_create@DPDK_2.0 16.04
|
||||
rte_lpm6_delete@DPDK_2.0 16.04
|
||||
rte_lpm6_delete_all@DPDK_2.0 16.04
|
||||
rte_lpm6_delete_bulk_func@DPDK_2.0 16.04
|
||||
rte_lpm6_find_existing@DPDK_2.0 16.04
|
||||
rte_lpm6_free@DPDK_2.0 16.04
|
||||
rte_lpm6_is_rule_present@DPDK_2.0 16.04
|
||||
rte_lpm6_lookup@DPDK_2.0 16.04
|
||||
rte_lpm6_lookup_bulk_func@DPDK_2.0 16.04
|
||||
rte_lpm_add@DPDK_16.04 16.04
|
||||
rte_lpm_add@DPDK_2.0 16.04
|
||||
rte_lpm_create@DPDK_16.04 16.04
|
||||
rte_lpm_create@DPDK_2.0 16.04
|
||||
rte_lpm_delete@DPDK_16.04 16.04
|
||||
rte_lpm_delete@DPDK_2.0 16.04
|
||||
rte_lpm_delete_all@DPDK_16.04 16.04
|
||||
rte_lpm_delete_all@DPDK_2.0 16.04
|
||||
rte_lpm_find_existing@DPDK_16.04 16.04
|
||||
rte_lpm_find_existing@DPDK_2.0 16.04
|
||||
rte_lpm_free@DPDK_16.04 16.04
|
||||
rte_lpm_free@DPDK_2.0 16.04
|
||||
rte_lpm_is_rule_present@DPDK_16.04 16.04
|
||||
rte_lpm_is_rule_present@DPDK_2.0 16.04
|
|
@ -1,11 +0,0 @@
|
|||
librte_mbuf.so.2 librte-mbuf2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
rte_ctrlmbuf_init@DPDK_2.0 16.04
|
||||
rte_get_rx_ol_flag_name@DPDK_2.0 16.04
|
||||
rte_get_tx_ol_flag_name@DPDK_2.0 16.04
|
||||
rte_mbuf_sanity_check@DPDK_2.0 16.04
|
||||
rte_pktmbuf_dump@DPDK_2.0 16.04
|
||||
rte_pktmbuf_init@DPDK_2.0 16.04
|
||||
rte_pktmbuf_pool_create@DPDK_2.1 16.04
|
||||
rte_pktmbuf_pool_init@DPDK_2.0 16.04
|
|
@ -1,31 +0,0 @@
|
|||
librte_mempool.so.2 librte-mempool2 #MINVER#
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.0@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_audit@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_avail_count@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_cache_create@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_cache_free@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_calc_obj_size@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_check_cookies@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_count@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_create@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_create_empty@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_dump@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_free@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_in_use_count@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_list_dump@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_lookup@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_mem_iter@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_obj_iter@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_ops_table@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_populate_anon@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_populate_default@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_populate_phys@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_populate_phys_tab@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_populate_virt@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_register_ops@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_set_ops_byname@DPDK_16.07 16.07~rc1
|
||||
rte_mempool_walk@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_xmem_create@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_xmem_size@DPDK_2.0 16.07~rc1
|
||||
rte_mempool_xmem_usage@DPDK_2.0 16.07~rc1
|
|
@ -1,4 +0,0 @@
|
|||
librte_meter.so.1 librte-meter1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_meter_srtcm_config@DPDK_2.0 16.04
|
||||
rte_meter_trtcm_config@DPDK_2.0 16.04
|
|
@ -1,9 +0,0 @@
|
|||
librte_pdump.so.1 librte-pdump1 #MINVER#
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_disable@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_disable_by_deviceid@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_enable@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_enable_by_deviceid@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_init@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_set_socket_dir@DPDK_16.07 16.07~rc1
|
||||
rte_pdump_uninit@DPDK_16.07 16.07~rc1
|
|
@ -1,28 +0,0 @@
|
|||
librte_pipeline.so.3 librte-pipeline3 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
rte_pipeline_ah_packet_drop@DPDK_16.04 16.04
|
||||
rte_pipeline_ah_packet_hijack@DPDK_16.04 16.04
|
||||
rte_pipeline_check@DPDK_2.0 16.04
|
||||
rte_pipeline_create@DPDK_2.0 16.04
|
||||
rte_pipeline_flush@DPDK_2.0 16.04
|
||||
rte_pipeline_free@DPDK_2.0 16.04
|
||||
rte_pipeline_port_in_connect_to_table@DPDK_2.0 16.04
|
||||
rte_pipeline_port_in_create@DPDK_2.0 16.04
|
||||
rte_pipeline_port_in_disable@DPDK_2.0 16.04
|
||||
rte_pipeline_port_in_enable@DPDK_2.0 16.04
|
||||
rte_pipeline_port_in_stats_read@DPDK_2.1 16.04
|
||||
rte_pipeline_port_out_create@DPDK_2.0 16.04
|
||||
rte_pipeline_port_out_packet_insert@DPDK_2.0 16.04
|
||||
rte_pipeline_port_out_stats_read@DPDK_2.1 16.04
|
||||
rte_pipeline_run@DPDK_2.0 16.04
|
||||
rte_pipeline_table_create@DPDK_2.0 16.04
|
||||
rte_pipeline_table_default_entry_add@DPDK_2.0 16.04
|
||||
rte_pipeline_table_default_entry_delete@DPDK_2.0 16.04
|
||||
rte_pipeline_table_entry_add@DPDK_2.0 16.04
|
||||
rte_pipeline_table_entry_add_bulk@DPDK_2.2 16.04
|
||||
rte_pipeline_table_entry_delete@DPDK_2.0 16.04
|
||||
rte_pipeline_table_entry_delete_bulk@DPDK_2.2 16.04
|
||||
rte_pipeline_table_stats_read@DPDK_2.1 16.04
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_af_packet.so.1 librte-pmd-af-packet1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_bnxt.so.1 librte-pmd-bnxt1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.07~rc3
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,29 +0,0 @@
|
|||
librte_pmd_bond.so.1 librte-pmd-bond1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.07~rc1
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
rte_eth_bond_8023ad_conf_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_8023ad_setup@DPDK_2.0 16.04
|
||||
rte_eth_bond_8023ad_conf_get@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_ext_collect@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_ext_collect_get@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_ext_distrib@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_ext_distrib_get@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_ext_slowtx@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_8023ad_setup@DPDK_16.07 16.07~rc1
|
||||
rte_eth_bond_active_slaves_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_create@DPDK_2.0 16.04
|
||||
rte_eth_bond_free@DPDK_2.1 16.04
|
||||
rte_eth_bond_link_monitoring_set@DPDK_2.0 16.04
|
||||
rte_eth_bond_mac_address_reset@DPDK_2.0 16.04
|
||||
rte_eth_bond_mac_address_set@DPDK_2.0 16.04
|
||||
rte_eth_bond_mode_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_mode_set@DPDK_2.0 16.04
|
||||
rte_eth_bond_primary_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_primary_set@DPDK_2.0 16.04
|
||||
rte_eth_bond_slave_add@DPDK_2.0 16.04
|
||||
rte_eth_bond_slave_remove@DPDK_2.0 16.04
|
||||
rte_eth_bond_slaves_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_xmit_policy_get@DPDK_2.0 16.04
|
||||
rte_eth_bond_xmit_policy_set@DPDK_2.0 16.04
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_cxgbe.so.1 librte-pmd-cxgbe1 #MINVER#
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_e1000.so.1 librte-pmd-e1000-1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_ena.so.1 librte-pmd-ena1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_enic.so.1 librte-pmd-enic1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_fm10k.so.1 librte-pmd-fm10k1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_i40e.so.1 librte-pmd-i40e1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_ixgbe.so.1 librte-pmd-ixgbe1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_null_crypto.so.1 librte-pmd-null-crypto1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_null.so.1 librte-pmd-null1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
eth_dev_null_create@DPDK_2.2 16.04
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_pcap.so.1 librte-pmd-pcap1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,5 +0,0 @@
|
|||
librte_pmd_ring.so.2 librte-pmd-ring2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
rte_eth_from_ring@DPDK_2.2 16.04
|
||||
rte_eth_from_rings@DPDK_2.0 16.04
|
|
@ -1,6 +0,0 @@
|
|||
librte_pmd_vhost.so.1 librte-pmd-vhost1 #MINVER#
|
||||
DPDK_16.04@DPDK_16.04 16.04
|
||||
rte_eth_vhost_feature_disable@DPDK_16.04 16.04
|
||||
rte_eth_vhost_feature_enable@DPDK_16.04 16.04
|
||||
rte_eth_vhost_feature_get@DPDK_16.04 16.04
|
||||
rte_eth_vhost_get_queue_event@DPDK_16.04 16.04
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_virtio.so.1 librte-pmd-virtio1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,4 +0,0 @@
|
|||
librte_pmd_vmxnet3_uio.so.1 librte-pmd-vmxnet3-uio1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
# INFO: this library exports no symbols, essentially it is a driver that
|
||||
# registers itself on load and is then only driven by callbacks.
|
|
@ -1,3 +0,0 @@
|
|||
librte_pmd_xenvirt.so.1 librte-pmd-xenvirt1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_mempool_gntalloc_create@DPDK_2.0 16.04
|
|
@ -1,25 +0,0 @@
|
|||
librte_port.so.3 librte-port3 #MINVER#
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.0@DPDK_2.0 16.07~rc1
|
||||
DPDK_2.1@DPDK_2.1 16.07~rc1
|
||||
DPDK_2.2@DPDK_2.2 16.07~rc1
|
||||
rte_port_ethdev_reader_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_ethdev_writer_nodrop_ops@DPDK_2.1 16.07~rc1
|
||||
rte_port_ethdev_writer_ops@DPDK_2.0 16.07~rc1
|
||||
(arch=!i386)rte_port_kni_reader_ops@DPDK_16.07 16.07~rc1
|
||||
(arch=!i386)rte_port_kni_writer_nodrop_ops@DPDK_16.07 16.07~rc1
|
||||
(arch=!i386)rte_port_kni_writer_ops@DPDK_16.07 16.07~rc1
|
||||
rte_port_ring_multi_reader_ops@DPDK_2.2 16.07~rc1
|
||||
rte_port_ring_multi_writer_nodrop_ops@DPDK_2.2 16.07~rc1
|
||||
rte_port_ring_multi_writer_ops@DPDK_2.2 16.07~rc1
|
||||
rte_port_ring_reader_ipv4_frag_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_ring_reader_ipv6_frag_ops@DPDK_2.1 16.07~rc1
|
||||
rte_port_ring_reader_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_ring_writer_ipv4_ras_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_ring_writer_ipv6_ras_ops@DPDK_2.1 16.07~rc1
|
||||
rte_port_ring_writer_nodrop_ops@DPDK_2.1 16.07~rc1
|
||||
rte_port_ring_writer_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_sched_reader_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_sched_writer_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_sink_ops@DPDK_2.0 16.07~rc1
|
||||
rte_port_source_ops@DPDK_2.0 16.07~rc1
|
|
@ -1,14 +0,0 @@
|
|||
librte_power.so.1 librte-power1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_power_exit@DPDK_2.0 16.04
|
||||
rte_power_freq_down@DPDK_2.0 16.04
|
||||
rte_power_freq_max@DPDK_2.0 16.04
|
||||
rte_power_freq_min@DPDK_2.0 16.04
|
||||
rte_power_freq_up@DPDK_2.0 16.04
|
||||
rte_power_freqs@DPDK_2.0 16.04
|
||||
rte_power_get_env@DPDK_2.0 16.04
|
||||
rte_power_get_freq@DPDK_2.0 16.04
|
||||
rte_power_init@DPDK_2.0 16.04
|
||||
rte_power_set_env@DPDK_2.0 16.04
|
||||
rte_power_set_freq@DPDK_2.0 16.04
|
||||
rte_power_unset_env@DPDK_2.0 16.04
|
|
@ -1,9 +0,0 @@
|
|||
librte_reorder.so.1 librte-reorder1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_reorder_create@DPDK_2.0 16.04
|
||||
rte_reorder_drain@DPDK_2.0 16.04
|
||||
rte_reorder_find_existing@DPDK_2.0 16.04
|
||||
rte_reorder_free@DPDK_2.0 16.04
|
||||
rte_reorder_init@DPDK_2.0 16.04
|
||||
rte_reorder_insert@DPDK_2.0 16.04
|
||||
rte_reorder_reset@DPDK_2.0 16.04
|
|
@ -1,11 +0,0 @@
|
|||
librte_ring.so.1 librte-ring1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
rte_ring_create@DPDK_2.0 16.04
|
||||
rte_ring_dump@DPDK_2.0 16.04
|
||||
rte_ring_free@DPDK_2.2 16.04
|
||||
rte_ring_get_memsize@DPDK_2.0 16.04
|
||||
rte_ring_init@DPDK_2.0 16.04
|
||||
rte_ring_list_dump@DPDK_2.0 16.04
|
||||
rte_ring_lookup@DPDK_2.0 16.04
|
||||
rte_ring_set_water_mark@DPDK_2.0 16.04
|
|
@ -1,22 +0,0 @@
|
|||
librte_sched.so.1 librte-sched1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.1@DPDK_2.1 16.04
|
||||
rte_approx@DPDK_2.0 16.04
|
||||
rte_red_config_init@DPDK_2.0 16.04
|
||||
rte_red_log2_1_minus_Wq@DPDK_2.0 16.04
|
||||
rte_red_pow2_frac_inv@DPDK_2.0 16.04
|
||||
rte_red_rand_seed@DPDK_2.0 16.04
|
||||
rte_red_rand_val@DPDK_2.0 16.04
|
||||
rte_red_rt_data_init@DPDK_2.0 16.04
|
||||
rte_sched_pipe_config@DPDK_2.0 16.04
|
||||
rte_sched_port_config@DPDK_2.0 16.04
|
||||
rte_sched_port_dequeue@DPDK_2.0 16.04
|
||||
rte_sched_port_enqueue@DPDK_2.0 16.04
|
||||
rte_sched_port_free@DPDK_2.0 16.04
|
||||
rte_sched_port_get_memory_footprint@DPDK_2.0 16.04
|
||||
rte_sched_port_pkt_read_color@DPDK_2.1 16.04
|
||||
rte_sched_port_pkt_read_tree_path@DPDK_2.1 16.04
|
||||
rte_sched_port_pkt_write@DPDK_2.1 16.04
|
||||
rte_sched_queue_read_stats@DPDK_2.0 16.04
|
||||
rte_sched_subport_config@DPDK_2.0 16.04
|
||||
rte_sched_subport_read_stats@DPDK_2.0 16.04
|
|
@ -1,19 +0,0 @@
|
|||
librte_table.so.2 librte-table2 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
DPDK_2.2@DPDK_2.2 16.04
|
||||
rte_table_acl_ops@DPDK_2.0 16.04
|
||||
rte_table_array_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_ext_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key16_ext_dosig_ops@DPDK_2.2 16.04
|
||||
rte_table_hash_key16_ext_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key16_lru_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key32_ext_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key32_lru_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key8_ext_dosig_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key8_ext_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key8_lru_dosig_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_key8_lru_ops@DPDK_2.0 16.04
|
||||
rte_table_hash_lru_ops@DPDK_2.0 16.04
|
||||
rte_table_lpm_ipv6_ops@DPDK_2.0 16.04
|
||||
rte_table_lpm_ops@DPDK_2.0 16.04
|
||||
rte_table_stub_ops@DPDK_2.0 16.04
|
|
@ -1,11 +0,0 @@
|
|||
librte_timer.so.1 librte-timer1 #MINVER#
|
||||
DPDK_2.0@DPDK_2.0 16.04
|
||||
rte_timer_dump_stats@DPDK_2.0 16.04
|
||||
rte_timer_init@DPDK_2.0 16.04
|
||||
rte_timer_manage@DPDK_2.0 16.04
|
||||
rte_timer_pending@DPDK_2.0 16.04
|
||||
rte_timer_reset@DPDK_2.0 16.04
|
||||
rte_timer_reset_sync@DPDK_2.0 16.04
|
||||
rte_timer_stop@DPDK_2.0 16.04
|
||||
rte_timer_stop_sync@DPDK_2.0 16.04
|
||||
rte_timer_subsystem_init@DPDK_2.0 16.04
|
|
@ -1,18 +0,0 @@
|
|||
librte_vhost.so.3 librte-vhost3 #MINVER#
|
||||
DPDK_16.07@DPDK_16.07 16.07~rc1
|
||||
DPDK_2.0@DPDK_2.0 16.07~rc1
|
||||
DPDK_2.1@DPDK_2.1 16.07~rc1
|
||||
rte_vhost_avail_entries@DPDK_16.07 16.07~rc1
|
||||
rte_vhost_dequeue_burst@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_driver_callback_register@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_driver_register@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_driver_session_start@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_driver_unregister@DPDK_2.1 16.07~rc1
|
||||
rte_vhost_enable_guest_notification@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_enqueue_burst@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_feature_disable@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_feature_enable@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_feature_get@DPDK_2.0 16.07~rc1
|
||||
rte_vhost_get_ifname@DPDK_16.07 16.07~rc1
|
||||
rte_vhost_get_numa_node@DPDK_16.07 16.07~rc1
|
||||
rte_vhost_get_queue_num@DPDK_16.07 16.07~rc1
|
|
@ -1,126 +0,0 @@
|
|||
Description: doc: fix old dpdk-nic-bind.py references
|
||||
|
||||
dpdk-nic-bind.py script has been renamed to dpdk-devbind.py,
|
||||
but some references to the old script have remained.
|
||||
This commit completes the renaming.
|
||||
|
||||
Fixes: a5d7a3f77ddc ("unify tools naming")
|
||||
|
||||
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
|
||||
|
||||
Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15057/
|
||||
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Last-Update: 2016-08-03
|
||||
|
||||
diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc/guides/howto/flow_bifurcation.rst
|
||||
index a1c6262..0d7226a 100644
|
||||
--- a/doc/guides/howto/flow_bifurcation.rst
|
||||
+++ b/doc/guides/howto/flow_bifurcation.rst
|
||||
@@ -119,8 +119,8 @@ The typical procedure to achieve this is as follows:
|
||||
.. code-block:: console
|
||||
|
||||
modprobe vfio-pci
|
||||
- dpdk_nic_bind.py -b vfio-pci 01:10.0
|
||||
- dpdk_nic_bind.py -b vfio-pci 01:10.1
|
||||
+ dpdk-devbind.py -b vfio-pci 01:10.0
|
||||
+ dpdk-devbind.py -b vfio-pci 01:10.1
|
||||
|
||||
#. Run a DPDK application on the VFs:
|
||||
|
||||
@@ -279,8 +279,8 @@ The typical procedure to achieve this is as follows:
|
||||
.. code-block:: console
|
||||
|
||||
modprobe vfio-pci
|
||||
- dpdk_nic_bind.py -b vfio-pci 01:10.0
|
||||
- dpdk_nic_bind.py -b vfio-pci 01:10.1
|
||||
+ dpdk-devbind.py -b vfio-pci 01:10.0
|
||||
+ dpdk-devbind.py -b vfio-pci 01:10.1
|
||||
|
||||
#. run DPDK application on VFs:
|
||||
|
||||
diff --git a/doc/guides/howto/lm_bond_virtio_sriov.rst b/doc/guides/howto/lm_bond_virtio_sriov.rst
|
||||
index 49666f1..9bc3450 100644
|
||||
--- a/doc/guides/howto/lm_bond_virtio_sriov.rst
|
||||
+++ b/doc/guides/howto/lm_bond_virtio_sriov.rst
|
||||
@@ -613,17 +613,17 @@ Set up DPDK in the Virtual Machine
|
||||
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
||||
|
||||
ifconfig -a
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py --status
|
||||
+ /root/dpdk/tools/dpdk-devbind.py --status
|
||||
|
||||
rmmod virtio-pci ixgbevf
|
||||
|
||||
modprobe uio
|
||||
insmod /root/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko
|
||||
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:03.0
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:04.0
|
||||
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:03.0
|
||||
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:04.0
|
||||
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py --status
|
||||
+ /root/dpdk/tools/dpdk-devbind.py --status
|
||||
|
||||
run_testpmd_bonding_in_vm.sh
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
diff --git a/doc/guides/howto/lm_virtio_vhost_user.rst b/doc/guides/howto/lm_virtio_vhost_user.rst
|
||||
index fad1f2a..4937781 100644
|
||||
--- a/doc/guides/howto/lm_virtio_vhost_user.rst
|
||||
+++ b/doc/guides/howto/lm_virtio_vhost_user.rst
|
||||
@@ -91,14 +91,14 @@ For Fortville NIC.
|
||||
.. code-block:: console
|
||||
|
||||
cd /root/dpdk/tools
|
||||
- ./dpdk_nic_bind.py -b igb_uio 0000:02:00.0
|
||||
+ ./dpdk-devbind.py -b igb_uio 0000:02:00.0
|
||||
|
||||
For Niantic NIC.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
cd /root/dpdk/tools
|
||||
- ./dpdk_nic_bind.py -b igb_uio 0000:09:00.0
|
||||
+ ./dpdk-devbind.py -b igb_uio 0000:09:00.0
|
||||
|
||||
On host_server_1: Terminal 3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -172,14 +172,14 @@ For Fortville NIC.
|
||||
.. code-block:: console
|
||||
|
||||
cd /root/dpdk/tools
|
||||
- ./dpdk_nic_bind.py -b igb_uio 0000:03:00.0
|
||||
+ ./dpdk-devbind.py -b igb_uio 0000:03:00.0
|
||||
|
||||
For Niantic NIC.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
cd /root/dpdk/tools
|
||||
- ./dpdk_nic_bind.py -b igb_uio 0000:06:00.0
|
||||
+ ./dpdk-devbind.py -b igb_uio 0000:06:00.0
|
||||
|
||||
On host_server_2: Terminal 3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -444,17 +444,17 @@ setup_dpdk_virtio_in_vm.sh
|
||||
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
||||
|
||||
ifconfig -a
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py --status
|
||||
+ /root/dpdk/tools/dpdk-devbind.py --status
|
||||
|
||||
rmmod virtio-pci
|
||||
|
||||
modprobe uio
|
||||
insmod /root/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko
|
||||
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:03.0
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py -b igb_uio 0000:00:04.0
|
||||
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:03.0
|
||||
+ /root/dpdk/tools/dpdk-devbind.py -b igb_uio 0000:00:04.0
|
||||
|
||||
- /root/dpdk/tools/dpdk_nic_bind.py --status
|
||||
+ /root/dpdk/tools/dpdk-devbind.py --status
|
||||
|
||||
run_testpmd_in_vm.sh
|
||||
~~~~~~~~~~~~~~~~~~~~
|
|
@ -1,39 +0,0 @@
|
|||
From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
|
||||
Date: Wed, 21 Sep 2016 13:56:31 +0530
|
||||
Subject: [PATCH] examples: fix ip_pipeline to load PMD driver correctly
|
||||
|
||||
There is typo in init.c of ip_pipeline example due to which,
|
||||
invalid file path is added to -d option of EAL i.e path starting
|
||||
with =.
|
||||
|
||||
*Update*
|
||||
There was a follow on issue identified that is now folded into this patch to
|
||||
keep maintenance simple with just one patch.
|
||||
|
||||
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
|
||||
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
||||
|
||||
Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15995/
|
||||
Author: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
|
||||
Last-update: 2016-10-04
|
||||
|
||||
---
|
||||
examples/ip_pipeline/init.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c
|
||||
index cd167f6..27b0aa7 100644
|
||||
--- a/examples/ip_pipeline/init.c
|
||||
+++ b/examples/ip_pipeline/init.c
|
||||
@@ -236,7 +236,7 @@ app_init_eal(struct app_params *app)
|
||||
}
|
||||
|
||||
if (p->add_driver) {
|
||||
- snprintf(buffer, sizeof(buffer), "-d=%s", p->add_driver);
|
||||
+ snprintf(buffer, sizeof(buffer), "-d%s", p->add_driver);
|
||||
app->eal_argv[n_args++] = strdup(buffer);
|
||||
}
|
||||
|
||||
--
|
||||
1.9.1
|
||||
|
|
@ -1,528 +0,0 @@
|
|||
diff --git a/doc/guides/index.rst b/doc/guides/index.rst
|
||||
index 0441859..57570f6 100644
|
||||
--- a/doc/guides/index.rst
|
||||
+++ b/doc/guides/index.rst
|
||||
@@ -41,6 +41,7 @@ DPDK documentation
|
||||
nics/index
|
||||
cryptodevs/index
|
||||
sample_app_ug/index
|
||||
+ tools/index
|
||||
testpmd_app_ug/index
|
||||
faq/index
|
||||
howto/index
|
||||
diff --git a/doc/guides/sample_app_ug/index.rst b/doc/guides/sample_app_ug/index.rst
|
||||
index 96bb317..6573452 100644
|
||||
--- a/doc/guides/sample_app_ug/index.rst
|
||||
+++ b/doc/guides/sample_app_ug/index.rst
|
||||
@@ -72,11 +72,9 @@ Sample Applications User Guide
|
||||
dist_app
|
||||
vm_power_management
|
||||
tep_termination
|
||||
- proc_info
|
||||
ptpclient
|
||||
performance_thread
|
||||
ipsec_secgw
|
||||
- pdump
|
||||
|
||||
**Figures**
|
||||
|
||||
diff --git a/doc/guides/sample_app_ug/pdump.rst b/doc/guides/sample_app_ug/pdump.rst
|
||||
deleted file mode 100644
|
||||
index ac0e7c9..0000000
|
||||
--- a/doc/guides/sample_app_ug/pdump.rst
|
||||
+++ /dev/null
|
||||
@@ -1,144 +0,0 @@
|
||||
-
|
||||
-.. BSD LICENSE
|
||||
- Copyright(c) 2016 Intel Corporation. All rights reserved.
|
||||
- All rights reserved.
|
||||
-
|
||||
- Redistribution and use in source and binary forms, with or without
|
||||
- modification, are permitted provided that the following conditions
|
||||
- are met:
|
||||
-
|
||||
- * Redistributions of source code must retain the above copyright
|
||||
- notice, this list of conditions and the following disclaimer.
|
||||
- * Redistributions in binary form must reproduce the above copyright
|
||||
- notice, this list of conditions and the following disclaimer in
|
||||
- the documentation and/or other materials provided with the
|
||||
- distribution.
|
||||
- * Neither the name of Intel Corporation nor the names of its
|
||||
- contributors may be used to endorse or promote products derived
|
||||
- from this software without specific prior written permission.
|
||||
-
|
||||
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-
|
||||
-
|
||||
-dpdk-pdump Application
|
||||
-======================
|
||||
-
|
||||
-The ``dpdk-pdump`` tool is a Data Plane Development Kit (DPDK) tool that runs as
|
||||
-a DPDK secondary process and is capable of enabling packet capture on dpdk ports.
|
||||
-
|
||||
- .. Note::
|
||||
-
|
||||
- * The ``dpdk-pdump`` tool depends on libpcap based PMD which is disabled
|
||||
- by default in the build configuration files,
|
||||
- owing to an external dependency on the libpcap development files
|
||||
- which must be installed on the board.
|
||||
- Once the libpcap development files are installed, the libpcap based PMD
|
||||
- can be enabled by setting CONFIG_RTE_LIBRTE_PMD_PCAP=y and recompiling the DPDK.
|
||||
-
|
||||
-
|
||||
-Running the Application
|
||||
------------------------
|
||||
-
|
||||
-The tool has a number of command line options:
|
||||
-
|
||||
-.. code-block:: console
|
||||
-
|
||||
- ./build/app/dpdk-pdump --
|
||||
- --pdump '(port=<port id> | device_id=<pci id or vdev name>),
|
||||
- (queue=<queue_id>),
|
||||
- (rx-dev=<iface or pcap file> |
|
||||
- tx-dev=<iface or pcap file>),
|
||||
- [ring-size=<ring size>],
|
||||
- [mbuf-size=<mbuf data size>],
|
||||
- [total-num-mbufs=<number of mbufs>]'
|
||||
- [--server-socket-path=<server socket dir>]
|
||||
- [--client-socket-path=<client socket dir>]
|
||||
-
|
||||
-The ``--pdump`` command line option is mandatory and it takes various sub arguments which are described in
|
||||
-below section.
|
||||
-
|
||||
- .. Note::
|
||||
-
|
||||
- * Parameters inside the parentheses represents mandatory parameters.
|
||||
-
|
||||
- * Parameters inside the square brackets represents optional parameters.
|
||||
-
|
||||
- * Multiple instances of ``--pdump`` can be passed to capture packets on different port and queue combinations.
|
||||
-
|
||||
-The ``--server-socket-path`` command line option is optional. This represents the server socket directory.
|
||||
-If no value is passed default values are used i.e. ``/var/run/.dpdk/`` for root users and ``~/.dpdk/``
|
||||
-for non root users.
|
||||
-
|
||||
-The ``--client-socket-path`` command line option is optional. This represents the client socket directory.
|
||||
-If no value is passed default values are used i.e. ``/var/run/.dpdk/`` for root users and ``~/.dpdk/``
|
||||
-for non root users.
|
||||
-
|
||||
-
|
||||
-The ``--pdump`` parameters
|
||||
-~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
-
|
||||
-``port``:
|
||||
-Port id of the eth device on which packets should be captured.
|
||||
-
|
||||
-``device_id``:
|
||||
-PCI address (or) name of the eth device on which packets should be captured.
|
||||
-
|
||||
- .. Note::
|
||||
-
|
||||
- * As of now the ``dpdk-pdump`` tool cannot capture the packets of virtual devices
|
||||
- in the primary process due to a bug in the ethdev library. Due to this bug, in a multi process context,
|
||||
- when the primary and secondary have different ports set, then the secondary process
|
||||
- (here the ``dpdk-pdump`` tool) overwrites the ``rte_eth_devices[]`` entries of the primary process.
|
||||
-
|
||||
-``queue``:
|
||||
-Queue id of the eth device on which packets should be captured. The user can pass a queue value of ``*`` to enable
|
||||
-packet capture on all queues of the eth device.
|
||||
-
|
||||
-``rx-dev``:
|
||||
-Can be either a pcap file name or any Linux iface.
|
||||
-
|
||||
-``tx-dev``:
|
||||
-Can be either a pcap file name or any Linux iface.
|
||||
-
|
||||
- .. Note::
|
||||
-
|
||||
- * To receive ingress packets only, ``rx-dev`` should be passed.
|
||||
-
|
||||
- * To receive egress packets only, ``tx-dev`` should be passed.
|
||||
-
|
||||
- * To receive ingress and egress packets separately ``rx-dev`` and ``tx-dev``
|
||||
- should both be passed with the different file names or the Linux iface names.
|
||||
-
|
||||
- * To receive ingress and egress packets separately ``rx-dev`` and ``tx-dev``
|
||||
- should both be passed with the same file names or the the Linux iface names.
|
||||
-
|
||||
-``ring-size``:
|
||||
-Size of the ring. This value is used internally for ring creation. The ring will be used to enqueue the packets from
|
||||
-the primary application to the secondary. This is an optional parameter with default size 16384.
|
||||
-
|
||||
-``mbuf-size``:
|
||||
-Size of the mbuf data. This is used internally for mempool creation. Ideally this value must be same as
|
||||
-the primary application's mempool's mbuf data size which is used for packet RX. This is an optional parameter with
|
||||
-default size 2176.
|
||||
-
|
||||
-``total-num-mbufs``:
|
||||
-Total number mbufs in mempool. This is used internally for mempool creation. This is an optional parameter with default
|
||||
-value 65535.
|
||||
-
|
||||
-
|
||||
-Example
|
||||
--------
|
||||
-
|
||||
-.. code-block:: console
|
||||
-
|
||||
- $ sudo ./build/app/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'
|
||||
diff --git a/doc/guides/sample_app_ug/proc_info.rst b/doc/guides/sample_app_ug/proc_info.rst
|
||||
deleted file mode 100644
|
||||
index 73f2195..0000000
|
||||
--- a/doc/guides/sample_app_ug/proc_info.rst
|
||||
+++ /dev/null
|
||||
@@ -1,71 +0,0 @@
|
||||
-
|
||||
-.. BSD LICENSE
|
||||
- Copyright(c) 2015 Intel Corporation. All rights reserved.
|
||||
- All rights reserved.
|
||||
-
|
||||
- Redistribution and use in source and binary forms, with or without
|
||||
- modification, are permitted provided that the following conditions
|
||||
- are met:
|
||||
-
|
||||
- * Redistributions of source code must retain the above copyright
|
||||
- notice, this list of conditions and the following disclaimer.
|
||||
- * Redistributions in binary form must reproduce the above copyright
|
||||
- notice, this list of conditions and the following disclaimer in
|
||||
- the documentation and/or other materials provided with the
|
||||
- distribution.
|
||||
- * Neither the name of Intel Corporation nor the names of its
|
||||
- contributors may be used to endorse or promote products derived
|
||||
- from this software without specific prior written permission.
|
||||
-
|
||||
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-
|
||||
-
|
||||
-dpdk-procinfo Application
|
||||
-=========================
|
||||
-
|
||||
-The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application
|
||||
-that runs as a DPDK secondary process and is capable of retrieving port
|
||||
-statistics, resetting port statistics and printing DPDK memory information.
|
||||
-This application extends the original functionality that was supported by
|
||||
-dump_cfg.
|
||||
-
|
||||
-Running the Application
|
||||
------------------------
|
||||
-The application has a number of command line options:
|
||||
-
|
||||
-.. code-block:: console
|
||||
-
|
||||
- ./$(RTE_TARGET)/app/dpdk-procinfo -- -m | [-p PORTMASK] [--stats | --xstats |
|
||||
- --stats-reset | --xstats-reset]
|
||||
-
|
||||
-Parameters
|
||||
-~~~~~~~~~~
|
||||
-**-p PORTMASK**: Hexadecimal bitmask of ports to configure.
|
||||
-
|
||||
-**--stats**
|
||||
-The stats parameter controls the printing of generic port statistics. If no
|
||||
-port mask is specified stats are printed for all DPDK ports.
|
||||
-
|
||||
-**--xstats**
|
||||
-The stats parameter controls the printing of extended port statistics. If no
|
||||
-port mask is specified xstats are printed for all DPDK ports.
|
||||
-
|
||||
-**--stats-reset**
|
||||
-The stats-reset parameter controls the resetting of generic port statistics. If
|
||||
-no port mask is specified, the generic stats are reset for all DPDK ports.
|
||||
-
|
||||
-**--xstats-reset**
|
||||
-The xstats-reset parameter controls the resetting of extended port statistics.
|
||||
-If no port mask is specified xstats are reset for all DPDK ports.
|
||||
-
|
||||
-**-m**: Print DPDK memory information.
|
||||
diff --git a/doc/guides/tools/index.rst b/doc/guides/tools/index.rst
|
||||
new file mode 100644
|
||||
index 0000000..d7654a2
|
||||
--- /dev/null
|
||||
+++ b/doc/guides/tools/index.rst
|
||||
@@ -0,0 +1,40 @@
|
||||
+.. BSD LICENSE
|
||||
+ Copyright(c) 2016 Canonical Limited. All rights reserved.
|
||||
+ All rights reserved.
|
||||
+
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions
|
||||
+ are met:
|
||||
+
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of Intel Corporation nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+Tool User Guides
|
||||
+================
|
||||
+
|
||||
+.. toctree::
|
||||
+ :maxdepth: 2
|
||||
+ :numbered:
|
||||
+
|
||||
+ proc_info
|
||||
+ pdump
|
||||
+
|
||||
diff --git a/doc/guides/tools/pdump.rst b/doc/guides/tools/pdump.rst
|
||||
new file mode 100644
|
||||
index 0000000..ac0e7c9
|
||||
--- /dev/null
|
||||
+++ b/doc/guides/tools/pdump.rst
|
||||
@@ -0,0 +1,144 @@
|
||||
+
|
||||
+.. BSD LICENSE
|
||||
+ Copyright(c) 2016 Intel Corporation. All rights reserved.
|
||||
+ All rights reserved.
|
||||
+
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions
|
||||
+ are met:
|
||||
+
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of Intel Corporation nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+
|
||||
+dpdk-pdump Application
|
||||
+======================
|
||||
+
|
||||
+The ``dpdk-pdump`` tool is a Data Plane Development Kit (DPDK) tool that runs as
|
||||
+a DPDK secondary process and is capable of enabling packet capture on dpdk ports.
|
||||
+
|
||||
+ .. Note::
|
||||
+
|
||||
+ * The ``dpdk-pdump`` tool depends on libpcap based PMD which is disabled
|
||||
+ by default in the build configuration files,
|
||||
+ owing to an external dependency on the libpcap development files
|
||||
+ which must be installed on the board.
|
||||
+ Once the libpcap development files are installed, the libpcap based PMD
|
||||
+ can be enabled by setting CONFIG_RTE_LIBRTE_PMD_PCAP=y and recompiling the DPDK.
|
||||
+
|
||||
+
|
||||
+Running the Application
|
||||
+-----------------------
|
||||
+
|
||||
+The tool has a number of command line options:
|
||||
+
|
||||
+.. code-block:: console
|
||||
+
|
||||
+ ./build/app/dpdk-pdump --
|
||||
+ --pdump '(port=<port id> | device_id=<pci id or vdev name>),
|
||||
+ (queue=<queue_id>),
|
||||
+ (rx-dev=<iface or pcap file> |
|
||||
+ tx-dev=<iface or pcap file>),
|
||||
+ [ring-size=<ring size>],
|
||||
+ [mbuf-size=<mbuf data size>],
|
||||
+ [total-num-mbufs=<number of mbufs>]'
|
||||
+ [--server-socket-path=<server socket dir>]
|
||||
+ [--client-socket-path=<client socket dir>]
|
||||
+
|
||||
+The ``--pdump`` command line option is mandatory and it takes various sub arguments which are described in
|
||||
+below section.
|
||||
+
|
||||
+ .. Note::
|
||||
+
|
||||
+ * Parameters inside the parentheses represents mandatory parameters.
|
||||
+
|
||||
+ * Parameters inside the square brackets represents optional parameters.
|
||||
+
|
||||
+ * Multiple instances of ``--pdump`` can be passed to capture packets on different port and queue combinations.
|
||||
+
|
||||
+The ``--server-socket-path`` command line option is optional. This represents the server socket directory.
|
||||
+If no value is passed default values are used i.e. ``/var/run/.dpdk/`` for root users and ``~/.dpdk/``
|
||||
+for non root users.
|
||||
+
|
||||
+The ``--client-socket-path`` command line option is optional. This represents the client socket directory.
|
||||
+If no value is passed default values are used i.e. ``/var/run/.dpdk/`` for root users and ``~/.dpdk/``
|
||||
+for non root users.
|
||||
+
|
||||
+
|
||||
+The ``--pdump`` parameters
|
||||
+~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
+
|
||||
+``port``:
|
||||
+Port id of the eth device on which packets should be captured.
|
||||
+
|
||||
+``device_id``:
|
||||
+PCI address (or) name of the eth device on which packets should be captured.
|
||||
+
|
||||
+ .. Note::
|
||||
+
|
||||
+ * As of now the ``dpdk-pdump`` tool cannot capture the packets of virtual devices
|
||||
+ in the primary process due to a bug in the ethdev library. Due to this bug, in a multi process context,
|
||||
+ when the primary and secondary have different ports set, then the secondary process
|
||||
+ (here the ``dpdk-pdump`` tool) overwrites the ``rte_eth_devices[]`` entries of the primary process.
|
||||
+
|
||||
+``queue``:
|
||||
+Queue id of the eth device on which packets should be captured. The user can pass a queue value of ``*`` to enable
|
||||
+packet capture on all queues of the eth device.
|
||||
+
|
||||
+``rx-dev``:
|
||||
+Can be either a pcap file name or any Linux iface.
|
||||
+
|
||||
+``tx-dev``:
|
||||
+Can be either a pcap file name or any Linux iface.
|
||||
+
|
||||
+ .. Note::
|
||||
+
|
||||
+ * To receive ingress packets only, ``rx-dev`` should be passed.
|
||||
+
|
||||
+ * To receive egress packets only, ``tx-dev`` should be passed.
|
||||
+
|
||||
+ * To receive ingress and egress packets separately ``rx-dev`` and ``tx-dev``
|
||||
+ should both be passed with the different file names or the Linux iface names.
|
||||
+
|
||||
+ * To receive ingress and egress packets separately ``rx-dev`` and ``tx-dev``
|
||||
+ should both be passed with the same file names or the the Linux iface names.
|
||||
+
|
||||
+``ring-size``:
|
||||
+Size of the ring. This value is used internally for ring creation. The ring will be used to enqueue the packets from
|
||||
+the primary application to the secondary. This is an optional parameter with default size 16384.
|
||||
+
|
||||
+``mbuf-size``:
|
||||
+Size of the mbuf data. This is used internally for mempool creation. Ideally this value must be same as
|
||||
+the primary application's mempool's mbuf data size which is used for packet RX. This is an optional parameter with
|
||||
+default size 2176.
|
||||
+
|
||||
+``total-num-mbufs``:
|
||||
+Total number mbufs in mempool. This is used internally for mempool creation. This is an optional parameter with default
|
||||
+value 65535.
|
||||
+
|
||||
+
|
||||
+Example
|
||||
+-------
|
||||
+
|
||||
+.. code-block:: console
|
||||
+
|
||||
+ $ sudo ./build/app/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'
|
||||
diff --git a/doc/guides/tools/proc_info.rst b/doc/guides/tools/proc_info.rst
|
||||
new file mode 100644
|
||||
index 0000000..73f2195
|
||||
--- /dev/null
|
||||
+++ b/doc/guides/tools/proc_info.rst
|
||||
@@ -0,0 +1,71 @@
|
||||
+
|
||||
+.. BSD LICENSE
|
||||
+ Copyright(c) 2015 Intel Corporation. All rights reserved.
|
||||
+ All rights reserved.
|
||||
+
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions
|
||||
+ are met:
|
||||
+
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of Intel Corporation nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+
|
||||
+dpdk-procinfo Application
|
||||
+=========================
|
||||
+
|
||||
+The dpdk-procinfo application is a Data Plane Development Kit (DPDK) application
|
||||
+that runs as a DPDK secondary process and is capable of retrieving port
|
||||
+statistics, resetting port statistics and printing DPDK memory information.
|
||||
+This application extends the original functionality that was supported by
|
||||
+dump_cfg.
|
||||
+
|
||||
+Running the Application
|
||||
+-----------------------
|
||||
+The application has a number of command line options:
|
||||
+
|
||||
+.. code-block:: console
|
||||
+
|
||||
+ ./$(RTE_TARGET)/app/dpdk-procinfo -- -m | [-p PORTMASK] [--stats | --xstats |
|
||||
+ --stats-reset | --xstats-reset]
|
||||
+
|
||||
+Parameters
|
||||
+~~~~~~~~~~
|
||||
+**-p PORTMASK**: Hexadecimal bitmask of ports to configure.
|
||||
+
|
||||
+**--stats**
|
||||
+The stats parameter controls the printing of generic port statistics. If no
|
||||
+port mask is specified stats are printed for all DPDK ports.
|
||||
+
|
||||
+**--xstats**
|
||||
+The stats parameter controls the printing of extended port statistics. If no
|
||||
+port mask is specified xstats are printed for all DPDK ports.
|
||||
+
|
||||
+**--stats-reset**
|
||||
+The stats-reset parameter controls the resetting of generic port statistics. If
|
||||
+no port mask is specified, the generic stats are reset for all DPDK ports.
|
||||
+
|
||||
+**--xstats-reset**
|
||||
+The xstats-reset parameter controls the resetting of extended port statistics.
|
||||
+If no port mask is specified xstats are reset for all DPDK ports.
|
||||
+
|
||||
+**-m**: Print DPDK memory information.
|
|
@ -1,56 +0,0 @@
|
|||
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
|
||||
index cd6a4f7..55b6b2f 100644
|
||||
--- a/doc/guides/conf.py
|
||||
+++ b/doc/guides/conf.py
|
||||
@@ -105,6 +105,14 @@ class CustomLatexFormatter(LatexFormatter):
|
||||
# Replace the default latex formatter.
|
||||
PygmentsBridge.latex_formatter = CustomLatexFormatter
|
||||
|
||||
+# Configuration for man pages
|
||||
+man_pages = [("testpmd_app_ug/run_app", "testpmd",
|
||||
+ "tests for dpdk pmds", "", 1),
|
||||
+ ("tools/pdump", "dpdk-pdump",
|
||||
+ "enable packet capture on dpdk ports", "", 1),
|
||||
+ ("tools/proc_info", "dpdk-procinfo",
|
||||
+ "access dpdk port stats and memory info", "", 1)]
|
||||
+
|
||||
######## :numref: fallback ########
|
||||
# The following hook functions add some simple handling for the :numref:
|
||||
# directive for Sphinx versions prior to 1.3.1. The functions replace the
|
||||
diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
|
||||
index 9952f25..21d9bdf 100644
|
||||
--- a/mk/rte.sdkdoc.mk
|
||||
+++ b/mk/rte.sdkdoc.mk
|
||||
@@ -63,7 +63,7 @@ help:
|
||||
all: api-html guides-html guides-pdf
|
||||
|
||||
.PHONY: clean
|
||||
-clean: api-html-clean guides-html-clean guides-pdf-clean
|
||||
+clean: api-html-clean guides-html-clean guides-pdf-clean guides-man-clean
|
||||
|
||||
.PHONY: api-html
|
||||
api-html: api-html-clean
|
||||
diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
|
||||
index 5217063..533d369 100644
|
||||
--- a/mk/rte.sdkinstall.mk
|
||||
+++ b/mk/rte.sdkinstall.mk
|
||||
@@ -66,6 +66,7 @@ includedir ?= $(prefix)/include/dpdk
|
||||
datarootdir ?= $(prefix)/share
|
||||
docdir ?= $(datarootdir)/doc/dpdk
|
||||
datadir ?= $(datarootdir)/dpdk
|
||||
+mandir ?= $(datarootdir)/man
|
||||
sdkdir ?= $(datadir)
|
||||
targetdir ?= $(datadir)/$(RTE_TARGET)
|
||||
|
||||
@@ -133,6 +134,11 @@ install-runtime:
|
||||
$(DESTDIR)$(sbindir)/dpdk-devbind)
|
||||
$(Q)$(call rte_symlink, $(DESTDIR)$(datadir)/tools/dpdk-pmdinfo.py, \
|
||||
$(DESTDIR)$(bindir)/dpdk-pmdinfo)
|
||||
+ifneq ($(wildcard $O/doc/man/*/*.1),)
|
||||
+ $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir))
|
||||
+ $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)/man1)
|
||||
+ $(Q)cp -a $O/doc/man/*/*.1 $(DESTDIR)$(mandir)/man1
|
||||
+endif
|
||||
|
||||
install-kmod:
|
||||
ifneq ($(wildcard $O/kmod/*),)
|
|
@ -1,88 +0,0 @@
|
|||
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
|
||||
index 55b6b2f..c45c4be 100644
|
||||
--- a/doc/guides/conf.py
|
||||
+++ b/doc/guides/conf.py
|
||||
@@ -111,7 +111,9 @@ man_pages = [("testpmd_app_ug/run_app", "testpmd",
|
||||
("tools/pdump", "dpdk-pdump",
|
||||
"enable packet capture on dpdk ports", "", 1),
|
||||
("tools/proc_info", "dpdk-procinfo",
|
||||
- "access dpdk port stats and memory info", "", 1)]
|
||||
+ "access dpdk port stats and memory info", "", 1),
|
||||
+ ("tools/pmdinfo", "dpdk-pmdinfo",
|
||||
+ "dump a PMDs hardware support info", "", 1)]
|
||||
|
||||
######## :numref: fallback ########
|
||||
# The following hook functions add some simple handling for the :numref:
|
||||
diff --git a/doc/guides/tools/index.rst b/doc/guides/tools/index.rst
|
||||
index d7654a2..80f2115 100644
|
||||
--- a/doc/guides/tools/index.rst
|
||||
+++ b/doc/guides/tools/index.rst
|
||||
@@ -37,4 +37,5 @@ Tool User Guides
|
||||
|
||||
proc_info
|
||||
pdump
|
||||
+ pmdinfo
|
||||
|
||||
diff --git a/doc/guides/tools/pmdinfo.rst b/doc/guides/tools/pmdinfo.rst
|
||||
new file mode 100644
|
||||
index 0000000..a90c59f
|
||||
--- /dev/null
|
||||
+++ b/doc/guides/tools/pmdinfo.rst
|
||||
@@ -0,0 +1,57 @@
|
||||
+
|
||||
+.. BSD LICENSE
|
||||
+ Copyright(c) 2016 Canonical Limited. All rights reserved.
|
||||
+
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions
|
||||
+ are met:
|
||||
+
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of Intel Corporation nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+
|
||||
+dpdk-pmdinfo Application
|
||||
+========================
|
||||
+
|
||||
+The ``dpdk-pmdinfo`` tool is a Data Plane Development Kit (DPDK) utility that
|
||||
+can dump a PMDs hardware support info.
|
||||
+
|
||||
+
|
||||
+Running the Application
|
||||
+-----------------------
|
||||
+
|
||||
+The tool has a number of command line options:
|
||||
+
|
||||
+.. code-block:: console
|
||||
+
|
||||
+
|
||||
+ dpdk-pmdinfo [-hrtp] [-d <pci id file] <elf-file>
|
||||
+
|
||||
+ -h, --help Show a short help message and exit
|
||||
+ -r, --raw Dump as raw json strings
|
||||
+ -d FILE, --pcidb=FILE Specify a pci database to get vendor names from
|
||||
+ -t, --table Output information on hw support as a hex table
|
||||
+ -p, --plugindir Scan dpdk for autoload plugins
|
||||
+
|
||||
+.. Note::
|
||||
+
|
||||
+ * Parameters inside the square brackets represents optional parameters.
|
|
@ -1,190 +0,0 @@
|
|||
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
|
||||
index c45c4be..149bcdb 100644
|
||||
--- a/doc/guides/conf.py
|
||||
+++ b/doc/guides/conf.py
|
||||
@@ -113,7 +113,9 @@ man_pages = [("testpmd_app_ug/run_app", "testpmd",
|
||||
("tools/proc_info", "dpdk-procinfo",
|
||||
"access dpdk port stats and memory info", "", 1),
|
||||
("tools/pmdinfo", "dpdk-pmdinfo",
|
||||
- "dump a PMDs hardware support info", "", 1)]
|
||||
+ "dump a PMDs hardware support info", "", 1),
|
||||
+ ("tools/devbind", "dpdk-devbind",
|
||||
+ "check device status and bind/unbind them from drivers", "", 8)]
|
||||
|
||||
######## :numref: fallback ########
|
||||
# The following hook functions add some simple handling for the :numref:
|
||||
diff --git a/doc/guides/tools/devbind.rst b/doc/guides/tools/devbind.rst
|
||||
new file mode 100644
|
||||
index 0000000..18a8059
|
||||
--- /dev/null
|
||||
+++ b/doc/guides/tools/devbind.rst
|
||||
@@ -0,0 +1,143 @@
|
||||
+
|
||||
+.. BSD LICENSE
|
||||
+ Copyright(c) 2016 Canonical Limited. All rights reserved.
|
||||
+
|
||||
+ Redistribution and use in source and binary forms, with or without
|
||||
+ modification, are permitted provided that the following conditions
|
||||
+ are met:
|
||||
+
|
||||
+ * Redistributions of source code must retain the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+ * Redistributions in binary form must reproduce the above copyright
|
||||
+ notice, this list of conditions and the following disclaimer in
|
||||
+ the documentation and/or other materials provided with the
|
||||
+ distribution.
|
||||
+ * Neither the name of Intel Corporation nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived
|
||||
+ from this software without specific prior written permission.
|
||||
+
|
||||
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+
|
||||
+
|
||||
+dpdk-devbind Application
|
||||
+========================
|
||||
+
|
||||
+The ``dpdk-devbind`` tool is a Data Plane Development Kit (DPDK) tool that helps binding and unbinding devices from specific drivers.
|
||||
+As well as checking their status in that regard.
|
||||
+
|
||||
+
|
||||
+Running the Application
|
||||
+-----------------------
|
||||
+
|
||||
+The tool has a number of command line options:
|
||||
+
|
||||
+.. code-block:: console
|
||||
+
|
||||
+ dpdk-devbind [options] DEVICE1 DEVICE2 ....
|
||||
+
|
||||
+OPTIONS
|
||||
+-------
|
||||
+
|
||||
+* ``--help, --usage``
|
||||
+
|
||||
+ Display usage information and quit
|
||||
+
|
||||
+* ``-s, --status``
|
||||
+
|
||||
+ Print the current status of all known network interfaces.
|
||||
+ For each device, it displays the PCI domain, bus, slot and function,
|
||||
+ along with a text description of the device. Depending upon whether the
|
||||
+ device is being used by a kernel driver, the ``igb_uio`` driver, or no
|
||||
+ driver, other relevant information will be displayed:
|
||||
+ - the Linux interface name e.g. ``if=eth0``
|
||||
+ - the driver being used e.g. ``drv=igb_uio``
|
||||
+ - any suitable drivers not currently using that device e.g. ``unused=igb_uio``
|
||||
+ NOTE: if this flag is passed along with a bind/unbind option, the
|
||||
+ status display will always occur after the other operations have taken
|
||||
+ place.
|
||||
+
|
||||
+* ``-b driver, --bind=driver``
|
||||
+
|
||||
+ Select the driver to use or "none" to unbind the device
|
||||
+
|
||||
+* ``-u, --unbind``
|
||||
+
|
||||
+ Unbind a device (Equivalent to ``-b none``)
|
||||
+
|
||||
+* ``--force``
|
||||
+
|
||||
+ By default, devices which are used by Linux - as indicated by having
|
||||
+ routes in the routing table - cannot be modified. Using the ``--force``
|
||||
+ flag overrides this behavior, allowing active links to be forcibly
|
||||
+ unbound.
|
||||
+ WARNING: This can lead to loss of network connection and should be used
|
||||
+ with caution.
|
||||
+
|
||||
+
|
||||
+.. warning::
|
||||
+
|
||||
+ Due to the way VFIO works, there are certain limitations to which devices can be used with VFIO.
|
||||
+ Mainly it comes down to how IOMMU groups work.
|
||||
+ Any Virtual Function device can be used with VFIO on its own, but physical devices will require either all ports bound to VFIO,
|
||||
+ or some of them bound to VFIO while others not being bound to anything at all.
|
||||
+
|
||||
+ If your device is behind a PCI-to-PCI bridge, the bridge will then be part of the IOMMU group in which your device is in.
|
||||
+ Therefore, the bridge driver should also be unbound from the bridge PCI device for VFIO to work with devices behind the bridge.
|
||||
+
|
||||
+.. warning::
|
||||
+
|
||||
+ While any user can run the ``dpdk-devbind.py`` script to view the status of the network ports,
|
||||
+ binding or unbinding network ports requires root privileges.
|
||||
+
|
||||
+
|
||||
+Examples
|
||||
+--------
|
||||
+
|
||||
+To display current device status::
|
||||
+
|
||||
+ dpdk-devbind --status
|
||||
+
|
||||
+To bind eth1 from the current driver and move to use igb_uio::
|
||||
+
|
||||
+ dpdk-devbind --bind=igb_uio eth1
|
||||
+
|
||||
+To unbind 0000:01:00.0 from using any driver::
|
||||
+
|
||||
+ dpdk-devbind -u 0000:01:00.0
|
||||
+
|
||||
+To bind 0000:02:00.0 and 0000:02:00.1 to the ixgbe kernel driver::
|
||||
+
|
||||
+ dpdk-devbind -b ixgbe 02:00.0 02:00.1
|
||||
+
|
||||
+To check status of all network ports, assign one to the igb_uio driver and check status again::
|
||||
+
|
||||
+ # Check the status of the available devices.
|
||||
+ dpdk-devbind --status
|
||||
+ Network devices using DPDK-compatible driver
|
||||
+ ============================================
|
||||
+ <none>
|
||||
+
|
||||
+ Network devices using kernel driver
|
||||
+ ===================================
|
||||
+ 0000:0a:00.0 '82599ES 10-Gigabit' if=eth2 drv=ixgbe unused=
|
||||
+
|
||||
+
|
||||
+ # Bind the device to igb_uio.
|
||||
+ sudo dpdk-devbind -b igb_uio 0000:0a:00.0
|
||||
+
|
||||
+
|
||||
+ # Recheck the status of the devices.
|
||||
+ dpdk-devbind --status
|
||||
+ Network devices using DPDK-compatible driver
|
||||
+ ============================================
|
||||
+ 0000:0a:00.0 '82599ES 10-Gigabit' drv=igb_uio unused=
|
||||
diff --git a/doc/guides/tools/index.rst b/doc/guides/tools/index.rst
|
||||
index 80f2115..cbe98b2 100644
|
||||
--- a/doc/guides/tools/index.rst
|
||||
+++ b/doc/guides/tools/index.rst
|
||||
@@ -38,4 +38,5 @@ Tool User Guides
|
||||
proc_info
|
||||
pdump
|
||||
pmdinfo
|
||||
+ devbind
|
||||
|
||||
diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
|
||||
index 533d369..b1faf28 100644
|
||||
--- a/mk/rte.sdkinstall.mk
|
||||
+++ b/mk/rte.sdkinstall.mk
|
||||
@@ -139,6 +139,11 @@ ifneq ($(wildcard $O/doc/man/*/*.1),)
|
||||
$(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)/man1)
|
||||
$(Q)cp -a $O/doc/man/*/*.1 $(DESTDIR)$(mandir)/man1
|
||||
endif
|
||||
+ifneq ($(wildcard $O/doc/man/*/*.8),)
|
||||
+ $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir))
|
||||
+ $(Q)$(call rte_mkdir, $(DESTDIR)$(mandir)/man8)
|
||||
+ $(Q)cp -a $O/doc/man/*/*.8 $(DESTDIR)$(mandir)/man8
|
||||
+endif
|
||||
|
||||
install-kmod:
|
||||
ifneq ($(wildcard $O/kmod/*),)
|
|
@ -1,35 +0,0 @@
|
|||
Description: Linux kernel v4.8 removes macro DEFINE_PCI_DEVICE_TABLE
|
||||
|
||||
Linux: 7e9321599011 ("treewide: remove references to the now unnecessary
|
||||
DEFINE_PCI_DEVICE_TABLE")
|
||||
|
||||
Replaced macro with its value in kni ethtool drivers.
|
||||
|
||||
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
|
||||
|
||||
Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15717/
|
||||
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Last-Update: 2016-09-19
|
||||
|
||||
--- a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
|
||||
+++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
|
||||
@@ -76,7 +76,7 @@
|
||||
static const char igb_copyright[] =
|
||||
"Copyright (c) 2007-2013 Intel Corporation.";
|
||||
|
||||
-static DEFINE_PCI_DEVICE_TABLE(igb_pci_tbl) = {
|
||||
+const struct pci_device_id igb_pci_tbl[] = {
|
||||
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_BACKPLANE_1GBPS) },
|
||||
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_SGMII) },
|
||||
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_I354_BACKPLANE_2_5GBPS) },
|
||||
--- a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c
|
||||
+++ b/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c
|
||||
@@ -86,7 +86,7 @@
|
||||
* { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
|
||||
* Class, Class Mask, private data (not used) }
|
||||
*/
|
||||
-DEFINE_PCI_DEVICE_TABLE(ixgbe_pci_tbl) = {
|
||||
+const struct pci_device_id ixgbe_pci_tbl[] = {
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598)},
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_DUAL_PORT)},
|
||||
{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598AF_SINGLE_PORT)},
|
File diff suppressed because it is too large
Load Diff
|
@ -1,35 +0,0 @@
|
|||
Description: examples: fix unusual-interpreter v2
|
||||
|
||||
*Update in v2*
|
||||
- use #!/usr/bin/env python as usually recommended and suggested in the
|
||||
discussion
|
||||
|
||||
Due to regular lintian checks in Debian packaging it surfaced that these
|
||||
two scripts had a space in their #! statement which renders it to be
|
||||
human, but not shell readable.
|
||||
|
||||
Fixes: 8673a3e8 ("examples/ip_pipeline: add config diagram generator")
|
||||
Fixes: fa667b46 ("examples/ip_pipeline: add core mappings script")
|
||||
|
||||
This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
|
||||
|
||||
Forwarded: yes
|
||||
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Last-Update: 2016-08-02
|
||||
|
||||
--- a/examples/ip_pipeline/config/diagram-generator.py
|
||||
+++ b/examples/ip_pipeline/config/diagram-generator.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/python2
|
||||
+#!/usr/bin/env python
|
||||
|
||||
# BSD LICENSE
|
||||
#
|
||||
--- a/examples/ip_pipeline/config/pipeline-to-core-mapping.py
|
||||
+++ b/examples/ip_pipeline/config/pipeline-to-core-mapping.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/python2
|
||||
+#!/usr/bin/env python
|
||||
|
||||
# BSD LICENSE
|
||||
#
|
|
@ -1,371 +0,0 @@
|
|||
Description: eal: provide option to set vhost_user socket owner/permissions
|
||||
|
||||
The API doesn't hold a way to specify a owner/permission set for vhost_user
|
||||
created sockets.
|
||||
|
||||
Projects consuming DPDK started to do 'their own workarounds' like openvswitch
|
||||
https://patchwork.ozlabs.org/patch/559043/
|
||||
https://patchwork.ozlabs.org/patch/559045/
|
||||
But for this specific example they are blocked/stalled behind a bigger
|
||||
rework (https://patchwork.ozlabs.org/patch/604898/).
|
||||
|
||||
We need something now for existing code linking against DPDK. That implies to
|
||||
avoid changing API/ABI. So I created a DPDK EAL commandline option based ideas
|
||||
in the former patches.
|
||||
|
||||
Fixes LP: #1546565
|
||||
|
||||
*Update*
|
||||
- with the split libs it now nees to be listed in
|
||||
lib/librte_eal/linuxapp/eal/rte_eal_version.map to work on link steps
|
||||
- please note that upstream gravitates towards not extending but creating a
|
||||
new the API in DPDK as long term solution (will take a while)
|
||||
- also as listed before most affected projects seem to create their own
|
||||
workaround.
|
||||
So over time we have to check when we can drop it at the price of a config
|
||||
transition - likely OVS 2.6 won't need it anymore.
|
||||
|
||||
Forwarded: yes
|
||||
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Last-Update: 2016-09-28
|
||||
|
||||
diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst
|
||||
index 7712bd2..28776b9 100644
|
||||
--- a/doc/guides/testpmd_app_ug/run_app.rst
|
||||
+++ b/doc/guides/testpmd_app_ug/run_app.rst
|
||||
@@ -156,6 +156,25 @@ See the DPDK Getting Started Guides for more information on these options.
|
||||
|
||||
Use malloc instead of hugetlbfs.
|
||||
|
||||
+* ``--vhost-owner``
|
||||
+
|
||||
+ When creating vhost_user sockets change owner and group to the specified value.
|
||||
+ This can be given as ``user:group``, but also only ``user`` or ``:group`` are supported.
|
||||
+
|
||||
+ Examples::
|
||||
+
|
||||
+ --vhost-owner 'libvirt-qemu:kvm'
|
||||
+ --vhost-owner 'libvirt-qemu'
|
||||
+ --vhost-owner ':kvm'
|
||||
+
|
||||
+* ``--vhost-perm``
|
||||
+
|
||||
+ When creating vhost_user sockets set them up with these permissions.
|
||||
+
|
||||
+ For example::
|
||||
+
|
||||
+ --vhost-perm '0664'
|
||||
+
|
||||
|
||||
Testpmd Command-line Options
|
||||
----------------------------
|
||||
diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c
|
||||
index 481c732..2126140 100644
|
||||
--- a/lib/librte_eal/common/eal_common_options.c
|
||||
+++ b/lib/librte_eal/common/eal_common_options.c
|
||||
@@ -95,6 +95,8 @@ eal_long_options[] = {
|
||||
{OPT_VFIO_INTR, 1, NULL, OPT_VFIO_INTR_NUM },
|
||||
{OPT_VMWARE_TSC_MAP, 0, NULL, OPT_VMWARE_TSC_MAP_NUM },
|
||||
{OPT_XEN_DOM0, 0, NULL, OPT_XEN_DOM0_NUM },
|
||||
+ {OPT_VHOST_OWNER, 1, NULL, OPT_VHOST_OWNER_NUM },
|
||||
+ {OPT_VHOST_PERM, 1, NULL, OPT_VHOST_PERM_NUM },
|
||||
{0, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
@@ -166,6 +168,8 @@ eal_reset_internal_config(struct internal_config *internal_cfg)
|
||||
#endif
|
||||
internal_cfg->vmware_tsc_map = 0;
|
||||
internal_cfg->create_uio_dev = 0;
|
||||
+ internal_cfg->vhost_sock_owner = NULL;
|
||||
+ internal_cfg->vhost_sock_perm = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
diff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h
|
||||
index 5f1367e..bdf34e3 100644
|
||||
--- a/lib/librte_eal/common/eal_internal_cfg.h
|
||||
+++ b/lib/librte_eal/common/eal_internal_cfg.h
|
||||
@@ -83,6 +83,8 @@ struct internal_config {
|
||||
volatile enum rte_intr_mode vfio_intr_mode;
|
||||
const char *hugefile_prefix; /**< the base filename of hugetlbfs files */
|
||||
const char *hugepage_dir; /**< specific hugetlbfs directory to use */
|
||||
+ const char *vhost_sock_owner; /**< owner:group of vhost_user sockets */
|
||||
+ const char *vhost_sock_perm; /**< permissions of vhost_user sockets */
|
||||
|
||||
unsigned num_hugepage_sizes; /**< how many sizes on this system */
|
||||
struct hugepage_info hugepage_info[MAX_HUGEPAGE_SIZES];
|
||||
diff --git a/lib/librte_eal/common/eal_options.h b/lib/librte_eal/common/eal_options.h
|
||||
index a881c62..1161083 100644
|
||||
--- a/lib/librte_eal/common/eal_options.h
|
||||
+++ b/lib/librte_eal/common/eal_options.h
|
||||
@@ -83,6 +83,10 @@ enum {
|
||||
OPT_VMWARE_TSC_MAP_NUM,
|
||||
#define OPT_XEN_DOM0 "xen-dom0"
|
||||
OPT_XEN_DOM0_NUM,
|
||||
+#define OPT_VHOST_OWNER "vhost-owner"
|
||||
+ OPT_VHOST_OWNER_NUM,
|
||||
+#define OPT_VHOST_PERM "vhost-perm"
|
||||
+ OPT_VHOST_PERM_NUM,
|
||||
OPT_LONG_MAX_NUM
|
||||
};
|
||||
|
||||
diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h
|
||||
index a71d6f5..506cf24 100644
|
||||
--- a/lib/librte_eal/common/include/rte_eal.h
|
||||
+++ b/lib/librte_eal/common/include/rte_eal.h
|
||||
@@ -252,6 +252,11 @@ static inline int rte_gettid(void)
|
||||
return RTE_PER_LCORE(_thread_id);
|
||||
}
|
||||
|
||||
+/**
|
||||
+ * Set owner/permissions on sockets if requested on EAL commandline
|
||||
+ */
|
||||
+void rte_eal_set_socket_permissions(const char *);
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c
|
||||
index 3fb2188..dc84c5b 100644
|
||||
--- a/lib/librte_eal/linuxapp/eal/eal.c
|
||||
+++ b/lib/librte_eal/linuxapp/eal/eal.c
|
||||
@@ -53,6 +53,9 @@
|
||||
#if defined(RTE_ARCH_X86)
|
||||
#include <sys/io.h>
|
||||
#endif
|
||||
+#include <sys/types.h>
|
||||
+#include <pwd.h>
|
||||
+#include <grp.h>
|
||||
|
||||
#include <rte_common.h>
|
||||
#include <rte_debug.h>
|
||||
@@ -344,6 +347,8 @@ eal_usage(const char *prgname)
|
||||
" --"OPT_CREATE_UIO_DEV" Create /dev/uioX (usually done by hotplug)\n"
|
||||
" --"OPT_VFIO_INTR" Interrupt mode for VFIO (legacy|msi|msix)\n"
|
||||
" --"OPT_XEN_DOM0" Support running on Xen dom0 without hugetlbfs\n"
|
||||
+ " --"OPT_VHOST_OWNER" Create vhost-user sockets with this owner:group\n"
|
||||
+ " --"OPT_VHOST_PERM" Create vhost-user sockets with these permissions\n"
|
||||
"\n");
|
||||
/* Allow the application to print its usage message too if hook is set */
|
||||
if ( rte_application_usage_hook ) {
|
||||
@@ -601,6 +606,14 @@ eal_parse_args(int argc, char **argv)
|
||||
internal_config.create_uio_dev = 1;
|
||||
break;
|
||||
|
||||
+ case OPT_VHOST_OWNER_NUM:
|
||||
+ internal_config.vhost_sock_owner = optarg;
|
||||
+ break;
|
||||
+
|
||||
+ case OPT_VHOST_PERM_NUM:
|
||||
+ internal_config.vhost_sock_perm = optarg;
|
||||
+ break;
|
||||
+
|
||||
default:
|
||||
if (opt < OPT_LONG_MIN_NUM && isprint(opt)) {
|
||||
RTE_LOG(ERR, EAL, "Option %c is not supported "
|
||||
@@ -943,3 +956,172 @@ rte_eal_check_module(const char *module_name)
|
||||
/* Module has been found */
|
||||
return 1;
|
||||
}
|
||||
+
|
||||
+/* Try to double the size of '*buf', return true
|
||||
+ * if successful, and '*sizep' will be updated with
|
||||
+ * the new size. Otherwise, return false. */
|
||||
+static int
|
||||
+enlarge_buffer(char **buf, size_t *sizep)
|
||||
+{
|
||||
+ size_t newsize = *sizep * 2;
|
||||
+
|
||||
+ if (newsize > *sizep) {
|
||||
+ *buf = realloc(*buf, newsize);
|
||||
+ *sizep = newsize;
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+get_owners_from_str(const char *user_spec, uid_t *uid, gid_t *gid)
|
||||
+{
|
||||
+ size_t bufsize = 4096;
|
||||
+
|
||||
+ char *pos = strchr(user_spec, ':');
|
||||
+ user_spec += strspn(user_spec, " \t\r\n");
|
||||
+ size_t len = pos ? (size_t)(pos - user_spec) : strlen(user_spec);
|
||||
+
|
||||
+ char *buf = NULL;
|
||||
+ struct passwd pwd, *res;
|
||||
+ int e;
|
||||
+
|
||||
+ buf = malloc(bufsize);
|
||||
+ char *user_search = NULL;
|
||||
+ if (len) {
|
||||
+ user_search = malloc(len + 1);
|
||||
+ memcpy(user_search, user_spec, len);
|
||||
+ user_search[len] = '\0';
|
||||
+ while ((e = getpwnam_r(user_search, &pwd, buf, bufsize, &res)) == ERANGE) {
|
||||
+ if (!enlarge_buffer(&buf, &bufsize)) {
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (e != 0) {
|
||||
+ RTE_LOG(ERR, EAL,"Failed to retrive user %s's uid (%s), aborting.",
|
||||
+ user_search, strerror(e));
|
||||
+ goto release;
|
||||
+ }
|
||||
+ if (res == NULL) {
|
||||
+ RTE_LOG(ERR, EAL,"user %s not found, aborting.",
|
||||
+ user_search);
|
||||
+ e = -1;
|
||||
+ goto release;
|
||||
+ }
|
||||
+ } else {
|
||||
+ /* User name is not specified, use current user. */
|
||||
+ while ((e = getpwuid_r(getuid(), &pwd, buf, bufsize, &res)) == ERANGE) {
|
||||
+ if (!enlarge_buffer(&buf, &bufsize)) {
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (e != 0) {
|
||||
+ RTE_LOG(ERR, EAL,"Failed to retrive current user's uid "
|
||||
+ "(%s), aborting.", strerror(e));
|
||||
+ goto release;
|
||||
+ }
|
||||
+ user_search = strdup(pwd.pw_name);
|
||||
+ }
|
||||
+
|
||||
+ if (uid)
|
||||
+ *uid = pwd.pw_uid;
|
||||
+
|
||||
+ free(buf);
|
||||
+ buf = NULL;
|
||||
+
|
||||
+ if (pos) {
|
||||
+ char *grpstr = pos + 1;
|
||||
+ grpstr += strspn(grpstr, " \t\r\n");
|
||||
+
|
||||
+ if (*grpstr) {
|
||||
+ struct group grp, *res;
|
||||
+
|
||||
+ bufsize = 4096;
|
||||
+ buf = malloc(bufsize);
|
||||
+ while ((e = getgrnam_r(grpstr, &grp, buf, bufsize, &res))
|
||||
+ == ERANGE) {
|
||||
+ if (!enlarge_buffer(&buf, &bufsize)) {
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (e) {
|
||||
+ RTE_LOG(ERR, EAL,"Failed to get group entry for %s, "
|
||||
+ "(%s), aborting.", grpstr,
|
||||
+ strerror(e));
|
||||
+ goto release;
|
||||
+ }
|
||||
+ if (res == NULL) {
|
||||
+ RTE_LOG(ERR, EAL,"Group %s not found, aborting.",
|
||||
+ grpstr);
|
||||
+ e = -1;
|
||||
+ goto release;
|
||||
+ }
|
||||
+
|
||||
+ if (gid)
|
||||
+ *gid = grp.gr_gid;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ release:
|
||||
+ free(buf);
|
||||
+ free(user_search);
|
||||
+ return e;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+vhost_set_permissions(const char *vhost_sock_location)
|
||||
+{
|
||||
+ unsigned long int mode = strtoul(internal_config.vhost_sock_perm, NULL, 0);
|
||||
+ int err = chmod(vhost_sock_location, (mode_t)mode);
|
||||
+ if (err) {
|
||||
+ RTE_LOG(ERR, EAL,"vhost-user socket cannot set"
|
||||
+ " permissions to %s (%s).\n",
|
||||
+ internal_config.vhost_sock_perm, strerror(err));
|
||||
+ return;
|
||||
+ }
|
||||
+ RTE_LOG(INFO, EAL,"Socket %s changed permissions"
|
||||
+ " to %s\n", vhost_sock_location,
|
||||
+ internal_config.vhost_sock_perm);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+vhost_set_ownership(const char *vhost_sock_location)
|
||||
+{
|
||||
+ uid_t vhuid=0;
|
||||
+ gid_t vhgid=0;
|
||||
+
|
||||
+ if (get_owners_from_str(internal_config.vhost_sock_owner, &vhuid, &vhgid)) {
|
||||
+ RTE_LOG(ERR, EAL,"vhost-user socket unable to get"
|
||||
+ " specified user/group: %s\n",
|
||||
+ internal_config.vhost_sock_owner);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ int err = chown(vhost_sock_location, vhuid, vhgid);
|
||||
+ if (err) {
|
||||
+ RTE_LOG(ERR, EAL,"vhost-user socket unable to set"
|
||||
+ " ownership to %s (%s).\n",
|
||||
+ internal_config.vhost_sock_owner, strerror(err));
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ RTE_LOG(INFO, EAL,"Socket %s changed ownership"
|
||||
+ " to %s.\n", vhost_sock_location,
|
||||
+ internal_config.vhost_sock_owner);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+rte_eal_set_socket_permissions(const char *path)
|
||||
+{
|
||||
+ if (internal_config.vhost_sock_perm) {
|
||||
+ vhost_set_permissions(path);
|
||||
+ }
|
||||
+
|
||||
+ if (internal_config.vhost_sock_owner) {
|
||||
+ vhost_set_ownership(path);
|
||||
+ }
|
||||
+}
|
||||
diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
|
||||
index db8c984..bb92e57 100644
|
||||
--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
|
||||
+++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
|
||||
@@ -139,6 +139,7 @@ DPDK_2.2 {
|
||||
rte_keepalive_register_core;
|
||||
rte_xen_dom0_supported;
|
||||
rte_xen_mem_phy2mch;
|
||||
+ rte_eal_set_socket_permissions;
|
||||
|
||||
} DPDK_2.1;
|
||||
|
||||
diff --git a/lib/librte_vhost/vhost_user/vhost-net-user.c b/lib/librte_vhost/vhost_user/vhost-net-user.c
|
||||
index b35594d..dbdb8ad 100644
|
||||
--- a/lib/librte_vhost/vhost_user/vhost-net-user.c
|
||||
+++ b/lib/librte_vhost/vhost_user/vhost-net-user.c
|
||||
@@ -79,6 +79,8 @@ struct vhost_user {
|
||||
pthread_mutex_t mutex;
|
||||
};
|
||||
|
||||
+#include <rte_eal.h>
|
||||
+
|
||||
#define MAX_VIRTIO_BACKLOG 128
|
||||
|
||||
static void vhost_user_server_new_connection(int fd, void *data, int *remove);
|
||||
@@ -699,6 +701,7 @@
|
||||
vsocket->is_server = true;
|
||||
ret = vhost_user_create_server(vsocket);
|
||||
}
|
||||
+ rte_eal_set_socket_permissions(path);
|
||||
if (ret < 0) {
|
||||
free(vsocket->path);
|
||||
free(vsocket);
|
|
@ -1,86 +0,0 @@
|
|||
Description: scripts: make load-devel-config not to appear as executable
|
||||
|
||||
Quoting the first line of the script: "#! /bin/echo must be loaded with ."
|
||||
Given that we should drop the .sh file ending as well as the executable
|
||||
flag - both are not needed to source the file.
|
||||
|
||||
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
|
||||
Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15100/
|
||||
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Last-Update: 2016-08-03
|
||||
|
||||
--- a/MAINTAINERS
|
||||
+++ b/MAINTAINERS
|
||||
@@ -27,7 +27,7 @@
|
||||
F: scripts/check-maintainers.sh
|
||||
F: scripts/check-git-log.sh
|
||||
F: scripts/checkpatches.sh
|
||||
-F: scripts/load-devel-config.sh
|
||||
+F: scripts/load-devel-config
|
||||
F: scripts/test-build.sh
|
||||
|
||||
Stable Branches
|
||||
--- a/scripts/checkpatches.sh
|
||||
+++ b/scripts/checkpatches.sh
|
||||
@@ -33,7 +33,7 @@
|
||||
# Load config options:
|
||||
# - DPDK_CHECKPATCH_PATH
|
||||
# - DPDK_CHECKPATCH_LINE_LENGTH
|
||||
-. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
+. $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
length=${DPDK_CHECKPATCH_LINE_LENGTH:-80}
|
||||
|
||||
--- /dev/null
|
||||
+++ b/scripts/load-devel-config
|
||||
@@ -0,0 +1,12 @@
|
||||
+# Load DPDK devel config and allow override
|
||||
+# from system file
|
||||
+test ! -r /etc/dpdk/devel.config ||
|
||||
+ . /etc/dpdk/devel.config
|
||||
+# from user file
|
||||
+test ! -r ~/.config/dpdk/devel.config ||
|
||||
+ . ~/.config/dpdk/devel.config
|
||||
+# from local file
|
||||
+test ! -r $(dirname $(readlink -m $0))/../.develconfig ||
|
||||
+ . $(dirname $(readlink -m $0))/../.develconfig
|
||||
+
|
||||
+# The config files must export variables in the shell style
|
||||
--- a/scripts/load-devel-config.sh
|
||||
+++ /dev/null
|
||||
@@ -1,14 +0,0 @@
|
||||
-#! /bin/echo must be loaded with .
|
||||
-
|
||||
-# Load DPDK devel config and allow override
|
||||
-# from system file
|
||||
-test ! -r /etc/dpdk/devel.config ||
|
||||
- . /etc/dpdk/devel.config
|
||||
-# from user file
|
||||
-test ! -r ~/.config/dpdk/devel.config ||
|
||||
- . ~/.config/dpdk/devel.config
|
||||
-# from local file
|
||||
-test ! -r $(dirname $(readlink -m $0))/../.develconfig ||
|
||||
- . $(dirname $(readlink -m $0))/../.develconfig
|
||||
-
|
||||
-# The config files must export variables in the shell style
|
||||
--- a/scripts/test-build.sh
|
||||
+++ b/scripts/test-build.sh
|
||||
@@ -48,7 +48,7 @@
|
||||
# - DPDK_NOTIFY (notify-send)
|
||||
# - LIBSSO_SNOW3G_PATH
|
||||
# - LIBSSO_KASUMI_PATH
|
||||
-. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
+. $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
print_usage () {
|
||||
echo "usage: $(basename $0) [-h] [-jX] [-s] [config1 [config2] ...]]"
|
||||
@@ -211,7 +211,7 @@
|
||||
# reload config with DPDK_TARGET set
|
||||
DPDK_TARGET=$target
|
||||
reset_env
|
||||
- . $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
+ . $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
options=$(echo $conf | sed 's,[^~+]*,,')
|
||||
dir=$conf
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue