diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/aboutvpp/releasenotes/index.rst | 1 | ||||
-rw-r--r-- | docs/aboutvpp/releasenotes/past.rst | 1 | ||||
-rw-r--r-- | docs/configuration/reference.rst | 8 | ||||
l--------- | docs/developer/plugins/dev_armada.rst | 1 | ||||
-rw-r--r-- | docs/developer/plugins/index.rst | 2 | ||||
l--------- | docs/developer/plugins/marvell.rst | 1 | ||||
-rw-r--r-- | docs/spelling_wordlist.txt | 5 | ||||
-rw-r--r-- | docs/usecases/webapp.rst | 19 |
8 files changed, 22 insertions, 16 deletions
diff --git a/docs/aboutvpp/releasenotes/index.rst b/docs/aboutvpp/releasenotes/index.rst index df4232b1e83..b285dd0f712 100644 --- a/docs/aboutvpp/releasenotes/index.rst +++ b/docs/aboutvpp/releasenotes/index.rst @@ -9,5 +9,4 @@ Release notes v24.06 v24.02 v23.10 - v23.06 past diff --git a/docs/aboutvpp/releasenotes/past.rst b/docs/aboutvpp/releasenotes/past.rst index 8f15bd4da3e..9e1a6e31cf1 100644 --- a/docs/aboutvpp/releasenotes/past.rst +++ b/docs/aboutvpp/releasenotes/past.rst @@ -6,6 +6,7 @@ Past releases .. toctree:: :maxdepth: 1 + v23.06 v23.02 v22.10.1 v22.10 diff --git a/docs/configuration/reference.rst b/docs/configuration/reference.rst index d288a6d7788..2759d47d54b 100644 --- a/docs/configuration/reference.rst +++ b/docs/configuration/reference.rst @@ -552,7 +552,9 @@ buffers <n> ^^^^^^^^^^^^^^^ The number of buffers allocated for this specific NUMA domain. -Default is 0, which falls back to the value configured in **buffers-per-numa**. +If this is set to zero, no buffers are allocated for this domain. + +By default, the value configured in **buffers-per-numa** is used. .. code-block:: console @@ -771,8 +773,8 @@ Enable all plugins by default and then selectively disable specific plugins plugin dpdk_plugin.so disable plugin acl_plugin.so disable -Th statseg Section -^^^^^^^^^^^^^^^^^^ +The statseg Section +------------------- .. code-block:: console diff --git a/docs/developer/plugins/dev_armada.rst b/docs/developer/plugins/dev_armada.rst new file mode 120000 index 00000000000..a545313ec9c --- /dev/null +++ b/docs/developer/plugins/dev_armada.rst @@ -0,0 +1 @@ +../../../src/plugins/dev_armada/README.rst
\ No newline at end of file diff --git a/docs/developer/plugins/index.rst b/docs/developer/plugins/index.rst index c9081a8caaf..393eefec535 100644 --- a/docs/developer/plugins/index.rst +++ b/docs/developer/plugins/index.rst @@ -19,9 +19,9 @@ For more on plugins please refer to :ref:`add_plugin`. quic cnat + dev_armada lcp srv6/index - marvell lldp nat64 nat44_ei_ha diff --git a/docs/developer/plugins/marvell.rst b/docs/developer/plugins/marvell.rst deleted file mode 120000 index 28f0cd0f664..00000000000 --- a/docs/developer/plugins/marvell.rst +++ /dev/null @@ -1 +0,0 @@ -../../../src/plugins/marvell/README.rst
\ No newline at end of file diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index f90ffa89216..d6c5b97793e 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -805,6 +805,7 @@ operationalize Optimisations optimised os +osi outacl packagecloud papi @@ -902,6 +903,9 @@ pthreads pton pushingapatch putatively +pvti +PVTI +Pvti pwait py pypi @@ -1003,6 +1007,7 @@ screenshot scrollbar scrollbars sctp +sdl sealert seatbelt seg diff --git a/docs/usecases/webapp.rst b/docs/usecases/webapp.rst index f76fd5b6353..43e600467c5 100644 --- a/docs/usecases/webapp.rst +++ b/docs/usecases/webapp.rst @@ -19,8 +19,7 @@ why returning data in .json format tends to work out pretty well. :: static int - handle_get_status (http_builtin_method_type_t reqtype, - u8 * request, http_session_t * hs) + handle_get_status (hss_url_handler_args_t *args) { my_main_t *mm = &my_main; u8 *s = 0; @@ -34,11 +33,11 @@ why returning data in .json format tends to work out pretty well. s = format (s, "}}"); /* And tell the static server plugin how to send the results */ - hs->data = s; - hs->data_offset = 0; - hs->cache_pool_index = ~0; - hs->free_data = 1; /* free s when done with it, in the framework */ - return 0; + args->data = s; + args->data_len = vec_len (s); + args->ct = HTTP_CONTENT_APP_JSON; + args->free_vec_data = 1; /* free s when done with it, in the framework */ + return HSS_URL_HANDLER_OK; } Words to the Wise: Chrome has a very nice set of debugging tools. Select @@ -53,7 +52,7 @@ considerable amount of time debugging .json bugs. Step 2: Register URL handlers with the server --------------------------------------------- -Call http_static_server_register_builtin_handler() as shown. It’s likely +Call ``hss_register_url_handler`` as shown. It’s likely but not guaranteed that the static server plugin will be available. :: @@ -65,7 +64,7 @@ but not guaranteed that the static server plugin will be available. /* Look up the builtin URL registration handler */ fp = vlib_get_plugin_symbol ("http_static_plugin.so", - "http_static_server_register_builtin_handler"); + "hss_register_url_handler"); if (fp == 0) { @@ -259,7 +258,7 @@ above: :: - http static server www-root /myhugosite/public uri tcp://0.0.0.0/2345 cache-size 5m fifo-size 8192 + http static server url-handlers www-root /myhugosite/public uri tcp://0.0.0.0/2345 cache-size 5m fifo-size 8192 The www-root must be specified, and must correctly name the compiled hugo site root. If your Hugo site is located at /myhugosite, specify |