[vpp-dev] mbuf allocating

2021-09-26 Thread Mohsen Meamarian
Hi friends,

I got a problem with mbuf allocating. with increase rx-queue and socket-mem
, dpdk needs more mbuf and says :

100 mbufs allocated but total rx/tx ring size is 2064384.

but when I increase mbuf , creating mbuf pool in vpp starting failed :

vnet[18135]: dpdk_pool_create:504: ioctl(VFIO_IOMMU_MAP_DMA) pool
'dpdk_mbuf_pool_socket0': Bad address (errno 14)

how can I allocate more memory for mbuf creating pool?

Best regards
Mohsen Memariyan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20203): https://lists.fd.io/g/vpp-dev/message/20203
Mute This Topic: https://lists.fd.io/mt/85874405/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] config 1G hugepage

2021-09-24 Thread Mohsen Meamarian
Hi,

Thanks, is there a way to increase the tx/rx descriptor, i see this for 1G
and 10G interface, both have a 4096 max:

 rx: queues 1 (max 192), desc 1024 (min 64 max 4096 align 32)
tx: queues 38 (max 192), desc 1024 (min 64 max 4096 align 32)

rx: queues 1 (max 8), desc 1024 (min 32 max 4096 align 8)
tx: queues 8 (max 8), desc 1024 (min 32 max 4096 align 8)


But in maillist, i saw some mail that thay have a 10G interface with 65500
descriptor, why?


On Wed, Sep 22, 2021, 19:57 Damjan Marion  wrote:

>
> With running VPP you can do:
>
> $ grep huge /proc/$(pgrep vpp)/numa_maps
> 10 default file=/memfd:buffers-numa-0\040(deleted) huge dirty=19
> N0=19 kernelpagesize_kB=2048
> 100260 default file=/memfd:buffers-numa-1\040(deleted) huge dirty=19
> N1=19 kernelpagesize_kB=2048
> 1004c0 default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=2048
>
> 1st line - 19 2048K memfd backed  hugepages on numa 0
> 2nd line - 19 2048K memfd backed hugepages on numa 1
> 3rd line - one 2048K anonymous hugepage on numa 1
>
> first two are buffer pool memory, 3rd one is likely some physmem used by
> native driver
>
>
> If you add to startup.conf:
>
> memory {
>   main-heap-page-size 1G
> }
>
>
> $grep huge /proc/$(pgrep vpp)/numa_maps
> 10 default file=/memfd:buffers-numa-0\040(deleted) huge dirty=19
> N0=19 kernelpagesize_kB=2048
> 100260 default file=/memfd:buffers-numa-1\040(deleted) huge dirty=19
> N1=19 kernelpagesize_kB=2048
> 1004c0 default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=2048
> 7fbc default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=1048576
>
> last line is main heap allocated as single anonymous 1G hugepage.
>
> VPP is not using filesystem backed hugepages so you will not find anything
> in /var/run/huge….
>
> —
> Damjan
>
>
>
> > On 21.09.2021., at 20:11, Mohsen Meamarian 
> wrote:
> >
> > Hi,
> > Thanks, Is there a way to make sure how many Hugespages are ready to Vpp
> using? Immediately after Start Vpp, I open the "/ run / vpp / hugepages "
> file but it is empty. Is the VPP mechanism to occupy the Hugepage if needed
> or does Vpp reserve it for itself from the beginning?
> > 
> >
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20200): https://lists.fd.io/g/vpp-dev/message/20200
Mute This Topic: https://lists.fd.io/mt/85744775/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] config 1G hugepage

2021-09-21 Thread Mohsen Meamarian
Hi,
Thanks, Is there a way to make sure how many Hugespages are ready to Vpp using? 
Immediately after Start Vpp, I open the "/ run / vpp / hugepages " file but it 
is empty. Is the VPP mechanism to occupy the Hugepage if needed or does Vpp 
reserve it for itself from the beginning?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20171): https://lists.fd.io/g/vpp-dev/message/20171
Mute This Topic: https://lists.fd.io/mt/85744775/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] Getting Dpdk-input : no error

2021-09-18 Thread Mohsen Meamarian
Hi,
It says :

vpp# show ip fib 48.0.0.1
ipv4-VRF:0, fib_index:0, flow hash:[src dst sport dport proto ] 
locks:[src:plugin-hi:2, src:recursive-resolution:2, src:default-route:1, ]
48.0.0.0/8 fib:0 index:30 locks:2
src:CLI refs:1 src-flags:added,contributing,active,
path-list:[35] locks:2 flags:shared, uPRF-list:36 len:1 itfs:[3, ]
path:[39] pl-index:35 ip4 weight=1 pref=0 recursive: oper-flags:resolved,
via 10.10.30.2 in fib:0 via-fib:31 via-dpo:[dpo-load-balance:33]

forwarding: unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:34 buckets:1 uRPF:36 to:[0:0]]
[0] [@12]: dpo-load-balance: [proto:ip4 index:33 buckets:1 uRPF:35 to:[0:0]]
[0] [@3]: arp-ipv4: via 10.10.30.2 GigabitEthernet2/0/3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20161): https://lists.fd.io/g/vpp-dev/message/20161
Mute This Topic: https://lists.fd.io/mt/85696233/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Getting Dpdk-input : no error

2021-09-18 Thread Mohsen Meamarian
Hi,

Did anyone know why i get this error?
For every 10 packet that i send, 1 packet drop because of this.

Thank you

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20159): https://lists.fd.io/g/vpp-dev/message/20159
Mute This Topic: https://lists.fd.io/mt/85696233/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] getting high throughput from VPP

2021-09-16 Thread Mohsen Meamarian
Hi

I do not have access to the system for the next few days, but as soon as I
access it, I will send the requested configurations. For the startup.conf
file, I have configured something like this:

cpu {
  main-core 0
  corelist-workers 1-37
}

dpdk{
 socket-mem 1024, 1024
 num-mbufs 100

 dev
 48 interface 1G
 10 interface 10G

}


I appreciate if you shared your startup.conf file.

Best regards,
Mohsen Memariyan

On Thu, Sep 16, 2021, 13:23 Venumadhav Josyula  wrote:

> Hi Mohsen,
>
> We recently tested , we are good throughput for gtp-u ( non-ipsec ) case.
> We had link limitation of 10 Gbps... We were doing Line rate for single cpu
> and single gtp-u tunnel.
>
> Can you configuration details ? Also
> show hardware-interfaces
> and startup.conf
>
> Thanks
> Regards
> Vemu
>
> On Thu, Sep 16, 2021, 1:43 PM Mohsen Meamarian 
> wrote:
>
>> Hello to all dear friends,
>>
>> I have trouble getting high throughput from VPP. Where and how can I
>> apply configurations that make the throughput as much as possible? I have
>> attached a photo of the amount of throughput I should have (green) and the
>> amount of throughput I have now (blue). I use 2 CPUs that each have 20
>> cores. I see "htop" command results and all CPU cores almost are in 100%
>> usage. I use VPP in Multi-thread mode. How can I apply effective settings
>> on DPDK via VPP? For example, increasing the size of huge pages. I
>> appreciate any help you can provide.
>>
>> best regards,
>> Mohsen Memariyan
>>
>> 
>>
>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20148): https://lists.fd.io/g/vpp-dev/message/20148
Mute This Topic: https://lists.fd.io/mt/85647105/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] BVI interface on a Bridge domain

2021-08-09 Thread Mohsen Meamarian
Hi ,
What could be the reason for the " l2-flood: BVI packet with unhandled
ethertype " error? Could gns3 simulation conditions cause it?

On Mon, Aug 9, 2021 at 11:53 AM Mohsen Meamarian via lists.fd.io
 wrote:

> Hi friends ,
> I have a problem with ARP delivery to the BVI interface on a BD. I see in
> trace that the ARP packet after l2 flooding goes to the Non-BVI output
> interface , but this doesn't happen for a loopback/BVI interface. thus I
> can't ping 100.3.4.4 from 100.3.4.11.
>
> create bridge-domain 2
> set int l2 bridge GigabitEthernet2/6/0 2
> set int state GigabitEthernet2/6/0 up
>
> create loopback interface
> set int l2 bridge loop0 2 bvi
> set int state loop0 up
> set int ip address loop0 100.3.4.12 / 3.3.3.3/24
>
> Should I configure a route for loop0/BVI or use set ip arp command?
> I also use ip route table 0 100.3.4.0/24 via loop0 but the problem
> remains.I use vpp 18.10.
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19934): https://lists.fd.io/g/vpp-dev/message/19934
Mute This Topic: https://lists.fd.io/mt/84763705/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] BVI interface on a Bridge domain

2021-08-09 Thread Mohsen Meamarian
Hi friends ,
I have a problem with ARP delivery to the BVI interface on a BD. I see in
trace that the ARP packet after l2 flooding goes to the Non-BVI output
interface , but this doesn't happen for a loopback/BVI interface. thus I
can't ping 100.3.4.4 from 100.3.4.11.

create bridge-domain 2
set int l2 bridge GigabitEthernet2/6/0 2
set int state GigabitEthernet2/6/0 up

create loopback interface
set int l2 bridge loop0 2 bvi
set int state loop0 up
set int ip address loop0 100.3.4.12 / 3.3.3.3/24

Should I configure a route for loop0/BVI or use set ip arp command?
I also use ip route table 0 100.3.4.0/24 via loop0 but the problem
remains.I use vpp 18.10.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19927): https://lists.fd.io/g/vpp-dev/message/19927
Mute This Topic: https://lists.fd.io/mt/84763705/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] MAC Learning in vpp

2021-08-05 Thread Mohsen Meamarian
Hi ,
we want to write a port security script. In the first router work normally
, all interfaces have ip addresses . then the user wants to set port
security on an interface. and here we must enable learning mac features on
that interface. For this requirement , we searched and found that when an
interface is added to a bridge , a history of connected device mac
addresses is formed that can be seen by running "sh l2fib all" command. we
can set a limit on the learned mac address on that table too . The
interface , GigabitEthernet2/6/0 , has its previous ip address . cisco can
ping it well . but when we added GigabitEthernet2/6/0 to a bridge-domain it
kept his ip address but Cisco cannot ping that.we don't want to create a
multi-interface bridge-domain and use l2-forwarding.it's just a tool for
make a memory of connected device's mac address .

On Thu, Aug 5, 2021 at 12:46 PM Neale Ranns  wrote:

>
>
> HI Mohsen,
>
>
>
> *From: *Mohsen Meamarian 
> *Date: *Thursday, 5 August 2021 at 08:24
> *To: *Neale Ranns 
> *Cc: *vpp-dev@lists.fd.io 
> *Subject: *Re: [vpp-dev] MAC Learning in vpp
>
> Hi Neale,
>
> Thanks , I’m looking for another way because I have a problem with the
> bridge.
>
>
>
> Another way to do what? Do you want to do l2 forwarding or not?
>
>
>
> I have made a bridge with 2 interfaces, one as BVI and from loopback type
> and the other is GigabitEthernet2/0/6. I send a ping packet to the
> GigabitEthernet2/6/0 interface of my system via a Cisco router, although
> the destination MAC address that vpp detects in the trace is its own MAC
> address, but it doesn't pick up the packet.
>
>
>
> The trace file you sent shows VPP’s address as the source MAC of the
> received packet. The destination MAC is not in the l2fib, hence the drop.
>
> But that aside, you can’t ping an interface that does not have an IP
> address. It’s the BVI that has the IP address – it is the L3 interface here.
>
>
>
> /neale
>
>
>
> I attached my trace and bridge configuration. Also I got another error
> when uu-flood and flood of bridge-domain is enabled: l2 replication drop.I
> have tried both modes with BVI interface and without BVI interface.
>
>
>
> On Wed, Aug 4, 2021 at 4:29 PM Neale Ranns  wrote:
>
> Hi Mohsen,
>
>
>
> Perhaps I misunderstood your intentions. MAC learning I was talking about
> is what a switch/bridge domain does to populate its forwarding tables to
> perform l2 forwarding. My old and limited experience with port-security was
> as a feature on l2 interface in a BD.
>
> If what you wanted was ARP for L3 interfaces, then we’re talking about IP
> neighbours. The size of the ip-neighbour DB (which is shared between ARP
> and ND entries) has only a global not a per-interface limit.
>
> DBGvpp# set ip neighbor-config ?
>
>   set ip neighbor-config       set ip neighbor-config ip4|ip6
> [limit ] [age ] [recycle|norecycle]
>
> there are no other means to control what IP neighbours are or aren’t
> learned.
>
>
>
> /neale
>
>
>
>
>
> *From: *Mohsen Meamarian 
> *Date: *Wednesday, 4 August 2021 at 07:26
> *To: *Neale Ranns 
> *Cc: *vpp-dev@lists.fd.io 
> *Subject: *Re: [vpp-dev] MAC Learning in vpp
>
> Hi Neal,
>
> Thanks, Is there a way to view and limit learned MAC addresses for an
> interface without adding an interface to a bridge-domain?
>
>
>
> On Tue, Aug 3, 2021 at 12:15 PM Neale Ranns  wrote:
>
> HI Mohsen,
>
>
>
> Learning in a BD is enabled by default – your trace shows learning on. You
> can turn in on or off through configuration on the BD or on the input
> interface.
>
> DBGvpp# set bridge-domain ?
>
>   set bridge-domain learn  set bridge-domain learn
>  [disable]
>
>   set bridge-domain learn-limitset bridge-domain learn-limit
>  
>
>
>
> or
>
>
>
> DBGvpp# set interface l2 ?
>
>   set interface l2 learn   set interface l2 learn
>  [disable]
>
>
>
> Ping and ARP work with learning on.
>
>
>
> Note also in the commands above, there is a mechanism to limit the number
> of MACs that can be learnt in each BD.
>
>
>
> /neale
>
>
>
>
>
> *From: *Mohsen Meamarian 
> *Date: *Tuesday, 3 August 2021 at 06:37
> *To: *Neale Ranns 
> *Cc: *vpp-dev@lists.fd.io 
> *Subject: *Re: [vpp-dev] MAC Learning in vpp
>
> Thanks neale,
>
> What is the easiest way to enable learning on an interface while other
> functionality , including passing the ping and arp packets , work normally?
>
>
>
> I want l2_learn_process run for that interface so that I can write a
> function to do something like put a limi

Re: [vpp-dev] MAC Learning in vpp

2021-08-03 Thread Mohsen Meamarian
Hi Neal,
Thanks, Is there a way to view and limit learned MAC addresses for an
interface without adding an interface to a bridge-domain?

On Tue, Aug 3, 2021 at 12:15 PM Neale Ranns  wrote:

> HI Mohsen,
>
>
>
> Learning in a BD is enabled by default – your trace shows learning on. You
> can turn in on or off through configuration on the BD or on the input
> interface.
>
> DBGvpp# set bridge-domain ?
>
>   set bridge-domain learn  set bridge-domain learn
>  [disable]
>
>   set bridge-domain learn-limitset bridge-domain learn-limit
>  
>
>
>
> or
>
>
>
> DBGvpp# set interface l2 ?
>
>   set interface l2 learn   set interface l2 learn
>  [disable]
>
>
>
> Ping and ARP work with learning on.
>
>
>
> Note also in the commands above, there is a mechanism to limit the number
> of MACs that can be learnt in each BD.
>
>
>
> /neale
>
>
>
>
>
> *From: *Mohsen Meamarian 
> *Date: *Tuesday, 3 August 2021 at 06:37
> *To: *Neale Ranns 
> *Cc: *vpp-dev@lists.fd.io 
> *Subject: *Re: [vpp-dev] MAC Learning in vpp
>
> Thanks neale,
>
> What is the easiest way to enable learning on an interface while other
> functionality , including passing the ping and arp packets , work normally?
>
>
>
> I want l2_learn_process run for that interface so that I can write a
> function to do something like put a limiting on maximum connected devices
> with it's help.
>
>
>
>
>
> On Mon, Aug 2, 2021, 23:38 Neale Ranns  wrote:
>
>
>
> HI Moshen,
>
>
>
> *From: *vpp-dev@lists.fd.io  on behalf of Mohsen
> Meamarian via lists.fd.io 
> *Date: *Monday, 2 August 2021 at 18:45
> *To: *vpp-dev@lists.fd.io 
> *Subject: *[vpp-dev] MAC Learning in vpp
>
> Hi friends,
>
> I want to implement port security in vpp. I assume that the
> l2learn_process function in l2_learn.c runs periodically when vpp is active
> and When a device is connected to my system , this function helps to learn
> it's mac. Is this assumption true ?
>
>
>
> No. l2_learn runs for all packets that are received on a link on which
> learning is enabled. You can see it in the trace you provided. It is
> learning in this VLIB node that will populated the l2fib.
>
>
>
> because when I run the sh l2fib command , it returns nothing. but when I
> set an interface as a bridge , the sh l2fib command returns something. my
> commands :
>
>
>
> create bridge-domain 2 arp-term 1
> create loopback interface
> set int l2 bridge loop0 2 bvi
> set interface state loop0 up
> set interface l2 bridge GigabitEthernet0/8/0 2
>
> show bridge-domain 2 detail
> show l2fib all
>
>
>
> but i have a problem here. vpp drop ping packet.Where can the problem come
> from?
>
>
>
> I attached my trace command result to this mail.I get " l2-flood: BVI L3
> mac mismatch " error.
>
>
>
> That shows an ARP packet destined to a unicast MAC. That packet was
> flooded, suggesting an l2fib miss and unknown-unicast flooding is enabled.
> The dst MAC of the packet did not match the MAC of the BVI (the only other
> interface in the BD) so it was dropped.
>
>
>
> /neale
>
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19910): https://lists.fd.io/g/vpp-dev/message/19910
Mute This Topic: https://lists.fd.io/mt/84615988/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] MAC Learning in vpp

2021-08-02 Thread Mohsen Meamarian
Thanks neale,
What is the easiest way to enable learning on an interface while other
functionality , including passing the ping and arp packets , work normally?

I want l2_learn_process run for that interface so that I can write a
function to do something like put a limiting on maximum connected devices
with it's help.


On Mon, Aug 2, 2021, 23:38 Neale Ranns  wrote:

>
>
> HI Moshen,
>
>
>
> *From: *vpp-dev@lists.fd.io  on behalf of Mohsen
> Meamarian via lists.fd.io 
> *Date: *Monday, 2 August 2021 at 18:45
> *To: *vpp-dev@lists.fd.io 
> *Subject: *[vpp-dev] MAC Learning in vpp
>
> Hi friends,
>
> I want to implement port security in vpp. I assume that the
> l2learn_process function in l2_learn.c runs periodically when vpp is active
> and When a device is connected to my system , this function helps to learn
> it's mac. Is this assumption true ?
>
>
>
> No. l2_learn runs for all packets that are received on a link on which
> learning is enabled. You can see it in the trace you provided. It is
> learning in this VLIB node that will populated the l2fib.
>
>
>
> because when I run the sh l2fib command , it returns nothing. but when I
> set an interface as a bridge , the sh l2fib command returns something. my
> commands :
>
>
>
> create bridge-domain 2 arp-term 1
> create loopback interface
> set int l2 bridge loop0 2 bvi
> set interface state loop0 up
> set interface l2 bridge GigabitEthernet0/8/0 2
>
> show bridge-domain 2 detail
> show l2fib all
>
>
>
> but i have a problem here. vpp drop ping packet.Where can the problem come
> from?
>
>
>
> I attached my trace command result to this mail.I get " l2-flood: BVI L3
> mac mismatch " error.
>
>
>
> That shows an ARP packet destined to a unicast MAC. That packet was
> flooded, suggesting an l2fib miss and unknown-unicast flooding is enabled.
> The dst MAC of the packet did not match the MAC of the BVI (the only other
> interface in the BD) so it was dropped.
>
>
>
> /neale
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19897): https://lists.fd.io/g/vpp-dev/message/19897
Mute This Topic: https://lists.fd.io/mt/84615988/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] MAC Learning in vpp

2021-08-02 Thread Mohsen Meamarian
Hi friends,
I want to implement port security in vpp. I assume that the l2learn_process
function in l2_learn.c runs periodically when vpp is active and When a
device is connected to my system , this function helps to learn it's mac.
Is this assumption true ?

because when I run the sh l2fib command , it returns nothing. but when I
set an interface as a bridge , the sh l2fib command returns something. my
commands :

create bridge-domain 2 arp-term 1
create loopback interface
set int l2 bridge loop0 2 bvi
set interface state loop0 up
set interface l2 bridge GigabitEthernet0/8/0 2

show bridge-domain 2 detail
show l2fib all

but i have a problem here. vpp drop ping packet.Where can the problem come
from?

I attached my trace command result to this mail.I get " l2-flood: BVI L3
mac mismatch " error.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19891): https://lists.fd.io/g/vpp-dev/message/19891
Mute This Topic: https://lists.fd.io/mt/84615988/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] cpu core assign in startup.conf

2021-07-03 Thread Mohsen Meamarian
Hi friends ,
I wanted to ask you about how to configure the cpu section in the
startup.conf file. Specifically about the following three parameters:

main-core
corelist-workers
corelist-hqos-threads


We have a server with 40 cpu cores and 56 interfaces. 48 1GB interface and
8 10GB interface. I want to know how many cores to assign if we enable HQOS
for the number x interface?

What are the duties of each group of cpu cores? Is the number of worker
cores more important than the number of HQOS cores? What should be their
numerical ratio?

We use vpp 18.10 .

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19697): https://lists.fd.io/g/vpp-dev/message/19697
Mute This Topic: https://lists.fd.io/mt/83956295/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] MPLS DROP DPO

2021-06-24 Thread Mohsen Meamarian
Hi Neale ,
The problem was solved . Thanks a lot.

Mohsen


On Wed, Jun 23, 2021 at 3:49 PM Neale Ranns  wrote:

>
>
> Hi Mohsen,
>
>
>
> You programmed the non-EOS entry, but the packet was EOS. MPLS lookup is
> really a 21 bit lookup; label & EOS-bit.
>
>
>
> /neale
>
>
>
>
>
> *From: *vpp-dev@lists.fd.io  on behalf of Mohsen
> Meamarian via lists.fd.io 
> *Date: *Wednesday, 23 June 2021 at 09:09
> *To: *vpp-dev@lists.fd.io 
> *Subject: *[vpp-dev] MPLS DROP DPO
>
>
>
> Hi friends ,
>
> I set mpls config between 3 hosts . but the middle host vpp dropped the
> mpls packet . I use trace to see the drop error and see MPLS DROP DPO
> . What could be the reason?
>
> I attached two photos from sh trace & sh mpls fib.
>
> thanks.
>
>
>
>
>
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19633): https://lists.fd.io/g/vpp-dev/message/19633
Mute This Topic: https://lists.fd.io/mt/83732825/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] MPLS DROP DPO

2021-06-23 Thread Mohsen Meamarian
Hi friends ,
I set mpls config between 3 hosts . but the middle host vpp dropped the
mpls packet . I use trace to see the drop error and see MPLS DROP DPO
. What could be the reason?
I attached two photos from sh trace & sh mpls fib.
thanks.



[image: Screenshot (1060).png][image: Screenshot (1059).png]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19625): https://lists.fd.io/g/vpp-dev/message/19625
Mute This Topic: https://lists.fd.io/mt/83732825/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] classfy table with OR logic between mask

2021-04-09 Thread Mohsen Meamarian
Hi ,
classify table mask l3 ip4 src dst

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19169): https://lists.fd.io/g/vpp-dev/message/19169
Mute This Topic: https://lists.fd.io/mt/81979434/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Build/Install new plugin without rebuilding everything

2021-04-01 Thread Mohsen Meamarian
Hi friends ,
I want to rebuild the dpdk plugin without rebuilding everything from
scratch . How can I do that ?
I saw in docs that we can copy sample plugin or any other plugin into a
directory and the run this command :
autoreconf -fis ; ./configure; make
but it says :
autoreconf: 'configure.ac' or 'configure.in' is required

and also it needs a makefile.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19090): https://lists.fd.io/g/vpp-dev/message/19090
Mute This Topic: https://lists.fd.io/mt/81786351/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] OSPF3 packets in router and netlink plugins

2021-03-15 Thread Mohsen Meamarian
Hello,

I'm trying to setup a BGP router using VPP with the router and netlink
plugins and frrouting.org.
A lot of things are already working, but it looks like OSPF IPv6 packets
are not being received by the OSPF6 daemon in FRR.
On my old BGP routers I see the following in a tcpdump:

17:14:36.442928 IP6 fe80::230:48ff:fe7d:77ce > ff02::5: OSPFv3, Hello,
length 44
17:14:36.443458 IP6 fe80::230:48ff:fe33:784e > ff02::5: OSPFv3, Hello,
length 44
17:14:39.123074 IP6 fe80::225:90ff:fee3:da3e > ff02::5: OSPFv3, Hello,
length 36

fe80::225:90ff:fee3:da3e is my new router with VPP and FRR.

On my new router I only see:
15:17:04.148969 IP6 fe80::225:90ff:fee3:da3e > ff02::5: OSPFv3, Hello,
length 36

Has anyone done anything with this before?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18928): https://lists.fd.io/g/vpp-dev/message/18928
Mute This Topic: https://lists.fd.io/mt/81359616/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] VPP with FRR Bring-up - tap interface enable causing crash

2021-03-12 Thread Mohsen Meamarian
Hi ashish ,
I saw an email from you that you wrote about a problem with 
vnet_arp_set_ip4_over_ ethernet in vppsb source code . Do you find any solution 
for this ?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18906): https://lists.fd.io/g/vpp-dev/message/18906
Mute This Topic: https://lists.fd.io/mt/71738703/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Hqos & vpp 20.09

2021-03-10 Thread Mohsen Meamarian
Hi
I have noticed that the hqos code in vpp version 20.09 is deprecated
and they are moved to the extras folder inside the src folder. The
hqos command has also been removed from vppctl.
Is there a possibility for qos in vpp 20.09?
If I move the hqos source code into the original vpp code and make the
code, can I use the qos minimum facilities in vpp?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18896): https://lists.fd.io/g/vpp-dev/message/18896
Mute This Topic: https://lists.fd.io/mt/81228979/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Ripng on tap interface

2021-03-08 Thread Mohsen Meamarian
Hi, Is there anyone here who has successfully configured the ripng protocol
on tap-inject interfaces? Vpp drop ripng advertising packet for ipv4
multicast rpf check fail error.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1): https://lists.fd.io/g/vpp-dev/message/1
Mute This Topic: https://lists.fd.io/mt/81179088/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] ipv6 neighbor solitication sent

2021-03-04 Thread Mohsen Meamarian
Hi .
I am trying to establish an ipv6 static route between 2 vpp_frr ubuntu and
one cisco 7200 . When I run sh error in vppctl I get  neighbor solitication
sent error  . When I run ip6 sh neighbor I see nothing . What is the
problem ?

I am using  VPP 18 and router plugin VPPSB  and frr 7.5.
I already run the enable ip6 interface in vppctl. but when I run the sh ip6
interface I see nothing.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18851): https://lists.fd.io/g/vpp-dev/message/18851
Mute This Topic: https://lists.fd.io/mt/81082674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] ipv6 drops due to concurrent reassemblies limit

2021-03-03 Thread Mohsen Meamarian
Hi , My ubuntu server 1 drop ping packet from ubuntu 2 to R1 Cisco . I use
Trace command in VPP and see error "ipv6 drops due to concurrent
reassemblies limit" . sh ipv6 neighbor command in R1 don't show the network
between ubuntu 1 and ubuntu 2 . what's the problem ? how can i come over on
REASS Limit ? I see this error in ip6_error.h in vpp20.09 source code .

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18842): https://lists.fd.io/g/vpp-dev/message/18842
Mute This Topic: https://lists.fd.io/mt/81056911/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-