Skip to content

Update vrouter-functions.sh#146

Open
cedknight wants to merge 1 commit intoJuniper:masterfrom
cedknight:patch-1
Open

Update vrouter-functions.sh#146
cedknight wants to merge 1 commit intoJuniper:masterfrom
cedknight:patch-1

Conversation

@cedknight
Copy link
Copy Markdown

@cedknight cedknight commented May 11, 2018

Hexadecimal PCI addresses are not taken into account by vrouter-functions.sh
The same bug exists in other branches 3.2 & 4.x.

Below is an example of what happens in my case:

dpdk_nic_bind.py --status

...
0000:5e:00.0 '82599 10 Gigabit Dual Port Backplane Connection' drv=uio_pci_generic unused=ixgbe
...

Here are log messages in /var/log/contrail.log

++ sed -nr -e '/^ *command *=/ {
s/slave=/\x1/g
s/[^\x1]+//
s/\x1([0-9:.]+)[^\x1]+/ \1/g
p
}' /etc/contrail/supervisord_vrouter_files/contrail-vrouter-dpdk.ini

  • DPDK_BOND_PCIS=' 0000'
  • DPDK_BOND_PCIS=0000
    ...
    ++ grep Driver: /var/run/vrouter/0000
    ++ tr -d '[\n\r]'
    grep: /var/run/vrouter/0000: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant