git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/iavf: disable simple XOR RSS hash function
[dpdk.git]
/
examples
/
multi_process
/
hotplug_mp
/
commands.c
diff --git
a/examples/multi_process/hotplug_mp/commands.c
b/examples/multi_process/hotplug_mp/commands.c
index
b068593
..
a8a39d0
100644
(file)
--- a/
examples/multi_process/hotplug_mp/commands.c
+++ b/
examples/multi_process/hotplug_mp/commands.c
@@
-16,9
+16,9
@@
struct cmd_help_result {
cmdline_fixed_string_t help;
};
cmdline_fixed_string_t help;
};
-static void cmd_help_parsed(__
attribute__((unused))
void *parsed_result,
+static void cmd_help_parsed(__
rte_unused
void *parsed_result,
struct cmdline *cl,
struct cmdline *cl,
- __
attribute__((unused))
void *data)
+ __
rte_unused
void *data)
{
cmdline_printf(cl,
"commands:\n"
{
cmdline_printf(cl,
"commands:\n"
@@
-46,9
+46,9
@@
struct cmd_quit_result {
cmdline_fixed_string_t quit;
};
cmdline_fixed_string_t quit;
};
-static void cmd_quit_parsed(__
attribute__((unused))
void *parsed_result,
+static void cmd_quit_parsed(__
rte_unused
void *parsed_result,
struct cmdline *cl,
struct cmdline *cl,
- __
attribute__((unused))
void *data)
+ __
rte_unused
void *data)
{
cmdline_quit(cl);
}
{
cmdline_quit(cl);
}
@@
-72,9
+72,9
@@
struct cmd_list_result {
cmdline_fixed_string_t list;
};
cmdline_fixed_string_t list;
};
-static void cmd_list_parsed(__
attribute__((unused))
void *parsed_result,
+static void cmd_list_parsed(__
rte_unused
void *parsed_result,
struct cmdline *cl,
struct cmdline *cl,
- __
attribute__((unused))
void *data)
+ __
rte_unused
void *data)
{
uint16_t port_id;
char dev_name[RTE_DEV_NAME_MAX_LEN];
{
uint16_t port_id;
char dev_name[RTE_DEV_NAME_MAX_LEN];
@@
-112,7
+112,7
@@
struct cmd_dev_attach_result {
static void cmd_dev_attach_parsed(void *parsed_result,
struct cmdline *cl,
static void cmd_dev_attach_parsed(void *parsed_result,
struct cmdline *cl,
- __
attribute__((unused))
void *data)
+ __
rte_unused
void *data)
{
struct cmd_dev_attach_result *res = parsed_result;
struct rte_devargs da;
{
struct cmd_dev_attach_result *res = parsed_result;
struct rte_devargs da;
@@
-159,7
+159,7
@@
struct cmd_dev_detach_result {
static void cmd_dev_detach_parsed(void *parsed_result,
struct cmdline *cl,
static void cmd_dev_detach_parsed(void *parsed_result,
struct cmdline *cl,
- __
attribute__((unused))
void *data)
+ __
rte_unused
void *data)
{
struct cmd_dev_detach_result *res = parsed_result;
struct rte_devargs da;
{
struct cmd_dev_detach_result *res = parsed_result;
struct rte_devargs da;