Re: [vpp-dev] Incrementing node counters

2018-11-03 Thread Kingwel Xie
Thanks for the education. will look into the assembly code. 原始邮件 主题: Re: [vpp-dev] Incrementing node counters 来自: "Dave Barach via Lists.Fd.Io" 发至: 2018年11月3日 下午7:55 抄送: Kingwel Xie ,vpp-dev@lists.fd.io You’ll have to look at the instruction stream in gdb or else “g

Re: [vpp-dev] Incrementing node counters

2018-11-03 Thread Dave Barach via Lists.Fd.Io
);   else     return nsim_inline (vm, node, frame, 0 /* is_trace */ ); }   From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Thursday, November 1, 2018 8:43 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Incrementing node counters   Hi vPPers,   I’m looking at the latest changes in IPSEC, and

Re: [vpp-dev] Incrementing node counters

2018-11-03 Thread Kingwel Xie
sim_inline (vm, node, frame, 1 /* is_trace */ ); else return nsim_inline (vm, node, frame, 0 /* is_trace */ ); } From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Thursday, November 1, 2018 8:43 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Incrementing node counters Hi vPPers, I’m l

Re: [vpp-dev] Incrementing node counters

2018-11-02 Thread Dave Barach via Lists.Fd.Io
_trace */ ); } From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Thursday, November 1, 2018 8:43 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Incrementing node counters Hi vPPers, I’m looking at the latest changes in IPSEC, and I notice ip4 and ip6 nodes are separated. So there are a lot of c

[vpp-dev] Incrementing node counters

2018-11-01 Thread Kingwel Xie
Hi vPPers, I’m looking at the latest changes in IPSEC, and I notice ip4 and ip6 nodes are separated. So there are a lot of code in the node function like this: if (is_ip6) vlib_node_increment_counter (vm, esp6_decrypt_node.index,