mirror of
https://github.com/openvswitch/ovs
synced 2025-10-13 14:07:02 +00:00
netdev-dpdk: Allow changing NON_PMD_CORE_ID for testing purpose.
For testing purpose, developers may want to change the NON_PMD_CORE_ID and use a different core for non-pmd threads. Since the netdev-dpdk module is hard-coded to assert the non-pmd threads using core 0, such change will cause abortion of OVS. This commit fixes the assertion and allows changing NON_PMD_CORE_ID. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
@@ -42,7 +42,6 @@ static inline void dp_packet_pad(struct ofpbuf *b)
|
||||
|
||||
#define NR_QUEUE 1
|
||||
#define NR_PMD_THREADS 1
|
||||
#define NON_PMD_CORE_ID 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user