From: x-fn-spp@sl.ntt-tx.co.jp
To: spp@dpdk.org
Subject: [spp] [PATCH 13/57] spp_vf: refactor command acceptance/decode
Date: Thu, 28 Dec 2017 13:55:20 +0900 [thread overview]
Message-ID: <201712280456.vBS4u5Od010973@imss03.silk.ntt-tx.co.jp> (raw)
In-Reply-To: <4aae78ff-3b6c-cdfe-a8b7-24ec08b73935@lab.ntt.co.jp>
From: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>
* Add/Refactor comment and log.
* Add error handling.
* Add strict check(MAC address, iface string).
* Refactor json->internal-structure converting.
Signed-off-by: Daiki Yamashita <yamashita.daiki.z01@as.ntt-tx.co.jp>
Signed-off-by: Yasufum Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/vf/command_proc.c | 300 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 210 insertions(+), 90 deletions(-)
diff --git a/src/vf/command_proc.c b/src/vf/command_proc.c
index d203857..d8e7fd1 100644
--- a/src/vf/command_proc.c
+++ b/src/vf/command_proc.c
@@ -16,19 +16,25 @@
#include "spp_config.h"
#include "command_proc.h"
-
#define RTE_LOGTYPE_SPP_COMMAND_PROC RTE_LOGTYPE_USER1
-////////////////////////////////////////////////////////////////////////////////
-
+/*******************************************************************************
+ *
+ * operate connection with controller
+ *
+ ******************************************************************************/
+/* receive message buffer size */
#define MESSAGE_BUFFER_BLOCK_SIZE 512
+/* controller's ip address */
static char g_controller_ip[128] = "";
+
+/* controller's port number */
static int g_controller_port = 0;
-/* */
+/* allocate message buffer */
inline char*
msgbuf_allocate(size_t capacity)
{
@@ -41,7 +47,7 @@ msgbuf_allocate(size_t capacity)
return buf + sizeof(size_t);
}
-/* */
+/* free message buffer */
inline void
msgbuf_free(char* msgbuf)
{
@@ -49,14 +55,14 @@ msgbuf_free(char* msgbuf)
free(msgbuf - sizeof(size_t));
}
-/* */
+/* get message buffer capacity */
inline size_t
msgbuf_get_capacity(const char *msgbuf)
{
return *((const size_t *)(msgbuf - sizeof(size_t)));
}
-/* */
+/* re-allocate message buffer */
inline char*
msgbuf_reallocate(char *msgbuf, size_t required_len)
{
@@ -76,7 +82,7 @@ msgbuf_reallocate(char *msgbuf, size_t required_len)
return new_msgbuf;
}
-/* */
+/* append message to buffer */
inline char*
msgbuf_append(char *msgbuf, const char *append, size_t append_len)
{
@@ -96,7 +102,7 @@ msgbuf_append(char *msgbuf, const char *append, size_t append_len)
return new_msgbuf;
}
-/* */
+/* remove message from front */
inline char*
msgbuf_remove_front(char *msgbuf, size_t remove_len)
{
@@ -111,7 +117,7 @@ msgbuf_remove_front(char *msgbuf, size_t remove_len)
return memmove(msgbuf, msgbuf + remove_len, new_len + 1);
}
-/* */
+/* connect to controller */
static int
connect_to_controller(int *sock)
{
@@ -122,7 +128,9 @@ connect_to_controller(int *sock)
if (likely(*sock >=0))
return 0;
+ /* create socket */
if (*sock < 0) {
+ RTE_LOG(INFO, SPP_COMMAND_PROC, "Creating socket...\n");
*sock = socket(AF_INET, SOCK_STREAM, 0);
if (*sock < 0) {
RTE_LOG(ERR, SPP_COMMAND_PROC,
@@ -136,6 +144,8 @@ connect_to_controller(int *sock)
controller_addr.sin_port = htons(g_controller_port);
}
+ /* connect to */
+ RTE_LOG(INFO, SPP_COMMAND_PROC, "Trying to connect ... socket=%d\n", *sock);
ret = connect(*sock, (struct sockaddr *)&controller_addr,
sizeof(controller_addr));
if (ret < 0) {
@@ -144,15 +154,18 @@ connect_to_controller(int *sock)
return -1;
}
+ RTE_LOG(INFO, SPP_COMMAND_PROC, "Connected\n");
+
+ /* set non-blocking */
sock_flg = fcntl(*sock, F_GETFL, 0);
fcntl(*sock, F_SETFL, sock_flg | O_NONBLOCK);
return 0;
}
-/* */
+/* receive message */
static int
-receive_request(int *sock, char **msgbuf)
+receive_message(int *sock, char **msgbuf)
{
int ret = -1;
int n_rx = 0;
@@ -162,16 +175,23 @@ receive_request(int *sock, char **msgbuf)
size_t rx_buf_sz = MESSAGE_BUFFER_BLOCK_SIZE;
ret = recv(*sock, rx_buf, rx_buf_sz, 0);
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Receive message. count=%d\n", ret);
if (ret <= 0) {
if (ret == 0) {
-
- } else {
- if (errno != EAGAIN && errno != EWOULDBLOCK) {
- RTE_LOG(ERR, SPP_COMMAND_PROC,
- "Cannot receive from socket. errno=%d\n", errno);
- }
+ RTE_LOG(INFO, SPP_COMMAND_PROC,
+ "Controller has performed an shutdown.");
+ } else if (errno == EAGAIN || errno == EWOULDBLOCK) {
+ /* no receive message */
return 0;
+ } else {
+ RTE_LOG(ERR, SPP_COMMAND_PROC,
+ "Receive failure. errno=%d\n", errno);
}
+
+ RTE_LOG(INFO, SPP_COMMAND_PROC, "Assume Server closed connection\n");
+ close(*sock);
+ *sock = -1;
+ return -1;
}
n_rx = ret;
@@ -186,14 +206,27 @@ receive_request(int *sock, char **msgbuf)
return n_rx;
}
-/* */
+/* send message */
static int
-send_response(void)
+send_message(int *sock, const char* message, size_t message_len)
{
+ int ret = -1;
+
+ ret = send(*sock, message, message_len, 0);
+ if (unlikely(ret == -1)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Send failure. ret=%d\n", ret);
+ return -1;
+ }
+
return 0;
}
-////////////////////////////////////////////////////////////////////////////////
+
+/*******************************************************************************
+ *
+ * process command request(json string)
+ *
+ ******************************************************************************/
#define CMD_MAX_COMMANDS 32
@@ -201,9 +234,21 @@ send_response(void)
#define CMD_CLASSIFIER_TABLE_VALUE_BUFSZ 62
+#define CMD_UNUSE "unuse"
+
#define component_type spp_core_type
-/* command type */
+/* decode error code */
+enum decode_error_code {
+ DERR_BAD_FORMAT = 1,
+ DERR_UNKNOWN_COMMAND,
+ DERR_NO_PARAM,
+ DERR_BAD_TYPE,
+ DERR_BAD_VALUE,
+};
+
+/* command type
+ do it same as the order of COMMAND_TYPE_STRINGS */
enum command_type {
CMDTYPE_ADD,
CMDTYPE_COMPONENT,
@@ -215,7 +260,8 @@ enum command_type {
CMDTYPE_PROCESS,
};
-/* command type string list */
+/* command type string list
+ do it same as the order of enum command_type */
static const char *COMMAND_TYPE_STRINGS[] = {
"add",
"component",
@@ -227,20 +273,19 @@ static const char *COMMAND_TYPE_STRINGS[] = {
/* termination */ "",
};
-/* classifier type */
-enum classifier_type {
- CLASSIFIERTYPE_MAC,
-};
-
-/* classifier type string list */
+/* classifier type string list
+ do it same as the order of enum spp_classifier_type (spp_vf.h) */
static const char *CLASSIFILER_TYPE_STRINGS[] = {
+ "none",
"mac",
/* termination */ "",
};
+#if 0 /* not supported */
/* "add" command parameters */
struct add_command {
+ int num_port;
struct spp_config_port_info ports[RTE_MAX_ETHPORTS];
};
@@ -248,32 +293,36 @@ struct add_command {
struct component_command {
enum component_type type;
unsigned int core_id;
+ int num_rx_port;
+ int num_tx_port;
struct spp_config_port_info rx_ports[RTE_MAX_ETHPORTS];
struct spp_config_port_info tx_ports[RTE_MAX_ETHPORTS];
};
+#endif
/* "classifier_table" command specific parameters */
struct classifier_table_command {
- enum classifier_type type;
+ enum spp_classifier_type type;
char value[CMD_CLASSIFIER_TABLE_VALUE_BUFSZ];
struct spp_config_port_info port;
};
-#if 0
/* "flush" command specific parameters */
struct flush_command {
/* nothing specific */
};
-#endif
/* command parameters */
struct command {
enum command_type type;
union {
+#if 0 /* not supported */
struct add_command add;
struct component_command component;
+#endif
struct classifier_table_command classifier_table;
+ struct flush_command flush;
} spec;
};
@@ -296,16 +345,13 @@ struct json_value_decode_rule {
json_type json_type;
size_t offset;
json_value_decode_proc decode_proc;
-#if 0
- union {
- size_t buf_sz;
- } spec;
- json_type sub_json_type;
- const struct json_value_decode_rule *sub_rules;
-#endif
- size_t sub_offset;
- size_t sub_offset_num;
+ struct {
+ json_type json_type;
+ size_t element_sz;
+ size_t offset_num;
+ size_t offset_num_valid;
+ } array;
};
/* get output address for decoded json value */
@@ -340,8 +386,9 @@ decode_##proc_name##_value(void *output, const json_t *value_obj, \
DECODE_ENUM_VALUE(command_type, enum command_type, COMMAND_TYPE_STRINGS)
/* enum value decode procedure for "classifier_type" */
-DECODE_ENUM_VALUE(classifier_type, enum classifier_type, CLASSIFILER_TYPE_STRINGS)
+DECODE_ENUM_VALUE(classifier_type, enum spp_classifier_type, CLASSIFILER_TYPE_STRINGS)
+#if 0 /* not supported */
/* decode procedure for integer */
static int
decode_int_value(void *output, const json_t *value_obj,
@@ -359,14 +406,27 @@ decode_string_value(void *output, const json_t *value_obj,
__rte_unused const struct json_value_decode_rule *rule)
{
const char* str_val = json_string_value(value_obj);
-#if 0
- size_t len = strlen(str_val);
- if (unlikely(len >= rule->spec.buf_sz)) {
- RTE_LOG(ERR, SPP_COMMAND_PROC, "Invalid json value. "
- "name=%s\n", rule->name);
- return -1;
- }
+ strcpy(output, str_val);
+
+ return 0;
+}
#endif
+
+/* decode procedure for mac address string */
+static int
+decode_mac_addr_str_value(void *output, const json_t *value_obj,
+ __rte_unused const struct json_value_decode_rule *rule)
+{
+ int ret = -1;
+ const char* str_val = json_string_value(value_obj);
+
+ ret = spp_config_change_mac_str_to_int64(str_val);
+ if (unlikely(ret == -1)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad mac address string. val=%s\n",
+ str_val);
+ return DERR_BAD_VALUE;
+ }
+
strcpy(output, str_val);
return 0;
@@ -378,13 +438,20 @@ decode_port_value(void *output, const json_t *value_obj,
__rte_unused const struct json_value_decode_rule *rule)
{
int ret = -1;
+ const char* str_val = json_string_value(value_obj);
struct spp_config_port_info *port = (struct spp_config_port_info *)output;
- const char* str_val = json_string_value(value_obj);
+ if (strcmp(str_val, CMD_UNUSE) == 0) {
+ port->if_type = UNDEF;
+ port->if_no = 0;
+ return 0;
+ }
ret = spp_config_get_if_info(str_val, &port->if_type, &port->if_no);
- if (unlikely(ret != 0))
- return -1;
+ if (unlikely(ret != 0)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad port. val=%s\n", str_val);
+ return DERR_BAD_VALUE;
+ }
return 0;
}
@@ -405,25 +472,56 @@ decode_json_object(void *output, const json_t *parent_obj,
for (i = 0; unlikely(! IS_END_OF_DECODE_RULE(&rules[i])); ++ i) {
rule = rules + 1;
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "get one object. name=%s\n",
+ rule->name);
+
value_obj = json_object_get(parent_obj, rule->name);
- if (unlikely(value_obj == NULL) ||
- unlikely(json_typeof(value_obj) != rule->json_type)) {
- RTE_LOG(ERR, SPP_COMMAND_PROC, "Invalid json value. "
+ if (unlikely(value_obj == NULL)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "No parameter. "
"name=%s\n", rule->name);
- return -1;
+ return DERR_NO_PARAM;
+ } else if (unlikely(json_typeof(value_obj) != rule->json_type)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad value type. "
+ "name=%s\n", rule->name);
+ return DERR_BAD_TYPE;
}
switch (rule->json_type) {
case JSON_ARRAY:
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Decode array. num=%lu\n",
+ json_array_size(value_obj));
+
+ *(int *)((char *)output + rule->array.offset_num) =
+ (int)json_array_size(value_obj);
+
json_array_foreach(value_obj, n, obj) {
- sub_output = DR_GET_OUTPUT(output, rule) + (rule->sub_offset * i);
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Decode array element. "
+ "index=%d\n", i);
+
+ if (unlikely(json_typeof(obj) != rule->array.json_type)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad value type. "
+ "name=%s, index=%d\n", rule->name, i);
+ return DERR_BAD_TYPE;
+ }
+
+ sub_output = DR_GET_OUTPUT(output, rule) +
+ (rule->array.element_sz * i);
ret = (*rule->decode_proc)(sub_output, obj, rule);
+ if (unlikely(ret != 0)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad value. "
+ "name=%s, index=%d\n", rule->name, i);
+ return ret;
+ }
}
- *(int *)((char *)output + rule->sub_offset_num) = n;
break;
default:
sub_output = DR_GET_OUTPUT(output, rule);
ret = (*rule->decode_proc)(sub_output, value_obj, rule);
+ if (unlikely(ret != 0)) {
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad value. "
+ "name=%s\n", rule->name);
+ return ret;
+ }
break;
}
}
@@ -431,7 +529,7 @@ decode_json_object(void *output, const json_t *parent_obj,
return 0;
}
-/* */
+/* decode rule for command-base */
const struct json_value_decode_rule DECODERULE_COMMAND_BASE[] = {
{
.name = "command",
@@ -442,20 +540,24 @@ const struct json_value_decode_rule DECODERULE_COMMAND_BASE[] = {
END_OF_DECODE_RULE
};
-/* */
+#if 0 /* not supported */
+/* decode rule for add-command-spec */
const struct json_value_decode_rule DECODERULE_ADD_COMMAND[] = {
{
.name = "ports",
.json_type = JSON_ARRAY,
.offset = offsetof(struct add_command, ports),
.decode_proc = decode_port_value,
-// .sub_json_type = JSON_STRING,
- .sub_offset = sizeof(struct spp_config_port_info),
+
+ .array.element_sz = sizeof(struct spp_config_port_info),
+ .array.json_type = JSON_STRING,
+ .array.offset_num = offsetof(struct add_command, num_port),
},
END_OF_DECODE_RULE
};
+#endif
-/* */
+/* decode rule for classifier-table-command-spec */
const struct json_value_decode_rule DECODERULE_CLASSIFIER_TABLE_COMMAND[] = {
{
.name = "type",
@@ -466,7 +568,7 @@ const struct json_value_decode_rule DECODERULE_CLASSIFIER_TABLE_COMMAND[] = {
.name = "value",
.json_type = JSON_STRING,
.offset = offsetof(struct classifier_table_command, value),
- .decode_proc = decode_string_value,
+ .decode_proc = decode_mac_addr_str_value,
},{
.name = "port",
.json_type = JSON_STRING,
@@ -476,7 +578,7 @@ const struct json_value_decode_rule DECODERULE_CLASSIFIER_TABLE_COMMAND[] = {
END_OF_DECODE_RULE
};
-/* */
+/* decode procedure for command */
static int
decode_command_object(void* output, const json_t *parent_obj,
__rte_unused const struct json_value_decode_rule *rule)
@@ -485,52 +587,58 @@ decode_command_object(void* output, const json_t *parent_obj,
struct command *command = (struct command *)output;
const struct json_value_decode_rule *spec_rules = NULL;
- /* decode command base */
+ /* decode command-base */
ret = decode_json_object(command, parent_obj, DECODERULE_COMMAND_BASE);
if (unlikely(ret != 0)) {
- // TODO:コマンドがデコード失敗
- return -1;
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad command. ret=%d\n", ret);
+ return ret;
}
- /* decode command specific */
+ /* decode command-specific */
switch (command->type) {
case CMDTYPE_CLASSIFIER_TABLE:
spec_rules = DECODERULE_CLASSIFIER_TABLE_COMMAND;
break;
case CMDTYPE_FLUSH:
+ /* nothing specific */
break;
default:
- break;
+ /* unknown command */
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Unknown command. type=%d\n",
+ command->type);
+ return DERR_UNKNOWN_COMMAND;
}
if (likely(spec_rules != NULL)) {
ret = decode_json_object(&command->spec, parent_obj, spec_rules);
if (unlikely(ret != 0)) {
- // TODO:コマンドがデコード失敗
- return -1;
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Bad command. ret=%d\n", ret);
+ return ret;
}
}
return 0;
}
-/* */
+/* decode rule for command request */
const struct json_value_decode_rule DECODERULE_REQUEST[] = {
{
.name = "commands",
.json_type = JSON_ARRAY,
.offset = offsetof(struct request, commands),
.decode_proc = decode_command_object,
-// .sub_json_type = JSON_OBJECT,
- .sub_offset = sizeof(struct command),
- .sub_offset_num = offsetof(struct request, num_command),
+
+ .array.element_sz = sizeof(struct command),
+ .array.json_type = JSON_OBJECT,
+ .array.offset_num = offsetof(struct request, num_command),
+ .array.offset_num_valid = offsetof(struct request, num_valid_command),
},
END_OF_DECODE_RULE
};
-/* */
+/* decode request from no-null-terminated string */
static int
decode_request(struct request *request, const char *request_str, size_t request_str_len)
{
@@ -544,7 +652,7 @@ decode_request(struct request *request, const char *request_str, size_t request_
RTE_LOG(ERR, SPP_COMMAND_PROC, "Cannot parse command request. "
"error=%s, request_str=%.*s\n",
json_error.text, (int)request_str_len, request_str);
- return -1;
+ return DERR_BAD_FORMAT;
}
/* decode request object */
@@ -553,13 +661,13 @@ decode_request(struct request *request, const char *request_str, size_t request_
RTE_LOG(ERR, SPP_COMMAND_PROC, "Cannot decode command request. "
"ret=%d, request_str=%.*s\n",
ret, (int)request_str_len, request_str);
- return -1;
+ return ret;
}
return 0;
}
-/* */
+/* execute one command */
static int
execute_command(const struct command *command)
{
@@ -567,29 +675,33 @@ execute_command(const struct command *command)
switch (command->type) {
case CMDTYPE_CLASSIFIER_TABLE:
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Execute classifier_table command.");
ret = spp_update_classifier_table(
- SPP_CLASSIFIER_TYPE_MAC,
-// command->spec.classifier_table.type,
+ command->spec.classifier_table.type,
command->spec.classifier_table.value,
&command->spec.classifier_table.port);
break;
case CMDTYPE_FLUSH:
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Execute flush command.");
ret = spp_flush();
break;
case CMDTYPE_PROCESS:
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Execute process command.");
+ ret = spp_get_process_id();
break;
default:
+ RTE_LOG(ERR, SPP_COMMAND_PROC, "Unknown command. type=%d\n", command->type);
ret = 0;
break;
}
- return 0;
+ return ret;
}
-/* */
+/* process command request from no-null-terminated string */
static int
process_request(const char *request_str, size_t request_str_len)
{
@@ -597,20 +709,28 @@ process_request(const char *request_str, size_t request_str_len)
int i;
struct request request;
+ memset(&request, 0, sizeof(struct request));
- RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Receive command request. "
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Start command request processing. "
"request_str=%.*s\n", (int)request_str_len, request_str);
- memset(&request, 0, sizeof(struct request));
-
ret = decode_request(&request, request_str, request_str_len);
- if (unlikely(ret != 0))
- return -1;
+ if (unlikely(ret != 0)) {
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Failed to process command request. "
+ "ret=%d\n", ret);
+ return ret;
+ }
+
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Decoded command request. "
+ "num_command=%d, num_valid_command=%d\n",
+ request.num_command, request.num_valid_command);
for (i = 0; i < request.num_command ; ++i) {
ret = execute_command(request.commands + i);
}
+ RTE_LOG(DEBUG, SPP_COMMAND_PROC, "Succeeded to process command request.\n");
+
return 0;
}
@@ -645,7 +765,7 @@ spp_command_proc_do(void)
if (unlikely(ret != 0))
return;
- ret = receive_request(&sock, &msgbuf);
+ ret = receive_message(&sock, &msgbuf);
if (likely(ret == 0)) {
return;
}
--
1.9.1
next prev parent reply other threads:[~2017-12-28 4:56 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-25 4:41 [spp] Proposal - spp_vf(SR-IOV like feature) addition to SPP Nakamura Hioryuki
2017-12-26 1:54 ` Yasufumi Ogawa
2017-12-28 4:55 ` [spp] [PATCH 01/57] spp_vf: add vf functions x-fn-spp
2017-12-28 8:49 ` Yasufumi Ogawa
2017-12-28 4:55 ` [spp] [PATCH 02/57] spp_vf: support multi process x-fn-spp
2018-02-07 16:50 ` Ferruh Yigit
2018-02-08 1:21 ` Yasufumi Ogawa
2018-02-08 6:44 ` [spp] [spp 02168] " Nakamura Hioryuki
2017-12-28 4:55 ` [spp] [PATCH 03/57] spp_vf: comment out check of using cores x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 04/57] spp_vf: modify classifier for upd command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 05/57] spp_vf: add procedure that mac address is null x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 06/57] spp_vf: change config format for upd command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 07/57] spp_vf: fix compiler warning in classifier_mac.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 08/57] spp_vf: modify data struct for upd command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 09/57] spp_vf: add functions of command acceptance x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 10/57] spp_vf: add command acceptance calling x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 11/57] spp_vf: fix compiler warning in command_proc.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 12/57] " x-fn-spp
2017-12-28 4:55 ` x-fn-spp [this message]
2017-12-28 4:55 ` [spp] [PATCH 14/57] spp_vf: fix return value overwrite problem x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 15/57] spp_vf: initialize message buffer x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 16/57] spp_vf: add const keyword to parameter x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 17/57] spp_vf: fix wrong comparison operator x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 18/57] spp_vf: fix wrong variable to be assigned x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 19/57] spp_vf: refactor parsing server ip address x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 20/57] spp_vf: fix error in command decode x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 21/57] spp_vf: fix comparison operator in spp_vf.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 22/57] spp_vf: check upper limit to the number of process x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 23/57] spp_vf: display usage message x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 24/57] spp_vf: split command processing source file x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 25/57] spp_vf: add new log and line break x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 26/57] spp_vf: support get-process-id command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 27/57] spp_vf: update socket creation procedure x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 28/57] spp_vf: change log level and add line break x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 29/57] spp_vf: replace unsupported jansson api x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 30/57] spp_vf: change order of command result in json object x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 31/57] spp_vf: use prediction keywords x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 32/57] spp_vf: fix wrong comparison x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 33/57] spp_vf: update sending error status x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 34/57] spp_vf: modify conditional statement x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 35/57] spp_vf: add proc on receiving l2 multicast x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 36/57] spp_vf: extend limit on number of usable cores x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 37/57] spp_vf: add restart procedure for vhost client x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 38/57] spp_vf: fix classifier mbuf handling x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 39/57] spp_vf: add status command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 40/57] spp_vf: add output source information in error log x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 41/57] spp_vf: change function names x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 42/57] spp_vf: change how to request commands x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 43/57] spp_vf: update command decode procedure x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 44/57] spp_vf: remove debug log output procedures x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 45/57] spp_vf: improve command_decoder program code x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 46/57] spp_vf: fix a bug in status command x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 47/57] spp_vf: add spp_vf.py instead of spp.py x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 48/57] spp_vf: refactor for commnets in spp_vf.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 49/57] spp_vf: refactor comments in classifier_mac.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 50/57] spp_vf: refactor comments in spp_forward.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 51/57] spp_vf: refactor for commnets in spp_config.c x-fn-spp
2017-12-28 4:55 ` [spp] [PATCH 52/57] spp_vf: refactor no self-explanatory comments x-fn-spp
2017-12-28 4:56 ` [spp] [PATCH 53/57] spp_vf: correct typo of function name x-fn-spp
2017-12-28 4:56 ` [spp] [PATCH 54/57] spp_vf: support new command x-fn-spp
2017-12-28 4:56 ` [spp] [PATCH 55/57] spp_vf: add display of status command x-fn-spp
2017-12-28 4:56 ` [spp] [PATCH 56/57] spp_vf: fix " x-fn-spp
2017-12-28 4:56 ` [spp] [PATCH 57/57] spp_vf: fix l2 multicast packet forwarding x-fn-spp
2018-01-15 11:04 ` [spp] Proposal - spp_vf(SR-IOV like feature) addition to SPP Ferruh Yigit
2018-01-16 5:16 ` [spp] [PATCH 01/30] doc: add setup guide x-fn-spp
2018-01-19 0:52 ` Yasufumi Ogawa
2018-01-22 14:37 ` Ferruh Yigit
2018-01-23 0:25 ` Yasufumi Ogawa
2018-01-16 5:16 ` [spp] [PATCH 02/30] doc: add how_to_use.md x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 03/30] doc: add config_manual.md x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 04/30] doc: add spp_vf.md x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 05/30] doc: revise spp_vf.md x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 06/30] doc: add config section x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 07/30] doc: update jp setup manual x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 08/30] doc: modify figure in spp_vf_overview x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 09/30] doc: fix " x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 10/30] doc: fix figure in overview x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 11/30] doc: add sample usage x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 12/30] doc: revice path descs x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 13/30] doc: add network configuration diagram x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 14/30] doc: update user account x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 15/30] doc: update descriptions for todo x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 16/30] doc: add description for explanation section x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 17/30] doc: add spp_sample_usage_svg in docs/spp_vf/ x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 18/30] doc: add explanation for terminating spp app x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 19/30] doc: add explanations on options of spp x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 20/30] doc: update description for the latest spp version x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 21/30] doc: update description on dpdk version x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 22/30] doc: fix vm setup procedure for network config x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 23/30] doc: update jansson installation procedure x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 24/30] doc: fix required network configuration x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 25/30] doc: add how to use vhost-user support x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 26/30] doc: add references to hugepages and isolcpus x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 27/30] doc: remove description on classifier_table x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 28/30] doc: fix typos and erros in texts x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 29/30] doc: update sample config section x-fn-spp
2018-01-16 5:16 ` [spp] [PATCH 30/30] doc: align figure title position x-fn-spp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712280456.vBS4u5Od010973@imss03.silk.ntt-tx.co.jp \
--to=x-fn-spp@sl.ntt-tx.co.jp \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).