This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9e8a966737201210ee784e48057d803e2cba3016 Mon Sep 17 00:00:00 2001 | |
From: Luca Boccassi <lboccass@brocade.com> | |
Date: Tue, 8 Nov 2016 15:34:05 +0000 | |
Subject: [PATCH] Header diff amd64 <> arm64 | |
--- | |
include/dpdk/rte_atomic.h | 194 +---------- | |
include/dpdk/rte_atomic_32.h | 220 ++---------- | |
include/dpdk/rte_atomic_64.h | 187 +++------- | |
include/dpdk/rte_byteorder.h | 92 ++--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./configure CFLAGS="-ggdb3 -O0" LDFLAGS="-ggdb3 -O0" --with-docs=no --enable-drafts=no --with-libsodium | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether UID '20266' is supported by ustar format... yes | |
checking whether GID '20266' is supported by ustar format... yes | |
checking how to create a ustar tar archive... gnutar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./configure CFLAGS="-ggdb3 -O0" LDFLAGS="-ggdb3 -O0" --with-docs=no --enable-drafts=no | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether UID '20266' is supported by ustar format... yes | |
checking whether GID '20266' is supported by ustar format... yes | |
checking how to create a ustar tar archive... gnutar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git remote add duzy https://github.com/duzy/libzmq.git | |
lboccass@BRA-6G85P12:~/git/libzmq (bump_version)$ git fetch duzy | |
remote: Counting objects: 8, done. | |
remote: Compressing objects: 100% (1/1), done. | |
remote: Total 8 (delta 7), reused 8 (delta 7), pack-reused 0 | |
Unpacking objects: 100% (8/8), done. | |
From https://github.com/duzy/libzmq | |
* [new branch] master -> duzy/master | |
* [new branch] revert-1183-size_fix -> duzy/revert-1183-size_fix | |
$ git cherry-pick duzy/master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Repotype: debian | |
Ignore: initscripts | |
Preinstall: user-setup | |
# required for preinstall images: [1/409] Can't locate Digest/MD5.pm in @INC | |
Preinstall: libperl5.24 | |
# preinstall debootstrap --foreign --variant=minbase --print-debs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zmq | |
import unittest | |
from unittest.mock import patch | |
from unittest.mock import MagicMock | |
class MockZmqSocket(MagicMock): | |
def __init__(self, **kwds): | |
super().__init__(**kwds) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "testutil.hpp" | |
#define PAYLOAD_SIZE 229139 | |
#define TERM_SIZE 41 | |
#define NUM_WORKERS 6 | |
#define NUM_ITERS 4 | |
#define NUM_TERMS NUM_WORKERS * NUM_ITERS | |
void worker_task (void *ep) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <string> | |
#include <iostream> | |
#include <zmq.h> | |
#include <string.h> | |
int main(int argc, char** argv) | |
{ | |
unsigned long max_nof_messages = 100; | |
std::string engine_uri = "tcp://127.0.0.1:5656"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/Makefile b/app/Makefile | |
index f7f5e2f..f837f43 100644 | |
--- a/app/Makefile | |
+++ b/app/Makefile | |
@@ -62,15 +62,15 @@ BUILD_TYPE := v17 | |
endif | |
ifeq ($(BUILD_TYPE),v17) | |
-COMMON_PRE := $(RTE_SRCDIR)/../lib/common | |
-LUA_PRE := $(RTE_SRCDIR)/../lib/lua/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <zmq.h> | |
void freen(void *data, void *hint){ | |
free(data); | |
} |
OlderNewer