[vpp-dev] 答复: hi vpp-dev, another question about hugepage

2017-11-21 Thread wanghongbo
Hi,chris:

why would 1GB be huge and wasteful? where will vpp get memory when it support 
10k,100k or more flow tables? Malloc from system? Memory fragmentation? Why not 
use dpdk mempool or memzone that will use hugepage to improve the performance 
of looking flow table?

 

发件人: Luke, Chris [mailto:chris_l...@comcast.com] 
发送时间: 2017年11月21日 23:04
收件人: WANGHONGBO [王洪波]
抄送: vpp-dev@lists.fd.io
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

 

As I recall, VPP only looks for 2MB pages; 1GB would be huge and wasteful.

 

A quick search reminded me of this thread, which may be instructive for you: 
https://lists.fd.io/pipermail/vpp-dev/2017-September/006364.html 

 

Chris.

 

 

From: wanghongbo [mailto:wanghon...@kingsoft.com] 
Sent: Tuesday, November 21, 2017 7:41
To: Luke, Chris 
Cc: vpp-dev@lists.fd.io
Subject: 答复: [vpp-dev] hi vpp-dev, another question about hugepage

 

Hi, chris:
 
Can you spare a few minutes to help me? I have config the 1GB hugepages . But 
vpp still used the 2M hugepage. I want to know configurations How VPP run with 
1GB huge pages. 
 
[root@localhost ~]# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-3.10.0-693.el7.x86_64 root=/dev/mapper/centos-root ro 
crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap 
default_hugepagesz=1G hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on 
isolcpus=0-11 rhgb quiet
 
/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory
/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node1/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory
 
Thanks
wanghongbo
 

发件人: Luke, Chris [mailto:chris_l...@comcast.com] 
发送时间: 2017年11月21日 10:31
收件人: WANGHONGBO [王洪波]
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

 

I understand too, I am just trying to make it easier for people to answer your 
questions and to make it useful for others in future who can search 

 

Chris.

 

From: wanghongbo [mailto:wanghon...@kingsoft.com] 
Sent: Monday, November 20, 2017 21:14
To: Luke, Chris 
Subject: 答复: [vpp-dev] hi vpp-dev, another question about hugepage

 

OK, understand. I just want to list more information for question. Thank you. 

 

发件人: Luke, Chris [  
mailto:chris_l...@comcast.com] 
发送时间: 2017年11月20日 22:14
收件人: WANGHONGBO [王洪波];   vpp-dev@lists.fd.io
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

 

Hello,

 

Apologies for not answering your query, however is there any chance you could 
stop pasting images all the time?  Cut-and-paste will suffice. Including images 
will routinely trip the list-max-message-size limits.

 

Besides, text is searchable and images are not, thus limiting the usefulness to 
future generations.

 

Thanks,

Chris.

 

 

From:   vpp-dev-boun...@lists.fd.io [ 
 mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of wanghongbo
Sent: Monday, November 20, 2017 9:11 AM
To:   vpp-dev@lists.fd.io
Subject: [vpp-dev] hi vpp-dev, another question about hugepage

 

Hi vpp-dev:

 

   I configure the 1G hugepage in /boot/grub2/grub.cfg and split cpu core. 
Then I configure the /etc/sysctl.d/80-vpp.conf.  After reboot the kernel was 
crash. How can I configure the vpp hugepage? Thank you very much. 

 

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] MPLS LABEL problem

2017-11-21 Thread 薛欣颖

Hi guys,

My vpp version :18.01.

vpp1-vpp2
When the flows out of vpp1, it has two layers of tags. 
The flow was dropped in vpp2. And the error information:MPLS not enabled. Is 
there anything wrong in my configuration on vpp2?
Has the configuration in 18.01 changed?


   
 vpp1
  create host-interface name eth2 mac 00:0c:29:6d:b0:82
  create host-interface name eth1 mac 00:0c:29:6d:b0:78
  set interface ip table host-eth2 1
  set interface ip address host-eth2 1.1.1.1/24
  set interface ip address host-eth1 2.1.1.1/24
  set interface state host-eth2 up
  set interface state host-eth1 up
  set interface mpls host-eth1 enable
  create mpls tunnel out-label 33 out-label 34 via 2.1.1.2 host-eth1
  set interface state mpls-tunnel0 up
  mpls table add 1
  ip route add 3.1.1.0/24 via ip4-address 2.1.1.2 interface mpls-tunnel0 table 1
  mpls local-label add eos 1023 table 1 ip4-lookup-in-table 1
  mpls local-label add non-eos 1023 table 1 mpls-lookup-in-table 1

   
 vpp2
  create host-interface name eth2 mac 2c:53:4a:03:93:31
  create host-interface name eth1 mac 2c:53:4a:03:94:59
  set interface ip table host-eth2 1
  set interface ip address host-eth1 2.1.1.2/24
  set interface ip address host-eth2 3.1.1.1/24
  set interface state host-eth2 up
  set interface state host-eth1 up
  set interface mpls host-eth1 enable
  create mpls tunnel out-label 1023 out-label 1024 via 2.1.1.1 host-eth1
  set interface state mpls-tunnel0 up
  mpls table add 1
  ip route add 1.1.1.0/24 via ip4-address 2.1.1.1 interface mpls-tunnel0 table 1
  mpls local-label add eos 34 table 1 ip4-lookup-in-table 1
  mpls local-label add non-eos 33 table 1 mpls-lookup-in-table 1

the vpp2 error information is shown below:

VPP# show errors 
   CountNode  Reason
  4889   mpls-input   MPLS input packets 
decapsulated
  4889   mpls-input   MPLS not enabled
31ip4-input   valid ip4 packets
   103 ethernet-input no error
 2arp-input   ARP replies sent
 1arp-input   ARP request IP4 source 
address learned
VPP# show trace 
--- Start of thread 0 vpp_main ---
Packet 1

00:11:22:232258: af-packet-input
  af_packet: hw_if_index 2 next-index 4
tpacket2_hdr:
  status 0x1 len 132 snaplen 132 mac 66 net 80
  sec 0x5a141690 nsec 0x3162f619 vlan 0
00:11:22:232280: ethernet-input
  MPLS: 00:0c:29:6d:b0:78 -> 2c:53:4a:03:94:59
00:11:22:232332: mpls-input
  MPLS: next BUG![2]  label 33 ttl 255
00:11:22:232342: error-drop
  mpls-input: MPLS not enabled

Thanks,
xyxue


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] [FD.io Helpdesk #48422] Gerrit and git out of sync?

2017-11-21 Thread Florin Coras
Hi Vanessa, 

It seems it got fixed in the morning but yesterday we were lagging something 
like 10+h. The two are now in sync. Hopefully it was just a passing glitch. 

Thanks, 
Florin

> On Nov 21, 2017, at 11:42 AM, Vanessa Valderrama via RT 
>  wrote:
> 
> Can you point me to specific changes that aren't in sync.  The branches 
> appear to be in sync.
> 
> 
> On Mon Nov 20 21:45:46 2017, fcoras.li...@gmail.com wrote:
>> Hi,
>> 
>> It seems that git master head points at a gerrit patch merged 10h
>> ago[1]. There have been several recent merges and none show up [2].
>> Any idea what may be causing this?
>> 
>> Thanks,
>> Florin
>> 
>> [1] https://git.fd.io/vpp/log/ 
>> [2] https://gerrit.fd.io/r/#/q/project:vpp
>> 
> 
> 
> 
> 

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


Re: [vpp-dev] [vppsb-dev] Router plugin and MPLS

2017-11-21 Thread Michael Borokhovich
Hi Mostafa,

It looks like it does not support MPLS and VRFs. But I would like to hear
additional oppinions.

Thanks,
Michael.



On Tue, Nov 21, 2017 at 06:31 Mostafa Salari  wrote:

> Hi Michael,
> This is exactly my question also,
> Does router plugin is a glue between Linux's and VPP's mpls fib?
>
> Thanks
>
>
> On Tue, Nov 14, 2017 at 9:26 PM, Michael Borokhovich  > wrote:
>
>> Hi,
>>
>> Does router plugin (vppsb) support MPLS? We would like to use FRR's LDP
>> in the control plane and VPP in the data plane.
>>
>> Thanks,
>> Michael.
>>
>> On Mon, Nov 13, 2017 at 1:18 PM, Michael Borokhovich <
>> michael...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Does router plugin (vppsb) support MPLS? We would like to use FRR's LDP
>>> in the control plane and VPP in the data plane.
>>>
>>> Thanks,
>>> Michael.
>>>
>>>
>>
>> ___
>> vppsb-dev mailing list
>> vppsb-...@lists.fd.io
>> https://lists.fd.io/mailman/listinfo/vppsb-dev
>>
>>
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] [FD.io Helpdesk #48422] Gerrit and git out of sync?

2017-11-21 Thread Vanessa Valderrama via RT
Can you point me to specific changes that aren't in sync.  The branches appear 
to be in sync.


On Mon Nov 20 21:45:46 2017, fcoras.li...@gmail.com wrote:
> Hi,
> 
> It seems that git master head points at a gerrit patch merged 10h
> ago[1]. There have been several recent merges and none show up [2].
> Any idea what may be causing this?
> 
> Thanks,
> Florin
> 
> [1] https://git.fd.io/vpp/log/ 
> [2] https://gerrit.fd.io/r/#/q/project:vpp
> 




___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


[vpp-dev] Does @router@ plugin support mpls?

2017-11-21 Thread Mostafa Salari
Hi,
I want to glue VPP with FRRouting with Router plugin.
I followed this

guide and ip fib is synced successfully.
But, i want also use FRR for some mpls family protocols.
Is "Router" plugin still my solution?
Regards.
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] hi vpp-dev, another question about hugepage

2017-11-21 Thread Burt Silverman
Out of curiosity, I looked and found /src/plugins/dpdk/device/init.c
that appears to want to support both sizes. I won't try to work through the
code, but perhaps it is just a matter of configuring things so that
variable use_1g remains 1 and use_2m gets set to 0. Function is
dpdk_config(...)

Burt

On Tue, Nov 21, 2017 at 10:03 AM, Luke, Chris 
wrote:

> As I recall, VPP only looks for 2MB pages; 1GB would be huge and wasteful.
>
>
>
> A quick search reminded me of this thread, which may be instructive for
> you: https://lists.fd.io/pipermail/vpp-dev/2017-September/006364.html
>
>
>
> Chris.
>
>
>
>
>
> *From:* wanghongbo [mailto:wanghon...@kingsoft.com]
> *Sent:* Tuesday, November 21, 2017 7:41
> *To:* Luke, Chris 
> *Cc:* vpp-dev@lists.fd.io
> *Subject:* 答复: [vpp-dev] hi vpp-dev, another question about hugepage
>
>
>
> Hi, chris:
>
>
>
> Can you spare a few minutes to help me? I have config the 1GB hugepages . But 
> vpp still used the 2M hugepage. I want to know configurations How VPP run 
> with 1GB huge pages.
>
>
>
> [root@localhost ~]# cat /proc/cmdline
>
> BOOT_IMAGE=/vmlinuz-3.10.0-693.el7.x86_64 root=/dev/mapper/centos-root ro 
> crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap 
> default_hugepagesz=1G hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on 
> isolcpus=0-11 rhgb quiet
>
>
>
> /usr/bin/vpp[1815]: clib_sysfs_read: open 
> `/sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages': 
> No such file or directory
>
> /usr/bin/vpp[1815]: clib_sysfs_read: open 
> `/sys/devices/system/node/node1/hugepages/hugepages-2048kB/free_hugepages': 
> No such file or directory
>
>
>
> Thanks
>
> wanghongbo
>
>
>
> *发件人**:* Luke, Chris [mailto:chris_l...@comcast.com
> ]
> *发送时间:* 2017年11月21日 10:31
> *收件人:* WANGHONGBO [王洪波]
> *主题:* RE: [vpp-dev] hi vpp-dev, another question about hugepage
>
>
>
> I understand too, I am just trying to make it easier for people to answer
> your questions and to make it useful for others in future who can search
> 
>
>
>
> Chris.
>
>
>
> *From:* wanghongbo [mailto:wanghon...@kingsoft.com
> ]
> *Sent:* Monday, November 20, 2017 21:14
> *To:* Luke, Chris 
> *Subject:* 答复: [vpp-dev] hi vpp-dev, another question about hugepage
>
>
>
> OK, understand. I just want to list more information for question. Thank
> you.
>
>
>
> *发件人**:* Luke, Chris [mailto:chris_l...@comcast.com
> ]
> *发送时间:* 2017年11月20日 22:14
> *收件人:* WANGHONGBO [王洪波]; vpp-dev@lists.fd.io
> *主题:* RE: [vpp-dev] hi vpp-dev, another question about hugepage
>
>
>
> Hello,
>
>
>
> Apologies for not answering your query, however is there any chance you
> could stop pasting images all the time?  Cut-and-paste will suffice.
> Including images will routinely trip the list-max-message-size limits.
>
>
>
> Besides, text is searchable and images are not, thus limiting the
> usefulness to future generations.
>
>
>
> Thanks,
>
> Chris.
>
>
>
>
>
> *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io
> ] *On Behalf Of *wanghongbo
> *Sent:* Monday, November 20, 2017 9:11 AM
> *To:* vpp-dev@lists.fd.io
> *Subject:* [vpp-dev] hi vpp-dev, another question about hugepage
>
>
>
> Hi vpp-dev:
>
>
>
>I configure the 1G hugepage in /boot/grub2/grub.cfg and split cpu
> core. Then I configure the /etc/sysctl.d/80-vpp.conf.  After reboot the
> kernel was crash. How can I configure the vpp hugepage? Thank you very much.
>
>
>
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] There was a conflict between vpp-devel-17.10-release.x86_64.rpm and vpp-dpdk-devel-17.08-vpp2.x86_64.rpm

2017-11-21 Thread wanghongbo
hi, chris:
 Thank you for your help. I get source code from official website that used 
"git clone https://gerrit.fd.io/r/vpp;. First I build  the dpdk-devel and 
install. Last I build the vpp rpm packages. The end result is conflict.

发自我的 iPhone

> 在 2017年11月21日,下午11:20,Luke, Chris  写道:
> 
> Looks like an issue in the RPM packaging. The .spec file for the -devel 
> package includes the line:
>  
>   %{_includedir}/*
>  
> Which will include the dpdk dir if it exists at that build time. The dpdk 
> devel package is usually built elsewhere so I am surprised the vpp build dir 
> has this, but I guess something touches the directory on the vpp-devel build. 
> You should open a bug report at https://jira.fd.io ; I’ve also cc’ed the 
> person who has worked the most on the RPM packaging in case he can enlighten 
> us.
>  
> Last thing, did you build the packages from source yourself, or use one of 
> our pre-built packages from a repository?
>  
> Thanks,
> Chris.
>  
>  
> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
> Behalf Of wanghongbo
> Sent: Tuesday, November 21, 2017 8:49
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] There was a conflict between 
> vpp-devel-17.10-release.x86_64.rpm and vpp-dpdk-devel-17.08-vpp2.x86_64.rpm
>  
>  
> hi all:
>  
>  The vpp-devel-17.10-release.x86_64.rpm conflicted with 
> vpp-dpdk-devel-17.08-vpp2.x86_64 when I installed the rpm package. Should I 
> used the rpm –force parameter. Thank you very much!
>  
>  
> [root@localhost rpm]# ls
> Makefile  vpp-17.10.0
> vpp-api-lua-17.10-release.x86_64.rpm vpp-lib-17.10-release.x86_64.rpm 
>  vpp.spec
> RPMS  vpp-17.10-release.x86_64.rpm   
> vpp-api-python-17.10-release.x86_64.rpm  vpp-plugins-17.10-release.x86_64.rpm
> SOURCES   vpp-api-java-17.10-release.x86_64.rpm  
> vpp-devel-17.10-release.x86_64.rpm   vpp.service
> [root@localhost rpm]# rpm -ivh *.rpm
> Preparing...  # [100%]
> file /usr/include/dpdk from install of vpp-devel-17.10-release.x86_64 
> conflicts with file from package vpp-dpdk-devel-17.08-vpp2.x86_64
> [root@localhost rpm]# rpm -qa | grep vpp
> vpp-dpdk-devel-17.08-vpp2.x86_64
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] There was a conflict between vpp-devel-17.10-release.x86_64.rpm and vpp-dpdk-devel-17.08-vpp2.x86_64.rpm

2017-11-21 Thread Luke, Chris
Looks like an issue in the RPM packaging. The .spec file for the -devel package 
includes the line:

  %{_includedir}/*

Which will include the dpdk dir if it exists at that build time. The dpdk devel 
package is usually built elsewhere so I am surprised the vpp build dir has 
this, but I guess something touches the directory on the vpp-devel build. You 
should open a bug report at https://jira.fd.io ; I've also cc'ed the person who 
has worked the most on the RPM packaging in case he can enlighten us.

Last thing, did you build the packages from source yourself, or use one of our 
pre-built packages from a repository?

Thanks,
Chris.


From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of wanghongbo
Sent: Tuesday, November 21, 2017 8:49
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] There was a conflict between 
vpp-devel-17.10-release.x86_64.rpm and vpp-dpdk-devel-17.08-vpp2.x86_64.rpm


hi all:

 The vpp-devel-17.10-release.x86_64.rpm conflicted with 
vpp-dpdk-devel-17.08-vpp2.x86_64 when I installed the rpm package. Should I 
used the rpm -force parameter. Thank you very much!


[root@localhost rpm]# ls
Makefile  vpp-17.10.0
vpp-api-lua-17.10-release.x86_64.rpm vpp-lib-17.10-release.x86_64.rpm  
vpp.spec
RPMS  vpp-17.10-release.x86_64.rpm   
vpp-api-python-17.10-release.x86_64.rpm  vpp-plugins-17.10-release.x86_64.rpm
SOURCES   vpp-api-java-17.10-release.x86_64.rpm  
vpp-devel-17.10-release.x86_64.rpm   vpp.service
[root@localhost rpm]# rpm -ivh *.rpm
Preparing...  # [100%]
file /usr/include/dpdk from install of vpp-devel-17.10-release.x86_64 
conflicts with file from package vpp-dpdk-devel-17.08-vpp2.x86_64
[root@localhost rpm]# rpm -qa | grep vpp
vpp-dpdk-devel-17.08-vpp2.x86_64
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] hi vpp-dev, another question about hugepage

2017-11-21 Thread Luke, Chris
As I recall, VPP only looks for 2MB pages; 1GB would be huge and wasteful.

A quick search reminded me of this thread, which may be instructive for you: 
https://lists.fd.io/pipermail/vpp-dev/2017-September/006364.html

Chris.


From: wanghongbo [mailto:wanghon...@kingsoft.com]
Sent: Tuesday, November 21, 2017 7:41
To: Luke, Chris 
Cc: vpp-dev@lists.fd.io
Subject: 答复: [vpp-dev] hi vpp-dev, another question about hugepage


Hi, chris:



Can you spare a few minutes to help me? I have config the 1GB hugepages . But 
vpp still used the 2M hugepage. I want to know configurations How VPP run with 
1GB huge pages.



[root@localhost ~]# cat /proc/cmdline

BOOT_IMAGE=/vmlinuz-3.10.0-693.el7.x86_64 root=/dev/mapper/centos-root ro 
crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap 
default_hugepagesz=1G hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on 
isolcpus=0-11 rhgb quiet



/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory

/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node1/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory



Thanks

wanghongbo


发件人: Luke, Chris [mailto:chris_l...@comcast.com]
发送时间: 2017年11月21日 10:31
收件人: WANGHONGBO [王洪波]
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

I understand too, I am just trying to make it easier for people to answer your 
questions and to make it useful for others in future who can search 

Chris.

From: wanghongbo [mailto:wanghon...@kingsoft.com]
Sent: Monday, November 20, 2017 21:14
To: Luke, Chris 
>
Subject: 答复: [vpp-dev] hi vpp-dev, another question about hugepage

OK, understand. I just want to list more information for question. Thank you.

发件人: Luke, Chris [mailto:chris_l...@comcast.com]
发送时间: 2017年11月20日 22:14
收件人: WANGHONGBO [王洪波]; vpp-dev@lists.fd.io
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

Hello,

Apologies for not answering your query, however is there any chance you could 
stop pasting images all the time?  Cut-and-paste will suffice. Including images 
will routinely trip the list-max-message-size limits.

Besides, text is searchable and images are not, thus limiting the usefulness to 
future generations.

Thanks,
Chris.


From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of wanghongbo
Sent: Monday, November 20, 2017 9:11 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] hi vpp-dev, another question about hugepage

Hi vpp-dev:

   I configure the 1G hugepage in /boot/grub2/grub.cfg and split cpu core. 
Then I configure the /etc/sysctl.d/80-vpp.conf.  After reboot the kernel was 
crash. How can I configure the vpp hugepage? Thank you very much.

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] There was a conflict between vpp-devel-17.10-release.x86_64.rpm and vpp-dpdk-devel-17.08-vpp2.x86_64.rpm

2017-11-21 Thread wanghongbo
 

hi all:

 

 The vpp-devel-17.10-release.x86_64.rpm conflicted with
vpp-dpdk-devel-17.08-vpp2.x86_64 when I installed the rpm package. Should I
used the rpm -force parameter. Thank you very much!

 

 

[root@localhost rpm]# ls

Makefile  vpp-17.10.0
vpp-api-lua-17.10-release.x86_64.rpm vpp-lib-17.10-release.x86_64.rpm
vpp.spec

RPMS  vpp-17.10-release.x86_64.rpm
vpp-api-python-17.10-release.x86_64.rpm
vpp-plugins-17.10-release.x86_64.rpm

SOURCES   vpp-api-java-17.10-release.x86_64.rpm
vpp-devel-17.10-release.x86_64.rpm   vpp.service

[root@localhost rpm]# rpm -ivh *.rpm

Preparing...  #
[100%]

file /usr/include/dpdk from install of
vpp-devel-17.10-release.x86_64 conflicts with file from package
vpp-dpdk-devel-17.08-vpp2.x86_64

[root@localhost rpm]# rpm -qa | grep vpp

vpp-dpdk-devel-17.08-vpp2.x86_64

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] 答复: hi vpp-dev, another question about hugepage

2017-11-21 Thread wanghongbo
Hi, chris:
 
Can you spare a few minutes to help me? I have config the 1GB hugepages . But 
vpp still used the 2M hugepage. I want to know configurations How VPP run with 
1GB huge pages. 
 
[root@localhost ~]# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-3.10.0-693.el7.x86_64 root=/dev/mapper/centos-root ro 
crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap 
default_hugepagesz=1G hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on 
isolcpus=0-11 rhgb quiet
 
/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory
/usr/bin/vpp[1815]: clib_sysfs_read: open 
`/sys/devices/system/node/node1/hugepages/hugepages-2048kB/free_hugepages': No 
such file or directory
 
Thanks
wanghongbo
 

发件人: Luke, Chris [mailto:chris_l...@comcast.com] 
发送时间: 2017年11月21日 10:31
收件人: WANGHONGBO [王洪波]
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

 

I understand too, I am just trying to make it easier for people to answer your 
questions and to make it useful for others in future who can search 

 

Chris.

 

From: wanghongbo [mailto:wanghon...@kingsoft.com] 
Sent: Monday, November 20, 2017 21:14
To: Luke, Chris 
Subject: 答复: [vpp-dev] hi vpp-dev, another question about hugepage

 

OK, understand. I just want to list more information for question. Thank you. 

 

发件人: Luke, Chris [  
mailto:chris_l...@comcast.com] 
发送时间: 2017年11月20日 22:14
收件人: WANGHONGBO [王洪波];   vpp-dev@lists.fd.io
主题: RE: [vpp-dev] hi vpp-dev, another question about hugepage

 

Hello,

 

Apologies for not answering your query, however is there any chance you could 
stop pasting images all the time?  Cut-and-paste will suffice. Including images 
will routinely trip the list-max-message-size limits.

 

Besides, text is searchable and images are not, thus limiting the usefulness to 
future generations.

 

Thanks,

Chris.

 

 

From:   vpp-dev-boun...@lists.fd.io [ 
 mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of wanghongbo
Sent: Monday, November 20, 2017 9:11 AM
To:   vpp-dev@lists.fd.io
Subject: [vpp-dev] hi vpp-dev, another question about hugepage

 

Hi vpp-dev:

 

   I configure the 1G hugepage in /boot/grub2/grub.cfg and split cpu core. 
Then I configure the /etc/sysctl.d/80-vpp.conf.  After reboot the kernel was 
crash. How can I configure the vpp hugepage? Thank you very much. 

 

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Luke, Chris
Just FYI, I use ssh-agent to avoid storing my key on shared devices.

Chris.

From: Pierre Pfister (ppfister) [mailto:ppfis...@cisco.com]
Sent: Tuesday, November 21, 2017 3:31
To: vpp-dev@lists.fd.io
Cc: Andrew Yourtchenko ; Luke, Chris 
; John Lo (loj) 
Subject: Re: [vpp-dev] gerrit http authentication

Hello all,

Heads up on this one since it still does not work for me.

I was using https auth on servers that are shared between multiple people (any 
ssh private key left there could be accessed by other root users).
It seems safer to rely on copy/pasting a password for every push than 
multiplying private keys.

Cheers,

- Pierre




Le 19 oct. 2017 à 20:25, John Lo (loj) > 
a écrit :

Yes, I can confirm using LF password does work while https password failed.  
-John

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Andrew Yourtchenko
Sent: Thursday, October 19, 2017 1:29 PM
To: Luke, Chris >
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
foundation password should work... I will test tomorrow but sending mail here 
in case anyone else is interested to try before that.
--a

On 19 Oct 2017, at 16:14, Luke, Chris 
> wrote:
…and certainly not on port != 22.

Chris.

From: Andrew Yourtchenko [mailto:ayour...@gmail.com]
Sent: Thursday, October 19, 2017 9:16
To: Gabriel Ganne >
Cc: Luke, Chris 
>; 
vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I sent the mail to help desk, which opened the ticket 47239. Not sure if there 
is a way to “pile up” a “me too” it’s pretty much a showstopper for me, 
since same as Gabriel - not all of the environments allow SSH...
--a

On 19 Oct 2017, at 13:56, Gabriel Ganne 
> wrote:
Yes, I do.
Pulling works fine, only the review action is an issue.

This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
settings menu.
The gerrit link seems to be still active : 
https://gerrit.fd.io/r/#/settings/http-password
However, the functionnality itself is deactivated

--
Gabriel Ganne

From: Luke, Chris >
Sent: Thursday, October 19, 2017 1:50:30 PM
To: Gabriel Ganne; vpp-dev@lists.fd.io
Subject: RE: gerrit http authentication

Just to be unambiguous for the archives, you mean HTTP authentication when 
pushing patches to Gerrit with Git, and not interactive browsing of the UI?

Chris.

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Gabriel Ganne
Sent: Thursday, October 19, 2017 4:13
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] gerrit http authentication

Hi,

Unless I'm mistaken, it seems http authentication has been removed from gerrit.
It was useful to me, as I work in a company where any non-http traffic is 
blocked.

Do you think it's possible to restore it ?

Best regards,

--
Gabriel Ganne
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Pierre Pfister (ppfister)
Ha, I will try. I always used the long password from gerrit UI.

- Pierre

Le 21 nov. 2017 à 09:40, Andrew Yourtchenko 
> a écrit :

Did you try the http password you use for logging into the gerrit on the web ? 
(Aka “Linux foundation” one ?) that one worked fine for me for the past weeks...

--a

On 21 Nov 2017, at 09:31, Pierre Pfister (ppfister) 
> wrote:

Hello all,

Heads up on this one since it still does not work for me.

I was using https auth on servers that are shared between multiple people (any 
ssh private key left there could be accessed by other root users).
It seems safer to rely on copy/pasting a password for every push than 
multiplying private keys.

Cheers,

- Pierre



Le 19 oct. 2017 à 20:25, John Lo (loj) > 
a écrit :

Yes, I can confirm using LF password does work while https password failed.  
-John

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Andrew Yourtchenko
Sent: Thursday, October 19, 2017 1:29 PM
To: Luke, Chris >
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
foundation password should work... I will test tomorrow but sending mail here 
in case anyone else is interested to try before that.
--a

On 19 Oct 2017, at 16:14, Luke, Chris 
> wrote:
…and certainly not on port != 22.

Chris.

From: Andrew Yourtchenko [mailto:ayour...@gmail.com]
Sent: Thursday, October 19, 2017 9:16
To: Gabriel Ganne >
Cc: Luke, Chris 
>; 
vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I sent the mail to help desk, which opened the ticket 47239. Not sure if there 
is a way to “pile up” a “me too” it’s pretty much a showstopper for me, 
since same as Gabriel - not all of the environments allow SSH...
--a

On 19 Oct 2017, at 13:56, Gabriel Ganne 
> wrote:

Yes, I do.

Pulling works fine, only the review action is an issue.



This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
settings menu.

The gerrit link seems to be still active : 
https://gerrit.fd.io/r/#/settings/http-password

However, the functionnality itself is deactivated



--

Gabriel Ganne


From: Luke, Chris >
Sent: Thursday, October 19, 2017 1:50:30 PM
To: Gabriel Ganne; vpp-dev@lists.fd.io
Subject: RE: gerrit http authentication

Just to be unambiguous for the archives, you mean HTTP authentication when 
pushing patches to Gerrit with Git, and not interactive browsing of the UI?

Chris.

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Gabriel Ganne
Sent: Thursday, October 19, 2017 4:13
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] gerrit http authentication


Hi,



Unless I'm mistaken, it seems http authentication has been removed from gerrit.

It was useful to me, as I work in a company where any non-http traffic is 
blocked.



Do you think it's possible to restore it ?



Best regards,



--

Gabriel Ganne

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Return NIC back to linux

2017-11-21 Thread Avinash Dhar Dubey
Hi,

You can use dpdk script to unbind the PCI device:

*python dpdk-devbind.py -u :00:10.0 *


The script can be found at
*https://github.com/ceph/dpdk/blob/master/tools/dpdk-devbind.py
*


Regards,

Avinash

On Tue, Nov 21, 2017 at 1:01 PM, Holoo Gulakh  wrote:

> Hi
> I bound 2 NICs to vpp in /etc/vpp/startup.conf file in dpdk{} block!
> Now, how can i return NIC handling from vpp to Linux?
>
> Regards
>
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Andrew Yourtchenko
Did you try the http password you use for logging into the gerrit on the web ? 
(Aka “Linux foundation” one ?) that one worked fine for me for the past 
weeks... 

--a

> On 21 Nov 2017, at 09:31, Pierre Pfister (ppfister)  
> wrote:
> 
> Hello all,
> 
> Heads up on this one since it still does not work for me.
> 
> I was using https auth on servers that are shared between multiple people 
> (any ssh private key left there could be accessed by other root users).
> It seems safer to rely on copy/pasting a password for every push than 
> multiplying private keys.
> 
> Cheers,
> 
> - Pierre
> 
> 
> 
>> Le 19 oct. 2017 à 20:25, John Lo (loj)  a écrit :
>> 
>> Yes, I can confirm using LF password does work while https password failed.  
>> -John
>>  
>> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
>> Behalf Of Andrew Yourtchenko
>> Sent: Thursday, October 19, 2017 1:29 PM
>> To: Luke, Chris 
>> Cc: vpp-dev@lists.fd.io
>> Subject: Re: [vpp-dev] gerrit http authentication
>>  
>> I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
>> foundation password should work... I will test tomorrow but sending mail 
>> here in case anyone else is interested to try before that.
>> 
>> --a
>> 
>> On 19 Oct 2017, at 16:14, Luke, Chris  wrote:
>> 
>> …and certainly not on port != 22.
>>  
>> Chris.
>>  
>> From: Andrew Yourtchenko [mailto:ayour...@gmail.com] 
>> Sent: Thursday, October 19, 2017 9:16
>> To: Gabriel Ganne 
>> Cc: Luke, Chris ; vpp-dev@lists.fd.io
>> Subject: Re: [vpp-dev] gerrit http authentication
>>  
>> I sent the mail to help desk, which opened the ticket 47239. Not sure if 
>> there is a way to “pile up” a “me too” it’s pretty much a showstopper 
>> for me, since same as Gabriel - not all of the environments allow SSH...
>> 
>> --a
>> 
>> On 19 Oct 2017, at 13:56, Gabriel Ganne  wrote:
>> 
>> Yes, I do.
>> 
>> Pulling works fine, only the review action is an issue.
>> 
>>  
>> 
>> This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
>> settings menu.
>> 
>> The gerrit link seems to be still active : 
>> https://gerrit.fd.io/r/#/settings/http-password
>> 
>> However, the functionnality itself is deactivated
>> 
>>  
>> 
>> --
>> 
>> Gabriel Ganne
>> 
>> From: Luke, Chris 
>> Sent: Thursday, October 19, 2017 1:50:30 PM
>> To: Gabriel Ganne; vpp-dev@lists.fd.io
>> Subject: RE: gerrit http authentication
>>  
>> Just to be unambiguous for the archives, you mean HTTP authentication when 
>> pushing patches to Gerrit with Git, and not interactive browsing of the UI?
>>  
>> Chris.
>>  
>> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
>> Behalf Of Gabriel Ganne
>> Sent: Thursday, October 19, 2017 4:13
>> To: vpp-dev@lists.fd.io
>> Subject: [vpp-dev] gerrit http authentication
>>  
>> Hi,
>> 
>>  
>> 
>> Unless I'm mistaken, it seems http authentication has been removed from 
>> gerrit.
>> 
>> It was useful to me, as I work in a company where any non-http traffic is 
>> blocked.
>> 
>>  
>> 
>> Do you think it's possible to restore it ?
>> 
>>  
>> 
>> Best regards,
>> 
>>  
>> 
>> --
>> 
>> Gabriel Ganne
>> 
>> ___
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io
>> https://lists.fd.io/mailman/listinfo/vpp-dev
>> ___
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io
>> https://lists.fd.io/mailman/listinfo/vpp-dev
> 
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-11-21 Thread Pierre Pfister (ppfister)
Hello all,

Heads up on this one since it still does not work for me.

I was using https auth on servers that are shared between multiple people (any 
ssh private key left there could be accessed by other root users).
It seems safer to rely on copy/pasting a password for every push than 
multiplying private keys.

Cheers,

- Pierre



Le 19 oct. 2017 à 20:25, John Lo (loj) > 
a écrit :

Yes, I can confirm using LF password does work while https password failed.  
-John

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Andrew Yourtchenko
Sent: Thursday, October 19, 2017 1:29 PM
To: Luke, Chris >
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
foundation password should work... I will test tomorrow but sending mail here 
in case anyone else is interested to try before that.
--a

On 19 Oct 2017, at 16:14, Luke, Chris 
> wrote:
…and certainly not on port != 22.

Chris.

From: Andrew Yourtchenko [mailto:ayour...@gmail.com]
Sent: Thursday, October 19, 2017 9:16
To: Gabriel Ganne >
Cc: Luke, Chris 
>; 
vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I sent the mail to help desk, which opened the ticket 47239. Not sure if there 
is a way to “pile up” a “me too” it’s pretty much a showstopper for me, 
since same as Gabriel - not all of the environments allow SSH...
--a

On 19 Oct 2017, at 13:56, Gabriel Ganne 
> wrote:

Yes, I do.

Pulling works fine, only the review action is an issue.



This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
settings menu.

The gerrit link seems to be still active : 
https://gerrit.fd.io/r/#/settings/http-password

However, the functionnality itself is deactivated



--

Gabriel Ganne


From: Luke, Chris >
Sent: Thursday, October 19, 2017 1:50:30 PM
To: Gabriel Ganne; vpp-dev@lists.fd.io
Subject: RE: gerrit http authentication

Just to be unambiguous for the archives, you mean HTTP authentication when 
pushing patches to Gerrit with Git, and not interactive browsing of the UI?

Chris.

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Gabriel Ganne
Sent: Thursday, October 19, 2017 4:13
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] gerrit http authentication


Hi,



Unless I'm mistaken, it seems http authentication has been removed from gerrit.

It was useful to me, as I work in a company where any non-http traffic is 
blocked.



Do you think it's possible to restore it ?



Best regards,



--

Gabriel Ganne

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] [networking-vpp] new version available

2017-11-21 Thread Jerome Tollet (jtollet)
Folks,
Please, find here below the announce of networking-vpp 17.10. Main improvements 
are:

  *   Support of JSON Web Tokens (RFC7519) to sign messages between the 
controller and compute nodes
  *   Improved Layer 3 data model in etcd to prepare HA
  *   VXLan-GPE ARP population.
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124744.html

We have already started development of next version 18.02 coming with a bunch 
of new interesting features…
Jerome
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev