2 * Copyright (c) 2015 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 * This file and in fact the entire directory shouldn't even exist.
18 * Unfortunately, various things malfunction when we try to go there.
19 * Plugin DLL's end up with their own copies of critical
20 * data structures. No one of these problems would be tough to fix,
21 * but there are quite a number of them.
25 * Make certain that plugin .dll's which reference the following functions
30 #define foreach_dpdk_plugin_reference \
35 _(rte_malloc_virt2phy) \
36 _(rte_eal_get_configuration)
38 #define foreach_dpdk_plugin_reference
41 #define _(a) void a (void);
42 foreach_dpdk_plugin_reference
45 void *vnet_library_plugin_references[] =
48 foreach_dpdk_plugin_reference
52 void vnet_library_plugin_reference(void) { }