[vpp-dev] change vhost-user queue size

2018-05-16 Thread Yuliang Li
eps here <https://wiki.fd.io/view/VPP/Use_VPP_to_Chain_VMs_Using_Vhost-User_Interface> to setup the vhost-user interfaces and VM. Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University

[vpp-dev] NFV with VPP

2017-12-05 Thread Yuliang Li
online for these VNF (say, IDS or VPN) that can be plugged into VPP? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Bug?

2017-12-05 Thread Yuliang Li
destination MAC is that of the interface. What you observe is the > expected behavior. -John > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Yuliang Li > *Sent:* Tuesday, December 05, 2017 9:59 AM > *To:* Neale Ranns (nranns) <nra...@cisco.c

Re: [vpp-dev] Bug?

2017-12-05 Thread Yuliang Li
ces which packets arrive at which interfaces. > > > > So, let me bounce this back to you. Under what circumstances do L3 and L2 > ports accept a packet? > > > > Regards, > > neale > > > > *From: *<vpp-dev-boun...@lists.fd.io> on behalf of Yuli

[vpp-dev] Bug?

2017-12-04 Thread Yuliang Li
as int1 does. Does anyone know this problem? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] zero copy when delivering packet from vpp to a VM/container?

2017-11-30 Thread Yuliang Li
Hi all, Is there a way to attach a VM/container to VPP, so that packet between vpp and VM/container requires zero copy? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https

Re: [vpp-dev] ACL

2017-11-19 Thread Yuliang Li
L at the input of an interface is not working. Do you see anything wrong here? Thanks, Yuliang On Tue, Nov 14, 2017 at 5:10 AM, Andrew Yourtchenko <ayour...@gmail.com> wrote: > Cool! > > Sure, you can use vat in that case as well. > > --a > > On 13 Nov 2017, at 22:08, Yul

Re: [vpp-dev] ACL

2017-11-13 Thread Yuliang Li
u a debug build. The $1 and > such is just standard shell scripting, in case I need to pass some > parameters to vat. I don’t think I had ever needed them... > > --a > > On 13 Nov 2017, at 17:40, Yuliang Li <yuliang...@yale.edu> wrote: > > Maybe this is a stupid ques

Re: [vpp-dev] ACL

2017-11-13 Thread Yuliang Li
> it if someone knows... > > —a > > > On 13 Nov 2017, at 03:14, Yuliang Li <yuliang...@yale.edu> wrote: > > > > Thanks for the quick reply. > > > > I still fail to use the vat to configure ACL. After make build-release, > I use sudo build-root/

Re: [vpp-dev] ACL

2017-11-12 Thread Yuliang Li
; Shout if you have any questions, will be happy to answer! :) > > --a > > On 11/12/17, Yuliang Li <yuliang...@yale.edu> wrote: > > Hi, > > > > I want to use the ACL plugin https://wiki.fd.io/view/VPP/SecurityGroups. > It > > seems it can only be configured via

[vpp-dev] ACL

2017-11-12 Thread Yuliang Li
Hi, I want to use the ACL plugin https://wiki.fd.io/view/VPP/SecurityGroups. It seems it can only be configured via API. I only used vppctl before. Can anyone please tell how to use the API to configure? Or is there other ways to configre? Thanks, -- Yuliang Li PhD student Department

[vpp-dev] dpdk output function

2017-10-31 Thread Yuliang Li
Hi, Some node is called "TenGigabitEthernet5/0/1-output". I am using dpdk on this interface. Does anyone know what is the function that this node calls? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University _

Re: [vpp-dev] nat44 address pool not fully used

2017-10-30 Thread Yuliang Li
at Cisco) <matfa...@cisco.com> wrote: > Hi, > > > > Are you on latest? > > Could you please provide “show node counters” output. > > > > Regards, > > Matus > > > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd

[vpp-dev] nat44 address pool not fully used

2017-10-28 Thread Yuliang Li
2 busy tcp ports 0 busy icmp ports 10.1.1.3 tenant VRF independent 0 busy udp ports 0 busy tcp ports 0 busy icmp ports (all following shows 0 busy ports). Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University _

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Yuliang Li
/bihash_template.c): > > > > while (__sync_lock_test_and_set (h->writer_lock, 1)) > > > > On Mon, Oct 16, 2017 at 11:39 AM, Yuliang Li <yuliang...@yale.edu> > wrote: > > Hi all, > > > > I am curious in the SNAT implementation. I see that SNAT's has

Re: [vpp-dev] SNAT hash tables

2017-10-16 Thread Yuliang Li
Get it. It use spinlock (in vppinfra/bihash_template.c): while (__sync_lock_test_and_set (h->writer_lock, 1)) On Mon, Oct 16, 2017 at 11:39 AM, Yuliang Li <yuliang...@yale.edu> wrote: > Hi all, > > I am curious in the SNAT implementation. I see that SNAT's hash tables > <

[vpp-dev] SNAT hash tables

2017-10-16 Thread Yuliang Li
Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] stop handoff in SNAT

2017-07-20 Thread Yuliang Li
gt; Matus >> >> >> >> *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On >> Behalf Of *Yuliang Li >> *Sent:* Thursday, July 20, 2017 5:58 AM >> *To:* vpp-dev@lists.fd.io >> *Subject:* [vpp-dev] stop handoff in SNAT >> >>

Re: [vpp-dev] stop handoff in SNAT

2017-07-20 Thread Yuliang Li
n running multithread because traffic for specific > inside network user must be processed always on same thread in both > directions. > > > > Regards, > > Matus > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Beh

[vpp-dev] stop handoff in SNAT

2017-07-19 Thread Yuliang Li
Hi, Is there a way to stop handoff (move packet from one thread to another) in SNAT? I already use RSS to split packets across threads at the input, so I do not need it to spread traffic across threads again. Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University

[vpp-dev] bug?

2017-07-19 Thread Yuliang Li
s_by_type[VLIB_NODE_TYPE_INPUT]) Should the VLIB_NODE_TYPE_INPUT in line 645 be VLIB_NODE_TYPE_INTERNAL? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/lis

Re: [vpp-dev] use a single interface for SNAT

2017-07-19 Thread Yuliang Li
Oh I just hack it... I am using an L2 switch to connect servers, so I manually setup the ARP tables on all hosts to make sure the traffic goes to the SNAT server. On Wed, Jul 19, 2017 at 1:29 AM, Ole Troan <otr...@employees.org> wrote: > > > On 19 Jul 2017, at 01:21, Yuli

[vpp-dev] thread handling tx

2017-07-18 Thread Yuliang Li
Hi, How can I see the thread that handles the tx of each interface? I can use the "show int rx" to see which thread is responsible for rx, but I want to also see the tx. Thanks, -- Yuliang Li PhD student Department of Computer Science Yale

Re: [vpp-dev] use a single interface for SNAT

2017-07-18 Thread Yuliang Li
Never mind. Solved. On Tue, Jul 18, 2017 at 3:51 PM, Yuliang Li <yuliang...@yale.edu> wrote: > Hi, > > I want to setup SNAT on a server with just one network interface. How > shall I setup the interface address so that both inside-outside and > outside-inside tra

[vpp-dev] use a single interface for SNAT

2017-07-18 Thread Yuliang Li
Hi, I want to setup SNAT on a server with just one network interface. How shall I setup the interface address so that both inside-outside and outside-inside traffic can be forwarded to this server? I failed to assign two IP addresses to the interface. Thanks, -- Yuliang Li PhD student

[vpp-dev] Will adding fields to existing structures affect performance?

2017-07-14 Thread Yuliang Li
, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] monitor function

2017-07-11 Thread Yuliang Li
> > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Yuliang Li > *Sent:* Tuesday, July 11, 2017 21:32 > *To:* Ni, Hongjun <hongjun...@intel.com> > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] monitor function > > >

Re: [vpp-dev] monitor function

2017-07-11 Thread Yuliang Li
https://wiki.fd.io/view/VPP/Command-line_Interface_(CLI)_ > Guide#CLI_features > > > > -Hongjun > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Yuliang Li > *Sent:* Wednesday, July 12, 2017 9:19 AM > *To:* vpp-dev

[vpp-dev] monitor function

2017-07-11 Thread Yuliang Li
Hi, I want to add more things to be monitored when using command "show run". How does the command in vppctl interact with vpp? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing li

Re: [vpp-dev] set mapping from node to thread

2017-07-10 Thread Yuliang Li
e thread_index at > snat-in2out is 1. > > > > Is the above expected? > > Yes. To avoid locking the SNAT plugin splits the "state space" across the > set of workers and does hand off between workers to ensure to match of the > right packet with the worker owning

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
operly. > > Florin > > On Jul 7, 2017, at 5:55 PM, Yuliang Li <yuliang...@yale.edu> wrote: > > I printed 3 thread_index, and all 3 shows the same value: > > 1. vlib_frame_t's thread_index: > For each pending frame p: > > vlib_pending_frame_t *p = nm->pending_f

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
* Special value for next_frame_index when there is no next frame. */ > > #define VLIB_PENDING_FRAME_NO_NEXT_FRAME ((u32) ~0) > > } vlib_pending_frame_t; > > > > Thanks… Dave > > > > *From:* Yuliang Li [mailto:yuliang...@yale.edu] > *Sent:* Friday, July 7, 201

[vpp-dev] ACL commands

2017-07-07 Thread Yuliang Li
Hi, Does anyone knows how to configure ACL in vpp? Is there any document? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] set mapping from node to thread

2017-07-07 Thread Yuliang Li
Hi, Is there a way to set which node should run on which thread? And is there a command that shows the mapping from nodes to threads? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___ vpp-dev mailing list vpp-dev

Re: [vpp-dev] monitor queue

2017-07-02 Thread Yuliang Li
Or, which part of the source code is about the queue? I would like to add some code if there is no existing function that can monitor the queue. On Sun, Jul 2, 2017 at 5:46 PM, Yuliang Li <yuliang...@yale.edu> wrote: > Hi, > > I am new to VPP. I want to monitor the queue (len

[vpp-dev] monitor queue

2017-07-02 Thread Yuliang Li
Hi, I am new to VPP. I want to monitor the queue (length, or packets in it) between different VPPs. Is there any way to monitor the queue regularly, say every 1 sec or 10 ms? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University