* RTE_TABLE_ACTION_MTR
*/
/** Max number of traffic classes (TCs). */
-#define RTE_TABLE_ACTION_TC_MAX 4
+#define RTE_TABLE_ACTION_TC_MAX 16
/** Max number of queues per traffic class. */
-#define RTE_TABLE_ACTION_TC_QUEUE_MAX 4
+#define RTE_TABLE_ACTION_TC_QUEUE_MAX 16
/** Differentiated Services Code Point (DSCP) translation table entry. */
struct rte_table_action_dscp_table_entry {
/** Pre-computed Ethernet header fields for encapsulation action. */
struct rte_table_action_ether_hdr {
- struct ether_addr da; /**< Destination address. */
- struct ether_addr sa; /**< Source address. */
+ struct rte_ether_addr da; /**< Destination address. */
+ struct rte_ether_addr sa; /**< Source address. */
};
/** Pre-computed VLAN header fields for encapsulation action. */
* @return
* Table action profile handle on success, NULL otherwise.
*/
-struct rte_table_action_profile * __rte_experimental
+__rte_experimental
+struct rte_table_action_profile *
rte_table_action_profile_create(struct rte_table_action_common_config *common);
/**
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_profile_free(struct rte_table_action_profile *profile);
/**
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_profile_action_register(struct rte_table_action_profile *profile,
enum rte_table_action_type type,
void *action_config);
*
* @see rte_table_action_create()
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_profile_freeze(struct rte_table_action_profile *profile);
/**
*
* @see rte_table_action_create()
*/
-struct rte_table_action * __rte_experimental
+__rte_experimental
+struct rte_table_action *
rte_table_action_create(struct rte_table_action_profile *profile,
uint32_t socket_id);
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_free(struct rte_table_action *action);
/**
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_table_params_get(struct rte_table_action *action,
struct rte_pipeline_table_params *params);
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_apply(struct rte_table_action *action,
void *data,
enum rte_table_action_type type,
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_dscp_table_update(struct rte_table_action *action,
uint64_t dscp_mask,
struct rte_table_action_dscp_table *table);
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_meter_profile_add(struct rte_table_action *action,
uint32_t meter_profile_id,
struct rte_table_action_meter_profile *profile);
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_meter_profile_delete(struct rte_table_action *action,
uint32_t meter_profile_id);
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_meter_read(struct rte_table_action *action,
void *data,
uint32_t tc_mask,
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_ttl_read(struct rte_table_action *action,
void *data,
struct rte_table_action_ttl_counters *stats,
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_stats_read(struct rte_table_action *action,
void *data,
struct rte_table_action_stats_counters *stats,
* @return
* Zero on success, non-zero error code otherwise.
*/
-int __rte_experimental
+__rte_experimental
+int
rte_table_action_time_read(struct rte_table_action *action,
void *data,
uint64_t *timestamp);
* @return
* The pointer to the session on success, NULL otherwise.
*/
-struct rte_cryptodev_sym_session *__rte_experimental
+__rte_experimental
+struct rte_cryptodev_sym_session *
rte_table_action_crypto_sym_session_get(struct rte_table_action *action,
void *data);