summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/lock.h
AgeCommit message (Expand)AuthorFilesLines
2020-10-19vppinfra: minor refactor in lock.hDave Barach1-2/+4
2020-09-18virtio: fix txq lockingBenoƮt Ganne1-0/+17
2019-09-27vppinfra: implement CLIB_PAUSE () for aarch64 platformsjaszha031-0/+2
2019-08-01vppinfra: refactor clib_rwlock_t to use single condition variablejaszha031-24/+19
2019-08-01vppinfra: refactor clib_spinlock_t to use compare and swapjaszha031-2/+10
2019-07-31vppinfra: refactor test_and_set spinlocks to use clib_spinlock_tjaszha031-0/+3
2019-07-30vppinfra: refactor use of CLIB_MEMORY_BARRIER ()jaszha031-13/+6
2018-10-23c11 safe string handling supportDave Barach1-2/+2
2018-10-19vppinfra: add atomic macros for __sync builtinsSirshak Das1-5/+5
2018-02-05session: segment manager refactorFlorin Coras1-2/+19
2018-01-25vppinfra: add readers-writer lockFlorin Coras1-14/+98
2017-10-15Fix minor issues in clib_spinlock_unlock()Dave Barach1-1/+3
2017-05-10completelly deprecate os_get_cpu_number, replace new occurencesDamjan Marion1-3/+3
2017-03-30vppinfra: add spinlock inline functionsDamjan Marion1-0/+97
ring.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*
 * Copyright (c) 2016 Cisco and/or its affiliates.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @brief
 * The data-path object representing transmitting the packet on a n interface.
 * This is a convenient DPO wrapper around a simple interface transmit and thus
 * allows us to represent direct interface transmit in the DPO model.
 */

#ifndef __INTERFACE_TX_DPO_H__
#define __INTERFACE_TX_DPO_H__

#include <vnet/dpo/dpo.h>

extern void interface_tx_dpo_add_or_lock (dpo_proto_t proto,
                                          u32 sw_if_index,
                                          dpo_id_t *dpo);

extern void interface_tx_dpo_module_init(void);

#endif