1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation
5 #ifndef __INCLUDE_RTE_ETH_SOFTNIC_INTERNALS_H__
6 #define __INCLUDE_RTE_ETH_SOFTNIC_INTERNALS_H__
10 #include <sys/queue.h>
12 #include <rte_mempool.h>
15 #include <rte_ethdev.h>
16 #include <rte_sched.h>
17 #include <rte_port_in_action.h>
18 #include <rte_table_action.h>
19 #include <rte_pipeline.h>
21 #include <rte_ethdev_core.h>
22 #include <ethdev_driver.h>
23 #include <rte_tm_driver.h>
24 #include <rte_flow_driver.h>
25 #include <rte_mtr_driver.h>
27 #include "rte_eth_softnic.h"
31 #define SOFTNIC_PATH_MAX 4096
39 char firmware[SOFTNIC_PATH_MAX];
42 int sc; /**< Service cores. */
44 /** Traffic Management (TM) */
46 uint32_t n_queues; /**< Number of queues */
47 uint16_t qsize[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];
56 TAILQ_HEAD(flow_list, rte_flow);
58 struct flow_attr_map {
59 char pipeline_name[NAME_SIZE];
64 #ifndef SOFTNIC_FLOW_MAX_GROUPS
65 #define SOFTNIC_FLOW_MAX_GROUPS 64
68 struct flow_internals {
69 struct flow_attr_map ingress_map[SOFTNIC_FLOW_MAX_GROUPS];
70 struct flow_attr_map egress_map[SOFTNIC_FLOW_MAX_GROUPS];
77 /* MTR meter profile */
78 struct softnic_mtr_meter_profile {
79 TAILQ_ENTRY(softnic_mtr_meter_profile) node;
80 uint32_t meter_profile_id;
81 struct rte_mtr_meter_profile params;
85 TAILQ_HEAD(softnic_mtr_meter_profile_list, softnic_mtr_meter_profile);
87 /* MTR meter policy */
88 struct softnic_mtr_meter_policy {
89 TAILQ_ENTRY(softnic_mtr_meter_policy) node;
90 uint32_t meter_policy_id;
91 enum rte_table_action_policer policer[RTE_COLORS];
95 TAILQ_HEAD(softnic_mtr_meter_policy_list, softnic_mtr_meter_policy);
97 /* MTR meter object */
99 TAILQ_ENTRY(softnic_mtr) node;
101 struct rte_mtr_params params;
102 struct rte_flow *flow;
105 TAILQ_HEAD(softnic_mtr_list, softnic_mtr);
107 struct mtr_internals {
108 struct softnic_mtr_meter_profile_list meter_profiles;
109 struct softnic_mtr_meter_policy_list meter_policies;
110 struct softnic_mtr_list mtrs;
116 struct softnic_mempool_params {
117 uint32_t buffer_size;
122 struct softnic_mempool {
123 TAILQ_ENTRY(softnic_mempool) node;
124 char name[NAME_SIZE];
125 struct rte_mempool *m;
126 uint32_t buffer_size;
129 TAILQ_HEAD(softnic_mempool_list, softnic_mempool);
134 struct softnic_swq_params {
139 TAILQ_ENTRY(softnic_swq) node;
140 char name[NAME_SIZE];
144 TAILQ_HEAD(softnic_swq_list, softnic_swq);
149 struct softnic_link_params {
150 const char *dev_name;
151 uint16_t port_id; /**< Valid only when *dev_name* is NULL. */
154 struct softnic_link {
155 TAILQ_ENTRY(softnic_link) node;
156 char name[NAME_SIZE];
162 TAILQ_HEAD(softnic_link_list, softnic_link);
168 #ifndef TM_MAX_SUBPORTS
169 #define TM_MAX_SUBPORTS 8
172 #ifndef TM_MAX_PIPES_PER_SUBPORT
173 #define TM_MAX_PIPES_PER_SUBPORT 4096
176 #ifndef TM_MAX_PIPE_PROFILE
177 #define TM_MAX_PIPE_PROFILE 256
180 #ifndef TM_MAX_SUBPORT_PROFILE
181 #define TM_MAX_SUBPORT_PROFILE 256
185 struct rte_sched_port_params port_params;
186 struct rte_sched_subport_params subport_params[TM_MAX_SUBPORTS];
187 struct rte_sched_subport_profile_params
188 subport_profile[TM_MAX_SUBPORT_PROFILE];
189 uint32_t n_subport_profiles;
190 uint32_t subport_to_profile[TM_MAX_SUBPORT_PROFILE];
191 struct rte_sched_pipe_params pipe_profiles[TM_MAX_PIPE_PROFILE];
192 uint32_t n_pipe_profiles;
193 uint32_t pipe_to_profile[TM_MAX_SUBPORTS * TM_MAX_PIPES_PER_SUBPORT];
198 TM_NODE_LEVEL_PORT = 0,
199 TM_NODE_LEVEL_SUBPORT,
206 /* TM Shaper Profile */
207 struct tm_shaper_profile {
208 TAILQ_ENTRY(tm_shaper_profile) node;
209 uint32_t shaper_profile_id;
211 struct rte_tm_shaper_params params;
214 TAILQ_HEAD(tm_shaper_profile_list, tm_shaper_profile);
216 /* TM Shared Shaper */
217 struct tm_shared_shaper {
218 TAILQ_ENTRY(tm_shared_shaper) node;
219 uint32_t shared_shaper_id;
221 uint32_t shaper_profile_id;
224 TAILQ_HEAD(tm_shared_shaper_list, tm_shared_shaper);
226 /* TM WRED Profile */
227 struct tm_wred_profile {
228 TAILQ_ENTRY(tm_wred_profile) node;
229 uint32_t wred_profile_id;
231 struct rte_tm_wred_params params;
234 TAILQ_HEAD(tm_wred_profile_list, tm_wred_profile);
238 TAILQ_ENTRY(tm_node) node;
240 uint32_t parent_node_id;
244 struct tm_node *parent_node;
245 struct tm_shaper_profile *shaper_profile;
246 struct tm_wred_profile *wred_profile;
247 struct rte_tm_node_params params;
248 struct rte_tm_node_stats stats;
252 TAILQ_HEAD(tm_node_list, tm_node);
254 /* TM Hierarchy Specification */
255 struct tm_hierarchy {
256 struct tm_shaper_profile_list shaper_profiles;
257 struct tm_shared_shaper_list shared_shapers;
258 struct tm_wred_profile_list wred_profiles;
259 struct tm_node_list nodes;
261 uint32_t n_shaper_profiles;
262 uint32_t n_shared_shapers;
263 uint32_t n_wred_profiles;
266 uint32_t n_tm_nodes[TM_NODE_LEVEL_MAX];
269 struct tm_internals {
270 /** Hierarchy specification
272 * -Hierarchy is unfrozen at init and when port is stopped.
273 * -Hierarchy is frozen on successful hierarchy commit.
274 * -Run-time hierarchy changes are not allowed, therefore it makes
275 * sense to keep the hierarchy frozen after the port is started.
277 struct tm_hierarchy h;
278 int hierarchy_frozen;
281 struct tm_params params;
284 struct softnic_tmgr_port {
285 TAILQ_ENTRY(softnic_tmgr_port) node;
286 char name[NAME_SIZE];
287 struct rte_sched_port *s;
290 TAILQ_HEAD(softnic_tmgr_port_list, softnic_tmgr_port);
296 TAILQ_ENTRY(softnic_tap) node;
297 char name[NAME_SIZE];
301 TAILQ_HEAD(softnic_tap_list, softnic_tap);
306 struct softnic_cryptodev_params {
307 const char *dev_name;
308 uint32_t dev_id; /**< Valid only when *dev_name* is NULL. */
311 uint32_t session_pool_size;
314 struct softnic_cryptodev {
315 TAILQ_ENTRY(softnic_cryptodev) node;
316 char name[NAME_SIZE];
319 struct rte_mempool *mp_create;
320 struct rte_mempool *mp_init;
323 TAILQ_HEAD(softnic_cryptodev_list, softnic_cryptodev);
328 struct softnic_port_in_action_profile_params {
329 uint64_t action_mask;
330 struct rte_port_in_action_fltr_config fltr;
331 struct rte_port_in_action_lb_config lb;
334 struct softnic_port_in_action_profile {
335 TAILQ_ENTRY(softnic_port_in_action_profile) node;
336 char name[NAME_SIZE];
337 struct softnic_port_in_action_profile_params params;
338 struct rte_port_in_action_profile *ap;
341 TAILQ_HEAD(softnic_port_in_action_profile_list, softnic_port_in_action_profile);
346 struct softnic_table_action_profile_params {
347 uint64_t action_mask;
348 struct rte_table_action_common_config common;
349 struct rte_table_action_lb_config lb;
350 struct rte_table_action_mtr_config mtr;
351 struct rte_table_action_tm_config tm;
352 struct rte_table_action_encap_config encap;
353 struct rte_table_action_nat_config nat;
354 struct rte_table_action_ttl_config ttl;
355 struct rte_table_action_stats_config stats;
356 struct rte_table_action_sym_crypto_config sym_crypto;
359 struct softnic_table_action_profile {
360 TAILQ_ENTRY(softnic_table_action_profile) node;
361 char name[NAME_SIZE];
362 struct softnic_table_action_profile_params params;
363 struct rte_table_action_profile *ap;
366 TAILQ_HEAD(softnic_table_action_profile_list, softnic_table_action_profile);
368 struct softnic_table_meter_profile {
369 TAILQ_ENTRY(softnic_table_meter_profile) node;
370 uint32_t meter_profile_id;
371 struct rte_table_action_meter_profile profile;
374 TAILQ_HEAD(softnic_table_meter_profile_list,
375 softnic_table_meter_profile);
380 struct pipeline_params {
381 uint32_t timer_period_ms;
382 uint32_t offset_port_id;
385 enum softnic_port_in_type {
394 struct softnic_port_in_params {
396 enum softnic_port_in_type type;
397 char dev_name[NAME_SIZE];
404 const char *mempool_name;
409 const char *mempool_name;
410 const char *file_name;
411 uint32_t n_bytes_per_pkt;
423 char action_profile_name[NAME_SIZE];
426 enum softnic_port_out_type {
435 struct softnic_port_out_params {
436 enum softnic_port_out_type type;
437 char dev_name[NAME_SIZE];
444 const char *file_name;
458 enum softnic_table_type {
466 struct softnic_table_acl_params {
468 uint32_t ip_header_offset;
472 struct softnic_table_array_params {
477 #ifndef TABLE_RULE_MATCH_SIZE_MAX
478 #define TABLE_RULE_MATCH_SIZE_MAX 256
481 struct softnic_table_hash_params {
485 uint8_t key_mask[TABLE_RULE_MATCH_SIZE_MAX];
487 int extendable_bucket;
490 struct softnic_table_lpm_params {
496 struct softnic_table_params {
498 enum softnic_table_type match_type;
500 struct softnic_table_acl_params acl;
501 struct softnic_table_array_params array;
502 struct softnic_table_hash_params hash;
503 struct softnic_table_lpm_params lpm;
507 char action_profile_name[NAME_SIZE];
510 struct softnic_port_in {
511 struct softnic_port_in_params params;
512 struct softnic_port_in_action_profile *ap;
513 struct rte_port_in_action *a;
516 struct softnic_port_out {
517 struct softnic_port_out_params params;
520 struct softnic_table {
521 struct softnic_table_params params;
522 struct softnic_table_action_profile *ap;
523 struct rte_table_action *a;
524 struct flow_list flows;
525 struct rte_table_action_dscp_table dscp_table;
526 struct softnic_table_meter_profile_list meter_profiles;
530 TAILQ_ENTRY(pipeline) node;
531 char name[NAME_SIZE];
533 struct rte_pipeline *p;
534 struct pipeline_params params;
535 struct softnic_port_in port_in[RTE_PIPELINE_PORT_IN_MAX];
536 struct softnic_port_out port_out[RTE_PIPELINE_PORT_OUT_MAX];
537 struct softnic_table table[RTE_PIPELINE_TABLE_MAX];
539 uint32_t n_ports_out;
542 struct rte_ring *msgq_req;
543 struct rte_ring *msgq_rsp;
544 uint32_t timer_period_ms;
551 TAILQ_HEAD(pipeline_list, pipeline);
556 #ifndef THREAD_PIPELINES_MAX
557 #define THREAD_PIPELINES_MAX 256
560 #ifndef THREAD_MSGQ_SIZE
561 #define THREAD_MSGQ_SIZE 64
564 #ifndef THREAD_TIMER_PERIOD_MS
565 #define THREAD_TIMER_PERIOD_MS 100
569 * Main thread: data plane thread context
571 struct softnic_thread {
572 struct rte_ring *msgq_req;
573 struct rte_ring *msgq_rsp;
579 * Data plane threads: context
581 #ifndef TABLE_RULE_ACTION_SIZE_MAX
582 #define TABLE_RULE_ACTION_SIZE_MAX 2048
585 struct softnic_table_data {
586 struct rte_table_action *a;
589 struct pipeline_data {
590 struct rte_pipeline *p;
591 struct softnic_table_data table_data[RTE_PIPELINE_TABLE_MAX];
594 struct rte_ring *msgq_req;
595 struct rte_ring *msgq_rsp;
596 uint64_t timer_period; /* Measured in CPU cycles. */
599 uint8_t buffer[TABLE_RULE_ACTION_SIZE_MAX];
602 struct softnic_thread_data {
603 struct rte_pipeline *p[THREAD_PIPELINES_MAX];
604 uint32_t n_pipelines;
606 struct pipeline_data pipeline_data[THREAD_PIPELINES_MAX];
607 struct rte_ring *msgq_req;
608 struct rte_ring *msgq_rsp;
609 uint64_t timer_period; /* Measured in CPU cycles. */
611 uint64_t time_next_min;
613 } __rte_cache_aligned;
618 struct pmd_internals {
620 struct pmd_params params;
623 struct tm_internals tm; /**< Traffic Management */
626 struct flow_internals flow;
627 struct mtr_internals mtr;
629 struct softnic_conn *conn;
630 struct softnic_mempool_list mempool_list;
631 struct softnic_swq_list swq_list;
632 struct softnic_link_list link_list;
633 struct softnic_tmgr_port_list tmgr_port_list;
634 struct softnic_tap_list tap_list;
635 struct softnic_cryptodev_list cryptodev_list;
636 struct softnic_port_in_action_profile_list port_in_action_profile_list;
637 struct softnic_table_action_profile_list table_action_profile_list;
638 struct pipeline_list pipeline_list;
639 struct softnic_thread thread[RTE_MAX_LCORE];
640 struct softnic_thread_data thread_data[RTE_MAX_LCORE];
643 static inline struct rte_eth_dev *
644 ETHDEV(struct pmd_internals *softnic)
652 status = rte_eth_dev_get_port_by_name(softnic->params.name, &port_id);
656 return &rte_eth_devices[port_id];
663 flow_attr_map_set(struct pmd_internals *softnic,
666 const char *pipeline_name,
669 struct flow_attr_map *
670 flow_attr_map_get(struct pmd_internals *softnic,
674 extern const struct rte_flow_ops pmd_flow_ops;
680 softnic_mtr_init(struct pmd_internals *p);
683 softnic_mtr_free(struct pmd_internals *p);
686 softnic_mtr_find(struct pmd_internals *p,
689 struct softnic_mtr_meter_profile *
690 softnic_mtr_meter_profile_find(struct pmd_internals *p,
691 uint32_t meter_profile_id);
693 struct softnic_mtr_meter_policy *
694 softnic_mtr_meter_policy_find(struct pmd_internals *p,
695 uint32_t meter_policy_id);
697 extern const struct rte_mtr_ops pmd_mtr_ops;
703 softnic_mempool_init(struct pmd_internals *p);
706 softnic_mempool_free(struct pmd_internals *p);
708 struct softnic_mempool *
709 softnic_mempool_find(struct pmd_internals *p,
712 struct softnic_mempool *
713 softnic_mempool_create(struct pmd_internals *p,
715 struct softnic_mempool_params *params);
721 softnic_swq_init(struct pmd_internals *p);
724 softnic_swq_free(struct pmd_internals *p);
727 softnic_softnic_swq_free_keep_rxq_txq(struct pmd_internals *p);
730 softnic_swq_find(struct pmd_internals *p,
734 softnic_swq_create(struct pmd_internals *p,
736 struct softnic_swq_params *params);
742 softnic_link_init(struct pmd_internals *p);
745 softnic_link_free(struct pmd_internals *p);
747 struct softnic_link *
748 softnic_link_find(struct pmd_internals *p,
751 struct softnic_link *
752 softnic_link_create(struct pmd_internals *p,
754 struct softnic_link_params *params);
760 softnic_tmgr_init(struct pmd_internals *p);
763 softnic_tmgr_free(struct pmd_internals *p);
765 struct softnic_tmgr_port *
766 softnic_tmgr_port_find(struct pmd_internals *p,
769 struct softnic_tmgr_port *
770 softnic_tmgr_port_create(struct pmd_internals *p,
774 tm_hierarchy_init(struct pmd_internals *p);
777 tm_hierarchy_free(struct pmd_internals *p);
780 tm_used(struct rte_eth_dev *dev)
782 struct pmd_internals *p = dev->data->dev_private;
784 return p->soft.tm.h.n_tm_nodes[TM_NODE_LEVEL_PORT];
787 extern const struct rte_tm_ops pmd_tm_ops;
793 softnic_tap_init(struct pmd_internals *p);
796 softnic_tap_free(struct pmd_internals *p);
799 softnic_tap_find(struct pmd_internals *p,
803 softnic_tap_create(struct pmd_internals *p,
810 softnic_cryptodev_init(struct pmd_internals *p);
813 softnic_cryptodev_free(struct pmd_internals *p);
815 struct softnic_cryptodev *
816 softnic_cryptodev_find(struct pmd_internals *p,
819 struct softnic_cryptodev *
820 softnic_cryptodev_create(struct pmd_internals *p,
822 struct softnic_cryptodev_params *params);
828 softnic_port_in_action_profile_init(struct pmd_internals *p);
831 softnic_port_in_action_profile_free(struct pmd_internals *p);
833 struct softnic_port_in_action_profile *
834 softnic_port_in_action_profile_find(struct pmd_internals *p,
837 struct softnic_port_in_action_profile *
838 softnic_port_in_action_profile_create(struct pmd_internals *p,
840 struct softnic_port_in_action_profile_params *params);
846 softnic_table_action_profile_init(struct pmd_internals *p);
849 softnic_table_action_profile_free(struct pmd_internals *p);
851 struct softnic_table_action_profile *
852 softnic_table_action_profile_find(struct pmd_internals *p,
855 struct softnic_table_action_profile *
856 softnic_table_action_profile_create(struct pmd_internals *p,
858 struct softnic_table_action_profile_params *params);
864 softnic_pipeline_init(struct pmd_internals *p);
867 softnic_pipeline_free(struct pmd_internals *p);
870 softnic_pipeline_disable_all(struct pmd_internals *p);
873 softnic_pipeline_thread_count(struct pmd_internals *p, uint32_t thread_id);
876 softnic_pipeline_find(struct pmd_internals *p, const char *name);
879 softnic_pipeline_create(struct pmd_internals *p,
881 struct pipeline_params *params);
884 softnic_pipeline_port_in_create(struct pmd_internals *p,
885 const char *pipeline_name,
886 struct softnic_port_in_params *params,
890 softnic_pipeline_port_in_connect_to_table(struct pmd_internals *p,
891 const char *pipeline_name,
896 softnic_pipeline_port_out_create(struct pmd_internals *p,
897 const char *pipeline_name,
898 struct softnic_port_out_params *params);
901 softnic_pipeline_port_out_find(struct pmd_internals *softnic,
902 const char *pipeline_name,
907 softnic_pipeline_table_create(struct pmd_internals *p,
908 const char *pipeline_name,
909 struct softnic_table_params *params);
911 struct softnic_table_meter_profile *
912 softnic_pipeline_table_meter_profile_find(struct softnic_table *table,
913 uint32_t meter_profile_id);
915 struct softnic_table_rule_match_acl {
942 struct softnic_table_rule_match_array {
946 struct softnic_table_rule_match_hash {
947 uint8_t key[TABLE_RULE_MATCH_SIZE_MAX];
950 struct softnic_table_rule_match_lpm {
962 struct softnic_table_rule_match {
963 enum softnic_table_type match_type;
966 struct softnic_table_rule_match_acl acl;
967 struct softnic_table_rule_match_array array;
968 struct softnic_table_rule_match_hash hash;
969 struct softnic_table_rule_match_lpm lpm;
973 #ifndef SYM_CRYPTO_MAX_KEY_SIZE
974 #define SYM_CRYPTO_MAX_KEY_SIZE (256)
976 struct softnic_table_rule_action {
977 uint64_t action_mask;
978 struct rte_table_action_fwd_params fwd;
979 struct rte_table_action_lb_params lb;
980 struct rte_table_action_mtr_params mtr;
981 struct rte_table_action_tm_params tm;
982 struct rte_table_action_encap_params encap;
983 struct rte_table_action_nat_params nat;
984 struct rte_table_action_ttl_params ttl;
985 struct rte_table_action_stats_params stats;
986 struct rte_table_action_time_params time;
987 struct rte_table_action_tag_params tag;
988 struct rte_table_action_decap_params decap;
989 struct rte_table_action_sym_crypto_params sym_crypto;
990 uint8_t sym_crypto_key[SYM_CRYPTO_MAX_KEY_SIZE];
994 TAILQ_ENTRY(rte_flow) node;
995 struct softnic_table_rule_match match;
996 struct softnic_table_rule_action action;
998 struct pipeline *pipeline;
1003 softnic_pipeline_port_in_stats_read(struct pmd_internals *p,
1004 const char *pipeline_name,
1006 struct rte_pipeline_port_in_stats *stats,
1010 softnic_pipeline_port_in_enable(struct pmd_internals *p,
1011 const char *pipeline_name,
1015 softnic_pipeline_port_in_disable(struct pmd_internals *p,
1016 const char *pipeline_name,
1020 softnic_pipeline_port_out_stats_read(struct pmd_internals *p,
1021 const char *pipeline_name,
1023 struct rte_pipeline_port_out_stats *stats,
1027 softnic_pipeline_table_stats_read(struct pmd_internals *p,
1028 const char *pipeline_name,
1030 struct rte_pipeline_table_stats *stats,
1034 softnic_pipeline_table_rule_add(struct pmd_internals *p,
1035 const char *pipeline_name,
1037 struct softnic_table_rule_match *match,
1038 struct softnic_table_rule_action *action,
1042 softnic_pipeline_table_rule_add_bulk(struct pmd_internals *p,
1043 const char *pipeline_name,
1045 struct softnic_table_rule_match *match,
1046 struct softnic_table_rule_action *action,
1051 softnic_pipeline_table_rule_add_default(struct pmd_internals *p,
1052 const char *pipeline_name,
1054 struct softnic_table_rule_action *action,
1058 softnic_pipeline_table_rule_delete(struct pmd_internals *p,
1059 const char *pipeline_name,
1061 struct softnic_table_rule_match *match);
1064 softnic_pipeline_table_rule_delete_default(struct pmd_internals *p,
1065 const char *pipeline_name,
1069 softnic_pipeline_table_rule_stats_read(struct pmd_internals *p,
1070 const char *pipeline_name,
1073 struct rte_table_action_stats_counters *stats,
1077 softnic_pipeline_table_mtr_profile_add(struct pmd_internals *p,
1078 const char *pipeline_name,
1080 uint32_t meter_profile_id,
1081 struct rte_table_action_meter_profile *profile);
1084 softnic_pipeline_table_mtr_profile_delete(struct pmd_internals *p,
1085 const char *pipeline_name,
1087 uint32_t meter_profile_id);
1090 softnic_pipeline_table_rule_mtr_read(struct pmd_internals *p,
1091 const char *pipeline_name,
1095 struct rte_table_action_mtr_counters *stats,
1099 softnic_pipeline_table_dscp_table_update(struct pmd_internals *p,
1100 const char *pipeline_name,
1103 struct rte_table_action_dscp_table *dscp_table);
1106 softnic_pipeline_table_rule_ttl_read(struct pmd_internals *p,
1107 const char *pipeline_name,
1110 struct rte_table_action_ttl_counters *stats,
1117 softnic_thread_init(struct pmd_internals *p);
1120 softnic_thread_free(struct pmd_internals *p);
1123 softnic_thread_pipeline_enable(struct pmd_internals *p,
1125 const char *pipeline_name);
1128 softnic_thread_pipeline_disable(struct pmd_internals *p,
1130 const char *pipeline_name);
1136 softnic_cli_process(char *in,
1142 softnic_cli_script_process(struct pmd_internals *softnic,
1143 const char *file_name,
1144 size_t msg_in_len_max,
1145 size_t msg_out_len_max);
1147 #endif /* __INCLUDE_RTE_ETH_SOFTNIC_INTERNALS_H__ */