summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-08-07 00:05:59 -0400
committerOle Trøan <otroan@employees.org>2019-08-20 13:35:21 +0000
commite71748291171e53158e2d36d8f413fed1a137013 (patch)
tree2cd4c20efd3fd75e3e180ae39fd2ab400c406d75 /src/vnet/ip
parent630ab5846bceddf8d663e9f488a2dc0378949827 (diff)
vppapigen: remove support for legacy typedefs
vppapigen has remapped legacy to typedefs behind the scenes for some time now. - update .api files to use new style typedefs. - issue error on 'typeonly define' in .api files - remove unneeded macros redefining vl_noop_handler Type: refactor Change-Id: I7a8c4a6dafacee6a131f95cd0e9b03a8c60dea8b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip.api10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index 2dae4385602..67cdf9377b3 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -35,7 +35,7 @@ import "vnet/mfib/mfib_types.api";
not set by the client, then VPP will generate something
meaningfull.
*/
-typeonly define ip_table
+typedef ip_table
{
u32 table_id;
u8 is_ip6;
@@ -82,7 +82,7 @@ manual_endian manual_print define ip_table_details
@param n_paths The number of paths the route has
@param paths The paths of the route
*/
-typeonly define ip_route
+typedef ip_route
{
u32 table_id;
u32 stats_index;
@@ -582,7 +582,7 @@ autoreply define ip_punt_police
@param nh - the next-hop to redirect the traffic to.
@param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
*/
-typeonly define punt_redirect
+typedef punt_redirect
{
u32 rx_sw_if_index;
u32 tx_sw_if_index;
@@ -841,7 +841,7 @@ autoreply define want_ip6_ra_events
@param valid_time - RA prefix info valid time
@param preferred_time - RA prefix info preferred time
*/
-typeonly define ip6_ra_prefix_info
+typedef ip6_ra_prefix_info
{
vl_api_prefix_t prefix;
u8 flags;
@@ -887,7 +887,7 @@ service {
@param low - Low address of the Proxy ARP range
@param hi - High address of the Proxy ARP range
*/
-typeonly define proxy_arp
+typedef proxy_arp
{
u32 table_id;
vl_api_ip4_address_t low;
/a> 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
3n-skx-x710
-----------

78b-ip6routing-base-scale-avf
``````````````````````````````

2t1c
::::

.. raw:: html

    <a name="78b-2t1c-base-avf"></a>
    <a name="78b-2t1c-scale-avf"></a>
    <center>
    Links to builds:
    <a href="https://packagecloud.io/app/fdio/master/search?dist=ubuntu%2Fbionic" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/3n-skx-x710-78b-2t1c-ip6-base-scale-avf.html"></iframe>
    <p><br></p>
    </center>

4t2c
::::

.. raw:: html

    <a name="78b-4t2c-base-avf"></a>
    <a name="78b-4t2c-scale-avf"></a>
    <center>
    Links to builds:
    <a href="https://packagecloud.io/app/fdio/master/search?dist=ubuntu%2Fbionic" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/3n-skx-x710-78b-4t2c-ip6-base-scale-avf.html"></iframe>
    <p><br></p>
    </center>

8t4c
::::

.. raw:: html

    <a name="78b-8t4c-base-avf"></a>
    <a name="78b-8t4c-scale-avf"></a>
    <center>
    Links to builds:
    <a href="https://packagecloud.io/app/fdio/master/search?dist=ubuntu%2Fbionic" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/3n-skx-x710-78b-8t4c-ip6-base-scale-avf.html"></iframe>
    <p><br></p>
    </center>