Johnny Martinez <[email protected]>
9:57 AM (5 hours ago)
to Benoit
*@Ben *- thank you *VERY *much for the detailed response!
I had *partial *success but almost there - now I am seeing some DPDK errors
and other behavior outlined below.
On my test device I have 3 interfaces:
- Management interface (kernel interface, not managed by VPP)
- vpp-wan interface
- vpp-lan interface
I configureD the interfaces with the following:
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
lcp default netns dataplane
lcp lcp-sync on
lcp lcp-auto-subint on
# vpp-wan
vpp# lcp create NetVSC1 host-if vpp-wan
vpp# set int state NetVSC1 up
vpp# set int ip address NetVSC1 10.0.2.4/24
vpp# ip route add 0.0.0.0/0 via 10.0.2.1
# vpp-lan
vpp# lcp create NetVSC0 host-if vpp-lan
vpp# set int state NetVSC0 up
vpp# set int ip address NetVSC0 10.0.1.4/24
I am now able to see the two interfaces in vpp *HOWEVER *I am not able to
set the MTU size on either interface to 1500.
vpp# set int mtu 1500 NetVSC0
set interface mtu: Unsupported (dpdk driver doesn't support MTU change)
vpp# set int mtu 1500 NetVSC1
set interface mtu: Unsupported (dpdk driver doesn't support MTU change)
I see the following in the log files using '*journalctl | grep dpdk*' - we
get two seperate DPDK errors. *One seems to be interface specific and the
other when we try to set the MTU size*.
The *orange *error is every second - whereas the MTU error is only when we
try to set the MTU size.
*Apr 29 12:55:15 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_add(): RNDIS
reports VF but device not found, retrying*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_attach():
Couldn't find port for VF*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_add(): RNDIS
reports VF but device not found, retrying*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_attach():
Couldn't find port for VF*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_add(): RNDIS
reports VF but device not found, retrying*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: dpdk: [0]
rte_eth_dev_set_mtu failed (mtu 1496, rv -95)*
*Apr 29 12:55:16 azure-demo-node-001.vnet[2409]: set interface mtu:
Unsupported (dpdk driver doesn't support MTU change*
*Apr 29 12:55:17 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_attach():
Couldn't find port for VF*
*Apr 29 12:55:17 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_add(): RNDIS
reports VF but device not found, retrying*
*Apr 29 12:55:17 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_attach():
Couldn't find port for VF*
*Apr 29 12:55:17 azure-demo-node-001.vnet[2409]: dpdk: hn_vf_add(): RNDIS
reports VF but device not found, retrying*
Anyone have any recommendation on how to resolve this?
*I have also tried setting dev XXX and vdev commands in the dpdk{} block,
but this causes the virtual interfaces not to be found (as you have
previously mentioned).*
*Thank you all in advance for your assistance!*
--
John M
On Fri, Apr 29, 2022 at 2:40 PM Matthew Smith <[email protected]> wrote:
> Hi Ben,
>
> Sure, I'll work on an update to the doc.
>
> -Matt
>
>
> On Fri, Apr 29, 2022 at 3:48 AM Benoit Ganne (bganne) <[email protected]>
> wrote:
>
>> Hi Matt, John,
>>
>> This is a great summary!
>>
>> >> The only reference I could find for VPP in Azure was in this link
>> >> but it is very outdated:
>> >> https://fd.io/docs/vpp/v2101/usecases/vppinazure.html
>>
>> > Yes, that doc is way outdated. I advise against following the
>> instructions
>> > in it.
>>
>> Matt or John, would you mind proposing a patch for that? Even a quick &
>> dirty "here are the steps you need to follow" would be great.
>>
>> Best
>> ben
>>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21305): https://lists.fd.io/g/vpp-dev/message/21305
Mute This Topic: https://lists.fd.io/mt/90759128/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-