aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk_priv.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-01-20 02:02:51 +0100
committerDamjan Marion <dmarion@me.com>2019-01-20 22:59:03 +0000
commita5c308e68d5578e5d75327619e30d73a95abb1a5 (patch)
treea1d6c591b886bfa15dcce966718e4a7faaf5378a /src/plugins/dpdk/device/dpdk_priv.h
parent3235382f23074e7f5b413b862f8cfed37142dbcd (diff)
dpdk: add buffer.h
Change-Id: I998658ad7860b23425444e218ce2e1ec655b885a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk_priv.h')
-rw-r--r--src/plugins/dpdk/device/dpdk_priv.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/dpdk_priv.h b/src/plugins/dpdk/device/dpdk_priv.h
index b44cd49142c..1956cca19c3 100644
--- a/src/plugins/dpdk/device/dpdk_priv.h
+++ b/src/plugins/dpdk/device/dpdk_priv.h
@@ -13,9 +13,6 @@
* limitations under the License.
*/
-#define rte_mbuf_from_vlib_buffer(x) (((struct rte_mbuf *)x) - 1)
-#define vlib_buffer_from_rte_mbuf(x) ((vlib_buffer_t *)(x+1))
-
#define DPDK_NB_RX_DESC_DEFAULT 1024
#define DPDK_NB_TX_DESC_DEFAULT 1024
#define DPDK_NB_RX_DESC_VIRTIO 256