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
app/eventdev: add burst mode for event timer adapter
[dpdk.git]
/
lib
/
librte_kni
/
rte_kni.h
diff --git
a/lib/librte_kni/rte_kni.h
b/lib/librte_kni/rte_kni.h
index
370b02a
..
99055e2
100644
(file)
--- a/
lib/librte_kni/rte_kni.h
+++ b/
lib/librte_kni/rte_kni.h
@@
-45,6
+45,9
@@
struct rte_kni_ops {
/* Pointer to function of configuring mac address */
int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
/* Pointer to function of configuring mac address */
int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
+
+ /* Pointer to function of configuring promiscuous mode */
+ int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
};
/**
};
/**
@@
-66,6
+69,7
@@
struct rte_kni_conf {
__extension__
uint8_t force_bind : 1; /* Flag to bind kernel thread */
char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
__extension__
uint8_t force_bind : 1; /* Flag to bind kernel thread */
char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
+ uint16_t mtu;
};
/**
};
/**