[vpp-dev] VPP Mellanox interface dpdk error at startup #dpdk #mellanox

2022-04-20 Thread veras via lists.fd.io
Hi VPP experts.
I'm doing a VPP deployment, and after struggling to have my Mellanox ConnectX-6 
adapter recognized by vpp, now when I start it, it's getting an error message, 
and the interface is in an error state.

vpp# show interface
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
GigabitEthernete7/0/1             3     down         9000/0/0/0
HundredGigabitEthernetc4/0/0      1     error        9000/0/0/0
HundredGigabitEthernetc4/0/1      2     error        9000/0/0/0
local0                            0     down          0/0/0/0
vpp#

The logs I see at journalctl:

Apr 21 01:41:38 den-whs-pc1-01 vpp[4219]: perfmon: skipping source 
'intel-uncore' - intel_uncore_init: no uncore units found
Apr 21 01:41:38 den-whs-pc1-01 vpp[4219]: perfmon: skipping source 'intel-core' 
- intel_core_init: not a IA-32 CPU
Apr 21 01:41:43 den-whs-pc1-01 kernel: vfio-pci :e7:00.1: vfio-noiommu 
device opened by user (vpp:4219)
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: Interface 
HundredGigabitEthernetc4/0/0 error -22: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: Interface 
HundredGigabitEthernetc4/0/0 error -22: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: [0] setup failed Errors:
rte_eth_tx_queue_setup[port: 0, errno:-22]: Unknown error -22
rte_eth_rx_queue_setup[port: 0, errno:-22]: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: Interface 
HundredGigabitEthernetc4/0/1 error -22: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: Interface 
HundredGigabitEthernetc4/0/1 error -22: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: dpdk: [1] setup failed Errors:
rte_eth_tx_queue_setup[port: 1, errno:-22]: Unknown error -22
rte_eth_rx_queue_setup[port: 1, errno:-22]: Unknown error -22
Apr 21 01:41:43 den-whs-pc1-01 vnet[4219]: vat-plug/load: vat_plugin_register: 
oddbuf plugin not loaded...

Can someone please help?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21276): https://lists.fd.io/g/vpp-dev/message/21276
Mute This Topic: https://lists.fd.io/mt/90600536/21656
Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk
Mute #mellanox:https://lists.fd.io/g/vpp-dev/mutehashtag/mellanox
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Emergency JIRA maintenance

2022-04-20 Thread Vanessa Valderrama

JIRA upgrade is complete. Thank you for your patience.

Vanessa

On 4/20/22 12:10 PM, Vanessa Valderrama wrote:
We just received a critical JIRA vulnerability. We're performing 
emergency maintenance to resolve this issue. JIRA will be unavailable 
during this time.


Thank you,

Vanessa


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21275): https://lists.fd.io/g/vpp-dev/message/21275
Mute This Topic: https://lists.fd.io/mt/90588505/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Emergency JIRA maintenance

2022-04-20 Thread Vanessa Valderrama
We just received a critical JIRA vulnerability. We're performing 
emergency maintenance to resolve this issue. JIRA will be unavailable 
during this time.


Thank you,

Vanessa


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21274): https://lists.fd.io/g/vpp-dev/message/21274
Mute This Topic: https://lists.fd.io/mt/90588505/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: Private: Re: [vpp-dev] Queries regarding mfib and multicast support in VPP

2022-04-20 Thread Neale Ranns

You need to add them both in the same command


DBGvpp# ip mroute add 1.1.1.1 239.1.1.1 via loop0 Accept Forward

DBGvpp# sh ip mfib 1.1.1.1 239.1.1.1

ipv4-VRF:0, fib_index:0 flags:none

(1.1.1.1, 239.1.1.1/32):

 fib:0 index:8 locks:1

  src:CLI flags:none locks:1:

path-list:[13] locks:2 flags:no-uRPF, uRPF-list: None

  path:[13] pl-index:13 ip4 weight=1 pref=0 attached:

 loop0

Extensions:

 path:13 flags:Accept,Forward,

Interface-Forwarding:

 loop0: Accept,Forward,   <



  Interfaces:

   loop0: Accept,Forward,

  multicast-ip4-chain

  [@0]: dpo-drop ip4

DBGvpp#


/neale

From: arunmitta...@gmail.com 
Date: Wednesday, 20 April 2022 at 05:47
To: Neale Ranns 
Subject: Private: Re: [vpp-dev] Queries regarding mfib and multicast support in 
VPP
Thanks Neale,

I think this information will help me a lot to understand multicast forwarding 
in VPP.

I am using "ip mroute add 1.1.1.1 239.1.1.1 via Eth0/2 Accept" to configure a 
mroute from VPP CLI. I have observed that, I can configure the interface as 
FORWARD or ACCEPT for the given S, G entry but not both.
With you input, I understand that we can configure an interface with both 
FORWARD as well as ACCEPT attributes. Am I missing something or still there is 
some gap in my understanding ?


root@cnfp:/# cnfp-dbg vpp ip mroute add 1.1.1.1 239.1.1.1 via 
TenGigabitEthernet3/0/1.205 Accept
root@cnfp:/# cnfp-dbg vpp show ip mfib
ipv4-VRF:0, fib_index:0 flags:none
(*, 0.0.0.0/0):  flags:Drop,
  Interfaces:
  multicast-ip4-chain
  [@0]: dpo-drop ip4
(*, 224.0.0.1/32):
  Interfaces:
  multicast-ip4-chain
  [@2]: dpo-replicate: [index:0 buckets:1 flags:[has-local ] to:[0:0]]
[0] [@1]: dpo-receive
(*, 224.0.0.2/32):
  Interfaces:
  multicast-ip4-chain
  [@2]: dpo-replicate: [index:1 buckets:1 flags:[has-local ] to:[0:0]]
[0] [@1]: dpo-receive
(1.1.1.1, 239.1.1.1/32):
  Interfaces:
   TenGigabitEthernet3/0/1.205: Accept,
  multicast-ip4-chain
  [@0]: dpo-drop ip4

root@cnfp:/# cnfp-dbg vpp ip mroute add 1.1.1.1 239.1.1.1 via 
TenGigabitEthernet3/0/1.205 Forward
root@cnfp:/# cnfp-dbg vpp show ip mfib
ipv4-VRF:0, fib_index:0 flags:none
(*, 0.0.0.0/0):  flags:Drop,
  Interfaces:
  multicast-ip4-chain
  [@0]: dpo-drop ip4
(*, 224.0.0.1/32):
  Interfaces:
  multicast-ip4-chain
  [@2]: dpo-replicate: [index:0 buckets:1 flags:[has-local ] to:[0:0]]
[0] [@1]: dpo-receive
(*, 224.0.0.2/32):
  Interfaces:
  multicast-ip4-chain
  [@2]: dpo-replicate: [index:1 buckets:1 flags:[has-local ] to:[0:0]]
[0] [@1]: dpo-receive
(1.1.1.1, 239.1.1.1/32):
  Interfaces:
   TenGigabitEthernet3/0/1.205: Forward,
  multicast-ip4-chain
  [@2]: dpo-replicate: [index:6 buckets:1 flags:[none] to:[0:0]]
[0] [@2]: ipv4-mcast: TenGigabitEthernet3/0/1.205: mtu:9000 next:4 
01005e003cecef457f4b81640800



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21273): https://lists.fd.io/g/vpp-dev/message/21273
Mute This Topic: https://lists.fd.io/mt/90579491/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-