Jump to content
Welcome to our new Citrix community!

BLX with DPDK won't start - "Selected cores are not in range"


Recommended Posts

I'm struggling to get BLX up and running with DPDK support.  Had it running fine without on the same machine and now trying to get it working with DPDK for some load testing comparisons.  DPDK is installed and bound to em2. 

 

Network devices using DPDK-compatible driver
============================================
0000:02:00.1 'NetXtreme II BCM5716 Gigabit Ethernet 163b' drv=igb_uio unused=bnx2

Network devices using kernel driver
===================================
0000:02:00.0 'NetXtreme II BCM5716 Gigabit Ethernet 163b' if=em1 drv=bnx2 unused=igb_uio *Active*

 

When I try to start the blx service, it fails and I get the following message in my blx-boot.log:

blx.conf: Error: Selected cores are not in range, there are only 4 cores. Check the dpdk-config.

 

This is my blx,conf:

 

###############################################################################
#
# blx configuration file
#
###############################################################################

# This section provides the bare minimum system level configuration required to bring up blx. 
# Entire section is optional (Default values are taken for fields that are not specified). 
 blx-system-config 
 {
   # Either set worker-processes or dpdk-config token.
   # number of blx worker processes to be started. Default: 1, Minimum: 1 and Maximum: 20
   # worker-processes: 2

   # dpdk EAL core mask parameter. Applicable only when blx-dpdk is installed.
   dpdk-config: -c 0xff

   # to yield CPU or not. Default: no/disable/0. To yield CPU, set value as yes/enable/1
   # cpu-yield: yes

   # ipaddress on which blx-mgmt has to listen to. Default: blx will listen on all ipaddresses. 
   # prefix is optional. If prefix not given, it will be taken as /24.
   ipaddress: 192.168.193.231/23

   # interfaces or sub-interfaces that are to be dedicated for blx. Default: blx will share host traffic with all the interfaces
   # interfaces: sub_interface_name:peth1,type:macvlan,interface_name:eth1
   interfaces: em2

   # http, https and ssh ports to use for blx mgmt. Default mgmt-http-port:9080, default mgmt-https-port:9443 and default mgmt-ssh-port:9022
   # NOTE: if ip addresses and interfaces are dedicated for blx, then the port definitions will be ignored.
   # the format can be either just the "port" or "ip:port". Configuring one port only doesn't open the other port. 
   # mgmt-http-port: 80
   mgmt-http-port: 192.168.193.231:80
   # mgmt-https-port:9443
   mgmt-https-port: 192.168.193.231:443
   # mgmt-ssh-port: 9022
   # mgmt-ssh-port: 7.7.7.100:9022
 }

# This section provides the default route to be configured on blx when in dedicated interfaces mode
# If no interfaces are dedicated for blx, then this section will be ignored.
   static-routes 
   {
  	# default route to configure in the dedicated interfaces mode
	default 192.168.192.1
   }

# This section provides nscli commands to configure blx
 cli-cmds
 {
   # add ns ip 1.1.1.100 255.255.255.0
   # add ns ip 1.1.1.101 255.255.255.0
 }

 

No idea where to go from here.  Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...