Add openssl PMD for 886150 23/10723/1
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 21 Feb 2018 11:36:27 +0000 (11:36 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 21 Feb 2018 11:37:30 +0000 (11:37 +0000)
Change-Id: Id24c32a8e595d55a5890caf638df509f5e4dbf4b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/control
debian/librte-pmd-openssl18.02.symbols [new file with mode: 0644]
debian/rules

index bae962b..03f8771 100644 (file)
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 9),
                libcap-dev,
                libpcap-dev,
                libnuma-dev,
+               libssl-dev,
                python3,
                python3-sphinx <!nodoc>,
                python3-sphinx-rtd-theme <!nodoc>,
@@ -642,6 +643,19 @@ Description: Data Plane Development Kit (librte-pmd-pcap runtime library)
  .
  This package contains the runtime libraries for librte_pmd_pcap.
 
+Package: librte-pmd-openssl18.02
+Architecture: amd64 arm64 i386 ppc64el
+Multi-Arch: same
+Homepage: https://dpdk.org/doc/guides/cryptodevs/openssl.html
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libdpdk0
+Description: Data Plane Development Kit (librte-pmd-openssl 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_openssl.
+
 Package: librte-pmd-ring18.02
 Architecture: amd64 arm64 i386 ppc64el
 Multi-Arch: same
diff --git a/debian/librte-pmd-openssl18.02.symbols b/debian/librte-pmd-openssl18.02.symbols
new file mode 100644 (file)
index 0000000..c93700b
--- /dev/null
@@ -0,0 +1,4 @@
+librte_pmd_openssl.so.18.02 librte-pmd-openssl18.02 #MINVER#
+ DPDK_16.11@DPDK_16.11 18.02
+# INFO: this library exports no symbols, essentially it is a driver that
+# registers itself on load and is then only driven by callbacks.
index 20780c9..945a634 100755 (executable)
@@ -183,6 +183,7 @@ ifeq (,$(filter dpdk_config=%,$(DEB_BUILD_OPTIONS)))
                -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1$(DPDK_CONFIG_BUILD_KMOD),' \
                -e 's,(LIBRTE_PMD_PCAP=).*,\1y,' \
                -e 's,(CONFIG_RTE_EAL_PMD_PATH=).*,\1"/usr/lib/$(DEB_HOST_MULTIARCH)/$(DPDK_DRIVER_DIR)/",' \
+               -e 's,(LIBRTE_PMD_OPENSSL=).*,\1y,' \
                $(DPDK_STATIC_DIR)/.config
 endif
        echo "CONFIG_RTE_MAJOR_ABI=\"$(DPDK_ABI)\"" >> \