]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_table/rte_table_lpm.h
net/virtio: fix incorrect cast of void *
[dpdk.git] / lib / librte_table / rte_table_lpm.h
index c08c9580e41d1930566359825ed16dfff12b9a9c..f3033234f9215b880c59e203cc6d052bdbd64938 100644 (file)
@@ -77,9 +77,18 @@ extern "C" {
 
 /** LPM table parameters */
 struct rte_table_lpm_params {
+       /** Table name */
+       const char *name;
+
        /** Maximum number of LPM rules (i.e. IP routes) */
        uint32_t n_rules;
 
+       /**< Number of tbl8s to allocate. */
+       uint32_t number_tbl8s;
+
+       /**< This field is currently unused. */
+       int flags;
+
        /** Number of bytes at the start of the table entry that uniquely
        identify the entry. Cannot be bigger than table entry size. */
        uint32_t entry_unique_size;