aboutsummaryrefslogtreecommitdiffstats
path: root/topologies
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-03-22 09:04:07 +0100
committerGerrit Code Review <gerrit@fd.io>2016-03-30 10:08:19 +0000
commit476ea70ea42ccd6f0486fa799058d47647bc0942 (patch)
tree6c1b69b6b4aa382a337ac5b501273c6848bbf3d0 /topologies
parent20f5ad2f804e810789838126b909f1866bec6334 (diff)
Add linux_add/del_bridge and modify vpp_add_l2fib_entry
linux_add_bridge - bridge two interfaces on linux node linux_del_bridge - delete bridge from linux node vpp_add_l2fib_entry - param interface should be interface name or sw_if_index Change-Id: Ia8030e24a0afe088df0dcb6c65a85ed341224206 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'topologies')
0 files changed, 0 insertions, 0 deletions
n nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef MALLOC_HEAP_H_ #define MALLOC_HEAP_H_ #include <rte_malloc.h> #include <rte_malloc_heap.h> #ifdef __cplusplus extern "C" { #endif static inline unsigned malloc_get_numa_socket(void) { unsigned socket_id = rte_socket_id(); if (socket_id == (unsigned)SOCKET_ID_ANY) return 0; return socket_id; } void * malloc_heap_alloc(struct malloc_heap *heap, const char *type, size_t size, unsigned flags, size_t align, size_t bound); int malloc_heap_get_stats(struct malloc_heap *heap, struct rte_malloc_socket_stats *socket_stats); int rte_eal_malloc_heap_init(void); #ifdef __cplusplus } #endif #endif /* MALLOC_HEAP_H_ */