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: Factor out struct dpdk_mp.
Since commit d555d9b ("netdev-dpdk: Create separate memory pool for each port."), struct dpdk_mp is redundant because each mempool can be used by single port only and this port already contains all the information we store in dpdk_mp. There is no need to duplicate the information. Fields of this structure currently used only to generate mempool name. But it's required only while creation and after that we can use mp->name directly from the struct rte_mempool. Let's remove this structure and use struct rte_mempool directly instead. Signed-off-by: Ilya Maximets <[email protected]> Acked-by: Antonio Fischetti <[email protected]> Signed-off-by: Ian Stokes <[email protected]>
- Loading branch information
Showing
1 changed file
with
65 additions
and
125 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