Skip to contentSkip to conversation

memif sock does not honor file-prefix

dpdk-dev [email protected] 2 participants 2 messages Apr 4, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=438

            Bug ID: 438
           Summary: memif sock does not honor file-prefix
           Product: DPDK
           Version: 20.02
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

CMD: ./build/l2fwd --vdev=net_tap0 --vdev=net_memif,role=master -l 8,51 --socket-mem=104,0 --socket-limit=1024,0 --file-prefix=custom --proc-type=primary --no-pci -- -p 0x3 -T 1

Issue: start DPDK application with memif.

observation:
`
EAL: Multi-process socket /var/run/dpdk/custom/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
memif_socket_create(): Failed to setup socket /run/memif.sock: Address already in use
`

expectation: memif sock interface is to be in /run/dpdk/custom/memif.sock and not /run/memif.sock

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 32 lines · On Sat, 04 Apr 2020 02:42:15 +0000 [email protected] wrote:

https://bugs.dpdk.org/show_bug.cgi?id=438

            Bug ID: 438
           Summary: memif sock does not honor file-prefix
           Product: DPDK
           Version: 20.02
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

CMD: ./build/l2fwd --vdev=net_tap0 --vdev=net_memif,role=master -l 8,51 --socket-mem=104,0 --socket-limit=1024,0 --file-prefix=custom --proc-type=primary --no-pci -- -p 0x3 -T 1

Issue: start DPDK application with memif.

observation:
`
EAL: Multi-process socket /var/run/dpdk/custom/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
memif_socket_create(): Failed to setup socket /run/memif.sock: Address already in use
`

Quoted 2 lines

expectation: memif sock interface is to be in /run/dpdk/custom/memif.sock and not /run/memif.sock

If it just used abstract socket type it would not have this problem.