[vpp-dev] hqos configuration in vpp (Connection refused)

2018-09-09 Thread Reza Mirzaei
Hi 

I want to config vpp in a way that it can use hqos according to this
tutorial [1], but when i set hqos feature for an interface in
/etc/vpp/starttup.conf and then restart vpp service, it's not clear for
me that why vpp service can not be started. can anyone help me to solve
this problem? 

My modifications on /etc/vpp/startup.conf are as follows: 

 ... 

 cpu { 

 main-core 0
  corelist-workers 1, 2
  corelist-hqos-threads 3
 } 

 dpdk { 

 socket-mem 2048,2048 

 dev :0b:00.0 {
  num-rx-queues 2 hqos
  } 

 num-mbufs 100 

 } 

... 

Output of _VPPCTL_ command after _SERVICE VPP RESTART_: 

   clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'):
Connection refused 

Best regards 

Reza 

Links:
--
[1] https://docs.fd.io/vpp/16.12/qos_doc.html
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[vpp-dev] how to get packet headers

2018-08-15 Thread Reza Mirzaei
Hi 

I want to know how can i get packet headers in vpp. I have checked
src/vnet directory in vpp , but i didn't know where can i find this
structure. can anyone help me to solve this problem? 

Best regards 

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

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


[vpp-dev] Port security on vpp

2018-07-15 Thread Reza Mirzaei
Hi 

I want to know how i can implement or use port security feature on vpp?
I'll be grateful if anyone could help me. 

Best regards 

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

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


[vpp-dev] Port security on vpp

2018-07-01 Thread Reza Mirzaei
Hi 

I want to know how i can implement or use port security feature on vpp?
I'll be grateful if anyone could help me. 

Best regards 

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

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


[vpp-dev] Set different QoS parameters for different pipes (different customers)

2018-05-08 Thread Reza Mirzaei
 

Hi 

I want to set up quality of service in vpp according to these commands
[1], but i don't understand how can i distinguish between different
customers from an interface?? because it said here [2] that currently
there is not an API to create a new HQoS pipe PROFILE and just ONE is
created by default in the code, also it said here [3] that currently
ONLY ONE SUBPORT is supported, so it can be concluded that only one pipe
profile type could be created for an interface and we just can
distinguish between interfaces. 

I want to be able to set different parameters (e.g. token_bucket_rate)
for different pipes on the same interface. 

 can you please help me in this matter? 

Best regards 

Reza 

Links:
--
[1] https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html
[2]
https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html#clicmd_set_dpdk_interface_hqos_pipe
[3]
https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html#clicmd_set_dpdk_interface_hqos_pktfield


[vpp-dev] Set different QoS parameters for different pipes (different customers)

2018-05-01 Thread Reza Mirzaei
Hi 

I want to set up quality of service in vpp according to these commands
[1], but i don't understand how can i distinguish between different
customers from an interface?? because it said here [2] that currently
there is not an API to create a new HQoS pipe PROFILE and just ONE is
created by default in the code, also it said here [3] that currently
ONLY ONE SUBPORT is supported, so it can be concluded that only one pipe
profile type could be created for an interface and we just can
distinguish between interfaces. 

I want to be able to set different parameters (e.g. token_bucket_rate)
for different pipes on the same interface. 

 can you please help me in this matter? 

Best regards 

Reza 

Links:
--
[1] https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html
[2]
https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html#clicmd_set_dpdk_interface_hqos_pipe
[3]
https://docs.fd.io/vpp/18.07/clicmd_src_plugins_dpdk_device.html#clicmd_set_dpdk_interface_hqos_pktfield


[vpp-dev] Config file for QoS

2018-04-30 Thread Reza Mirzaei
Hi 

I want to set qos parameters according to this tutorial [1], but i
couldn't find the file for port, subport and pipe configurations. Can
you please help me in this matter? 

Best regards 

Reza 

Links:
--
[1] https://docs.fd.io/vpp/16.12/qos_doc.html


[vpp-dev] Config file for QoS

2018-04-23 Thread Reza Mirzaei
Hi 

I want to set qos parameters according to this tutorial [1], but i
couldn't find the file for port, subport and pipe configurations. Can
you please help me in this matter? 

Best regards 

Reza 

Links:
--
[1] https://docs.fd.io/vpp/16.12/qos_doc.html


[vpp-dev] vpp acl tutorial

2018-02-21 Thread Reza Mirzaei
Hi 

I want to know that what commands are available for vpp acl, and is
there any tutorial for this matter? 

Best regards 

Reza