forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Refactor construct and destruct.
Some refactoring for _construct() and _destruct() methods: * Rename netdev_dpdk_init() to common_construct(). init() has a different meaning in the netdev context. * Remove DPDK_DEV_ETH and DPDK_DEV_VHOST checks in common_construct() and move them to different functions * Introduce common_destruct(). * Avoid taking 'dev->mutex' in construct and destruct: we're guaranteed to be the only thread with access to the object. Signed-off-by: Daniele Di Proietto <[email protected]> Acked-by: Ilya Maximets <[email protected]>
- Loading branch information
1 parent
7f381c2
commit 1ce30df
Showing
1 changed file
with
41 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters