Hi Stanislav,

Thanks for the response.
Please find the response inline


Do you see any errors in `show log`?
>>>>[Pragya]  No I don't see any error log

Do you see this fd 59 in `show unix files`?
>>>>[Pragya] Yes, I can see 59 in show unix files
"show unix files" fetch the fd from "/proc/self/fd/"
but if we go and see /proc/<pid>/fd we don't see any file inode being
created.

So according to OS 59 is never assigned and for subsequent interface
creation it try to have that same tap fd which is 59 here.
I think that causes the issue where the traffic flow is not OK.

Can you suggest how I can debug and address this issue?

Thanks,
Pragya


On Fri, Feb 24, 2023 at 3:24 PM Stanislav Zaikin <zsta...@gmail.com> wrote:

> Hello Pragya,
>
> Do you see any errors in `show log`?
> Do you see this fd 59 in `show unix files`?
>
> On Fri, 24 Feb 2023 at 07:59, Pragya Nand Bhagat <
> pragya.nand.bhaga...@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm using an older version of vpp 20.09 .
>> When I create a bvi interface using bvi create cli.
>> A corresponding tap is created with same name as follows:
>>
>>
>>
>> *itf-pair: [19] bvi100 tap-39-bvi100 bvi100 960 type tap *
>>
>> But one FD of the tap interface is *missing* when I check in linux.
>>
>> vpp# *show tap tap-39-bvi100*
>>
>> Interface: tap-39-bvi100 (ifindex 40)
>>
>>   name "bvi100"
>>
>>   host-ns "(nil)"
>>
>>   host-mac-addr: e4:43:4b:21:f3:86
>>
>>   *vhost-fds 213 214*
>>
>> *  tap-fds 59*
>>
>>   gso-enabled 0
>>
>>   csum-enabled 0
>>
>>
>> In above output there should be 3 FDs  associated with the tap but* one
>> of them is missing.*
>>
>> [root@0-9 /]# ls -l /proc/37/fd | grep 59
>>
>> lrwx------ 1 root root 64 Feb 23 12:03 159 -> /dev/vhost-net
>>
>> *FD 59 is missing*, as a result of which packet transfer between linux
>> and mdp is not happening.
>>
>> Is there some checkin/patch to fix this issue?
>> Any help in debugging this issue will be helpful .
>>
>> Thanks
>> Pragya Nand
>>
>>
>>
>>
>
> --
> Best regards
> Stanislav Zaikin
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22629): https://lists.fd.io/g/vpp-dev/message/22629
Mute This Topic: https://lists.fd.io/mt/97201480/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to