Re: [vpp-dev] nat: create NAT session failed

2019-01-17 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Hi,

For endpoint dependent NAT oldest session per user is recycled only when 
expired (classic/vanilla NAT recycle always).

Matus


From: vpp-dev@lists.fd.io  On Behalf Of carlito nueno
Sent: Friday, January 18, 2019 7:45 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] nat: create NAT session failed

Hi all,

When I set nat to endpoint dependent, I am receiving this error message:
Jan 17 19:14:45 test1 vnet[32197]: nat: create NAT session failed
Jan 17 19:14:45 test1 vnet[32197]: nat: max translations per user 10.155.0.2

Here is: sh nat44 sessions
NAT44 sessions:
 thread 0 vpp_main: 0 sessions 
 thread 1 vpp_wk_0: 449 sessions 
  10.155.0.2: 256 dynamic translations, 0 static translations

Here is: startup.conf
unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
  startup-config /home/test1/vpp.conf
}

api-trace {
  on
}

api-segment {
  gid vpp
}

cpu {
  main-core 2
  corelist-workers 3
}

nat {
  translation hash buckets 16000
  max translations per user 256
  endpoint-dependent
}

dpdk {
  num-mbufs 32768
  uio-driver auto
}

When I disable endpoint nat, even though translations hit the max (256), new 
nat sessions are being created and everything is fine.

Any advice?

Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11945): https://lists.fd.io/g/vpp-dev/message/11945
Mute This Topic: https://lists.fd.io/mt/29195721/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] nat: create NAT session failed

2019-01-17 Thread carlito nueno
Hi all,

When I set nat to endpoint dependent, I am receiving this error message:
Jan 17 19:14:45 test1 vnet[32197]: nat: create NAT session failed
Jan 17 19:14:45 test1 vnet[32197]: nat: max translations per user 10.155.0.2

Here is: sh nat44 sessions
NAT44 sessions:
 thread 0 vpp_main: 0 sessions 
 thread 1 vpp_wk_0: 449 sessions 
  10.155.0.2: 256 dynamic translations, 0 static translations

Here is: startup.conf
unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
  startup-config /home/test1/vpp.conf
}

api-trace {
  on
}

api-segment {
  gid vpp
}

cpu {
  main-core 2
  corelist-workers 3
}

nat {
  translation hash buckets 16000
  max translations per user 256
  endpoint-dependent
}

dpdk {
  num-mbufs 32768
  uio-driver auto
}

When I disable endpoint nat, even though translations hit the max (256),
new nat sessions are being created and everything is fine.

Any advice?

Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11944): https://lists.fd.io/g/vpp-dev/message/11944
Mute This Topic: https://lists.fd.io/mt/29195721/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] VPP statistics

2019-01-17 Thread satish . gundu
Hi All,

One query on the VPP statistics.
In the fd.io wiki: https://wiki.fd.io/view/VPP/Using_VPP_In_A_Multi-thread_Model
It's mentioned that VPP statistics get handled by main thread.
However, with 18.01 version, I see a separate threads for stats. Is this a 
recent change in 18.10 ?

vpp# show threads
ID     Name                Type        LWP     Sched Policy (Priority)  lcore  
Core   Socket State
0      vpp_main                        31      other (0)                0      
0      0
1      vpp_wk_0            workers     157     other (0)                1      
1      0
2      vpp_wk_1            workers     158     other (0)                2      
2      0
3      vpp_wk_2            workers     159     other (0)                3      
3      0
4                                   stats       160     other (0)               
 0      0      0

If this is a recent change, Is there any way, we can control this behavior ( 
getting a separate thread for stats or not ).

Thanks & Regards,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11943): https://lists.fd.io/g/vpp-dev/message/11943
Mute This Topic: https://lists.fd.io/mt/29195591/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] wireshark vpp dispatch trace dissector merged

2019-01-17 Thread Jerome Tollet via Lists.Fd.Io
That’s really nice!

De :  au nom de Florin Coras 
Date : jeudi 17 janvier 2019 à 17:25
À : "Dave Barach (dbarach)" 
Cc : "vpp-dev@lists.fd.io" 
Objet : Re: [vpp-dev] wireshark vpp dispatch trace dissector merged

Awesome!

Florin


On Jan 17, 2019, at 5:11 AM, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:

I’m pleased to announce that our dispatch trace wireshark dissector has been 
merged. At some point in the indefinite future, everyone’s favorite distro will 
include a copy of wireshark which knows how to dissect vpp dispatch trace pcap 
files.

I’ll update the docs accordingly.

Dave

From: bugzilla-dae...@wireshark.org 
mailto:bugzilla-dae...@wireshark.org>>
Sent: Thursday, January 17, 2019 6:32 AM
To: wiresh...@barachs.net
Subject: [Bug 15411] [dissector] Add dissector for vector packet processing 
dispatch traces

Comment # 2 on 
bug 15411 from 
Gerrit Code Review

Change 31466 merged by Anders Broman:

VPP: add vpp graph dispatch trace dissector



https://code.wireshark.org/review/31466


You are receiving this mail because:
· You reported the bug.
· You are the assignee for the bug.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11939): https://lists.fd.io/g/vpp-dev/message/11939
Mute This Topic: https://lists.fd.io/mt/29172119/675152
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[fcoras.li...@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11942): https://lists.fd.io/g/vpp-dev/message/11942
Mute This Topic: https://lists.fd.io/mt/29172119/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] wireshark vpp dispatch trace dissector merged

2019-01-17 Thread Edward Warnicke
Woot!

On Thu, Jan 17, 2019 at 10:25 AM Florin Coras 
wrote:

> Awesome!
>
> Florin
>
> On Jan 17, 2019, at 5:11 AM, Dave Barach via Lists.Fd.Io <
> dbarach=cisco@lists.fd.io> wrote:
>
> I’m pleased to announce that our dispatch trace wireshark dissector has
> been merged. At some point in the indefinite future, everyone’s favorite
> distro will include a copy of wireshark which knows how to dissect vpp
> dispatch trace pcap files.
>
> I’ll update the docs accordingly.
>
> Dave
>
> *From:* bugzilla-dae...@wireshark.org 
> *Sent:* Thursday, January 17, 2019 6:32 AM
> *To:* wiresh...@barachs.net
> *Subject:* [Bug 15411] [dissector] Add dissector for vector packet
> processing dispatch traces
>
> *Comment # 2
>  on bug 15411
>  from Gerrit
> Code Review *
>
> Change 31466 merged by Anders Broman:
>
> VPP: add vpp graph dispatch trace dissector
>
>
>
> https://code.wireshark.org/review/31466
>
> --
> You are receiving this mail because:
>
>- You reported the bug.
>- You are the assignee for the bug.
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11939): https://lists.fd.io/g/vpp-dev/message/11939
> Mute This Topic: https://lists.fd.io/mt/29172119/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11940): https://lists.fd.io/g/vpp-dev/message/11940
> Mute This Topic: https://lists.fd.io/mt/29172119/464962
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [hagb...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11941): https://lists.fd.io/g/vpp-dev/message/11941
Mute This Topic: https://lists.fd.io/mt/29172119/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] wireshark vpp dispatch trace dissector merged

2019-01-17 Thread Florin Coras
Awesome!

Florin

> On Jan 17, 2019, at 5:11 AM, Dave Barach via Lists.Fd.Io 
>  wrote:
> 
> I’m pleased to announce that our dispatch trace wireshark dissector has been 
> merged. At some point in the indefinite future, everyone’s favorite distro 
> will include a copy of wireshark which knows how to dissect vpp dispatch 
> trace pcap files.
>  
> I’ll update the docs accordingly.
>  
> Dave
>  
> From: bugzilla-dae...@wireshark.org  
> mailto:bugzilla-dae...@wireshark.org>> 
> Sent: Thursday, January 17, 2019 6:32 AM
> To: wiresh...@barachs.net 
> Subject: [Bug 15411] [dissector] Add dissector for vector packet processing 
> dispatch traces
>  
> Comment # 2  on 
> bug 15411  from 
> Gerrit Code Review 
> Change 31466 merged by Anders Broman:
> VPP: add vpp graph dispatch trace dissector
>  
> https://code.wireshark.org/review/31466 
> 
> You are receiving this mail because:
> You reported the bug.
> You are the assignee for the bug.
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11939): https://lists.fd.io/g/vpp-dev/message/11939 
> 
> Mute This Topic: https://lists.fd.io/mt/29172119/675152 
> 
> Group Owner: vpp-dev+ow...@lists.fd.io 
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
>   [fcoras.li...@gmail.com 
> ]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11940): https://lists.fd.io/g/vpp-dev/message/11940
Mute This Topic: https://lists.fd.io/mt/29172119/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] wireshark vpp dispatch trace dissector merged

2019-01-17 Thread Dave Barach via Lists.Fd.Io
I’m pleased to announce that our dispatch trace wireshark dissector has been 
merged. At some point in the indefinite future, everyone’s favorite distro will 
include a copy of wireshark which knows how to dissect vpp dispatch trace pcap 
files.

I’ll update the docs accordingly.

Dave

From: bugzilla-dae...@wireshark.org 
Sent: Thursday, January 17, 2019 6:32 AM
To: wiresh...@barachs.net
Subject: [Bug 15411] [dissector] Add dissector for vector packet processing 
dispatch traces

Comment # 2 on 
bug 15411 from 
Gerrit Code Review

Change 31466 merged by Anders Broman:

VPP: add vpp graph dispatch trace dissector



https://code.wireshark.org/review/31466


You are receiving this mail because:

  *   You reported the bug.
  *   You are the assignee for the bug.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11939): https://lists.fd.io/g/vpp-dev/message/11939
Mute This Topic: https://lists.fd.io/mt/29172119/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] VPP stats thread

2019-01-17 Thread satish . gundu
Hi All,

One query on the VPP statistics.
In the fd.io wiki: https://wiki.fd.io/view/VPP/Using_VPP_In_A_Multi-thread_Model
It's mentioned that VPP statistics get handled by main thread.
However, with 18.01 version, I see a separate threads for stats. Is this a 
recent change in 18.10 ?

vpp# show threads
ID     Name                Type        LWP     Sched Policy (Priority)  lcore  
Core   Socket State
0      vpp_main                        31      other (0)                0      
0      0
1      vpp_wk_0            workers     157     other (0)                1      
1      0
2      vpp_wk_1            workers     158     other (0)                2      
2      0
3      vpp_wk_2            workers     159     other (0)                3      
3      0
*4                                   stats       160     other (0)              
  0      0      0*

If this is a recent change, Is there any way, we can control this behavior ( 
getting a separate thread for stats or not ).

Thanks & Regards,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11938): https://lists.fd.io/g/vpp-dev/message/11938
Mute This Topic: https://lists.fd.io/mt/29171360/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-