summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorRosemarie O'Riorden <roriorde@redhat.com>2021-07-15 17:37:53 -0400
committerIlya Maximets <i.maximets@ovn.org>2021-07-26 03:31:46 +0200
commitde15afa50f3059ab65821e6ab26420a6983c9353 (patch)
treef5fdf8c3b5dea6282cbec577fff49818421758c8 /vswitchd
parenta8621f49d0e40c3720fc9e0629cc7ed3579e7a7f (diff)
downloadopenvswitch-de15afa50f3059ab65821e6ab26420a6983c9353.tar.gz
dpdk: Stop configuring socket-limit with the value of socket-mem.
This change removes the automatic memory limit on start-up of OVS with DPDK. As DPDK supports dynamic memory allocation, there is no need to limit the amount of memory available, if not requested. Currently, if socket-limit is not configured, it is set to the value of socket-mem. With this change, the user can decide to set it or have no memory limit. Removed logs that announce this change and fixed documentation. Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=1949850 Signed-off-by: Rosemarie O'Riorden <roriorde@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.xml8
1 files changed, 1 insertions, 7 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index a88aa19e5..026b5e2ca 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -385,13 +385,7 @@
<code>0</code> will disable the limit for a particular socket.
</p>
<p>
- If not specified, OVS will configure limits equal to the amount of
- preallocated memory specified by <ref column="other_config"
- key="dpdk-socket-mem"/> or <code>--socket-mem</code> in
- <ref column="other_config" key="dpdk-extra"/>. If none of the above
- options specified or <code>--legacy-mem</code> provided in
- <ref column="other_config" key="dpdk-extra"/>, limits will not be
- applied. There is no default value from OVS.
+ If not specified, OVS will not configure limits by default.
Changing this value requires restarting the daemon.
</p>
</column>