summaryrefslogtreecommitdiff
path: root/doc/guides/nics
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-10-23 10:07:32 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-10-25 19:00:22 +0200
commitd803feec8d23c0c0394809d8fa6e2563607ce180 (patch)
treed3c35f556c9b0140a013dc660b230b24200c5f25 /doc/guides/nics
parentd8e5e69f3a9b14c336ecc31a11a41c92488a1d28 (diff)
downloaddpdk-d803feec8d23c0c0394809d8fa6e2563607ce180.zip
dpdk-d803feec8d23c0c0394809d8fa6e2563607ce180.tar.gz
dpdk-d803feec8d23c0c0394809d8fa6e2563607ce180.tar.xz
net/memif: fix Unix domain address length
Define MEMIF_SOCKET_UN_SIZE to size of unix domain socket address. Report error in case of longer path. Fixes: b923866c6974 ("net/memif: allow for full key size in socket name") Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'doc/guides/nics')
-rw-r--r--doc/guides/nics/memif.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/nics/memif.rst b/doc/guides/nics/memif.rst
index de2d481..9a56845 100644
--- a/doc/guides/nics/memif.rst
+++ b/doc/guides/nics/memif.rst
@@ -42,7 +42,7 @@ client.
"role=master", "Set memif role", "slave", "master|slave"
"bsize=1024", "Size of single packet buffer", "2048", "uint16_t"
"rsize=11", "Log2 of ring size. If rsize is 10, actual ring size is 1024", "10", "1-14"
- "socket=/tmp/memif.sock", "Socket filename", "/tmp/memif.sock", "string len 256"
+ "socket=/tmp/memif.sock", "Socket filename", "/tmp/memif.sock", "string len 108"
"mac=01:23:45:ab:cd:ef", "Mac address", "01:ab:23:cd:45:ef", ""
"secret=abc123", "Secret is an optional security option, which if specified, must be matched by peer", "", "string len 24"
"zero-copy=yes", "Enable/disable zero-copy slave mode", "no", "yes|no"