Hi Reza,

I tested HQoS on my fedora system as below and found it working, didn’t see any 
issue;


1.       Make build

2.       Make run STARTUP_CONF=startup.conf

3.       DGBvpp#

startup.conf

unix {
interactive
log /tmp/vpp.log
cli-listen /run/vpp/cli.sock
full-coredump
}

dpdk {
socket-mem 8192,8192

dev 0000:02:00.0 {num-rx-queues 2 hqos}
dev 0000:02:00.1 {num-rx-queues 2 hqos}

num-mbufs 1000000

}

cpu {
main-core 0
corelist-workers 1,2,3,4
corelist-hqos-threads  5,6
}

Thanks,
Jasvinder


From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Reza Mirzaei
Sent: Sunday, September 9, 2018 9:11 AM
To: Vpp Dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] hqos configuration in vpp (Connection refused)


Hi

I want to config vpp in a way that it can use hqos according to this 
tutorial<https://docs.fd.io/vpp/16.12/qos_doc.html>, 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 0000:0b:00.0 {
     num-rx-queues 2 hqos
     }

     num-mbufs 1000000

     }

...



Output of vppctl command after service vpp restart:

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



Best regards

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

View/Reply Online (#10482): https://lists.fd.io/g/vpp-dev/message/10482
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to