Skip to contentSkip to conversation

arch check in example dpdk_qat

DISCUSSION Thomas Monjalon 2 participants 5 messages Mar 23, 2016 – Mar 24, 2016

lore
Share & tools
lore
#0 lore raw

When reading examples/dpdk_qat/Makefile, we can see this check:

    ifneq ($(CONFIG_RTE_ARCH),"x86_64")
        ifneq ($(LBITS),i686)
        $(error The RTE_TARGET chosen is not compatible with this environment \
        (x86_64), for this application. Please change the definition of the \
        RTE_TARGET environment variable, or run the application on a 32-bit OS)
        endif
    endif

Is it on purpose to limit the 32-bit support to i686 only? Instead of the message "run the application on a 32-bit OS", should it be "on an i686 OS"?

#1 lore raw

Hi Thomas,

Quoted 19 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Wednesday, March 23, 2016 11:04 AM
To: Richardson, Bruce; De Lara Guarch, Pablo
Cc: [email protected]
Subject: arch check in example dpdk_qat

When reading examples/dpdk_qat/Makefile, we can see this check:

    ifneq ($(CONFIG_RTE_ARCH),"x86_64")
        ifneq ($(LBITS),i686)
        $(error The RTE_TARGET chosen is not compatible with this environment

\
(x86_64), for this application. Please change the definition of the \
RTE_TARGET environment variable, or run the application on a 32-bit
OS)
endif
endif

Quoted 3 lines

Is it on purpose to limit the 32-bit support to i686 only? Instead of the message "run the application on a 32-bit OS", should it be "on an i686 OS"?

i686 OS looks fine to me. Basically, when this app was made, the only 32-bit target was i686, and the app needs the QAT driver to be running in 32 bits, if DPDK target is 32-bit.

Thanks,
Pablo

#2 lore raw

2016-03-24 10:50, De Lara Guarch, Pablo:

Quoted 13 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 12 lines

When reading examples/dpdk_qat/Makefile, we can see this check:

    ifneq ($(CONFIG_RTE_ARCH),"x86_64")
        ifneq ($(LBITS),i686)
        $(error The RTE_TARGET chosen is not compatible with this environment

\
(x86_64), for this application. Please change the definition of the \
RTE_TARGET environment variable, or run the application on a 32-bit
OS)
endif
endif

Quoted 5 lines
Quoted 3 lines

Is it on purpose to limit the 32-bit support to i686 only? Instead of the message "run the application on a 32-bit OS", should it be "on an i686 OS"?

i686 OS looks fine to me. Basically, when this app was made, the only 32-bit target was i686,

What about i386, i486, i586 builds ?

Quoted 1 line

and the app needs the QAT driver to be running in 32 bits, if DPDK target is 32-bit.

#3 lore raw
Quoted 24 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Thursday, March 24, 2016 11:01 AM
To: De Lara Guarch, Pablo
Cc: Richardson, Bruce; [email protected]
Subject: Re: arch check in example dpdk_qat

2016-03-24 10:50, De Lara Guarch, Pablo:

Quoted 6 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 5 lines

When reading examples/dpdk_qat/Makefile, we can see this check:

    ifneq ($(CONFIG_RTE_ARCH),"x86_64")
        ifneq ($(LBITS),i686)
        $(error The RTE_TARGET chosen is not compatible with this

environment

Quoted 7 lines
Quoted 7 lines

\
(x86_64), for this application. Please change the definition of the \
RTE_TARGET environment variable, or run the application on a 32-bit
OS)
endif
endif

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Is it on purpose to limit the 32-bit support to i686 only? Instead of the message "run the application on a 32-bit OS", should it be "on an i686 OS"?

i686 OS looks fine to me. Basically, when this app was made, the only 32-bit

target was i686,

What about i386, i486, i586 builds ?

We only support i686, no other 32-bit architectures.

Quoted 3 lines
Quoted 2 lines

and the app needs the QAT driver to be running in 32 bits, if DPDK target is

32-bit.

#4 lore raw

2016-03-24 11:58, De Lara Guarch, Pablo:

Quoted 27 lines
Quoted 27 lines

-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Thursday, March 24, 2016 11:01 AM
To: De Lara Guarch, Pablo
Cc: Richardson, Bruce; [email protected]
Subject: Re: arch check in example dpdk_qat

2016-03-24 10:50, De Lara Guarch, Pablo:

Quoted 6 lines

From: Thomas Monjalon [mailto:[email protected]]

Quoted 5 lines

When reading examples/dpdk_qat/Makefile, we can see this check:

    ifneq ($(CONFIG_RTE_ARCH),"x86_64")
        ifneq ($(LBITS),i686)
        $(error The RTE_TARGET chosen is not compatible with this

environment

Quoted 11 lines
Quoted 10 lines

\
(x86_64), for this application. Please change the definition of the \
RTE_TARGET environment variable, or run the application on a 32-bit
OS)
endif
endif

Is it on purpose to limit the 32-bit support to i686 only? Instead of the message "run the application on a 32-bit OS", should it be "on an i686 OS"?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

i686 OS looks fine to me. Basically, when this app was made, the only 32-bit

target was i686,

What about i386, i486, i586 builds ?

We only support i686, no other 32-bit architectures.

So we need a small patch :)