* [dpdk-dev] Compiling MLX4 Support into 2.1.0 @ 2015-09-11 16:10 Nathan Speulda 2015-09-11 16:35 ` Adrien Mazarguil 0 siblings, 1 reply; 5+ messages in thread From: Nathan Speulda @ 2015-09-11 16:10 UTC (permalink / raw) To: dev All, I am attempting to do some work using a CX3-Pro adapter in a forwarding environment and am attempting to enable the supported PMD that is included in the 2.1.0 release of DPDK. My base distro is RHEL6.5 for stability reasons. Does anyone have a more detailed idea of how to get the Mellanox PMD working correctly? Does base distro have any impact on this at all? I have been unable to find what I need at the Mellanox community support. Thanks, Nathan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] Compiling MLX4 Support into 2.1.0 2015-09-11 16:10 [dpdk-dev] Compiling MLX4 Support into 2.1.0 Nathan Speulda @ 2015-09-11 16:35 ` Adrien Mazarguil 2015-09-11 16:51 ` Nathan Speulda 0 siblings, 1 reply; 5+ messages in thread From: Adrien Mazarguil @ 2015-09-11 16:35 UTC (permalink / raw) To: Nathan Speulda; +Cc: dev Hi Nathan, On Fri, Sep 11, 2015 at 09:10:03AM -0700, Nathan Speulda wrote: > All, > > I am attempting to do some work using a CX3-Pro adapter in a forwarding > environment and am attempting to enable the supported PMD that is included > in the 2.1.0 release of DPDK. My base distro is RHEL6.5 for stability > reasons. Does anyone have a more detailed idea of how to get the Mellanox > PMD working correctly? Does base distro have any impact on this at all? I > have been unable to find what I need at the Mellanox community support. You need to install Mellanox OFED before attempting to compile the mlx4 PMD, as described in the relevant documentation (doc/guides/nics/mlx4.rst) also available here: http://dpdk.org/doc/guides/nics/mlx4.html See "Prerequisites" and "Getting Mellanox OFED" sections. It should work fine with all Linux distributions supported by Mellanox OFED. In your specific case, RHEL 6.5 is supported by MOFED 3.0-2.0.1. -- Adrien Mazarguil 6WIND ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] Compiling MLX4 Support into 2.1.0 2015-09-11 16:35 ` Adrien Mazarguil @ 2015-09-11 16:51 ` Nathan Speulda 2015-09-11 17:16 ` Olga Shern 2015-09-11 19:09 ` Adrien Mazarguil 0 siblings, 2 replies; 5+ messages in thread From: Nathan Speulda @ 2015-09-11 16:51 UTC (permalink / raw) To: Nathan Speulda, dev Thank you for the response, I followed all of the documentation before I came to the forum on this one. OFED is installed and working correctly with all drivers loaded. I get to the point of compiling dpdk with support enabled and nothing appears to come out during the compile (for mlx4 which is included in the .config). My interfaces are not being seen by the PMD though I am aware it works differently than the base supported adapters. Thanks, Nathan On Fri, Sep 11, 2015 at 9:35 AM, Adrien Mazarguil < adrien.mazarguil@6wind.com> wrote: > Hi Nathan, > > On Fri, Sep 11, 2015 at 09:10:03AM -0700, Nathan Speulda wrote: > > All, > > > > I am attempting to do some work using a CX3-Pro adapter in a forwarding > > environment and am attempting to enable the supported PMD that is > included > > in the 2.1.0 release of DPDK. My base distro is RHEL6.5 for stability > > reasons. Does anyone have a more detailed idea of how to get the > Mellanox > > PMD working correctly? Does base distro have any impact on this at > all? I > > have been unable to find what I need at the Mellanox community support. > > You need to install Mellanox OFED before attempting to compile the mlx4 > PMD, as described in the relevant documentation (doc/guides/nics/mlx4.rst) > also available here: > > http://dpdk.org/doc/guides/nics/mlx4.html > > See "Prerequisites" and "Getting Mellanox OFED" sections. > > It should work fine with all Linux distributions supported by Mellanox > OFED. In your specific case, RHEL 6.5 is supported by MOFED 3.0-2.0.1. > > -- > Adrien Mazarguil > 6WIND > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] Compiling MLX4 Support into 2.1.0 2015-09-11 16:51 ` Nathan Speulda @ 2015-09-11 17:16 ` Olga Shern 2015-09-11 19:09 ` Adrien Mazarguil 1 sibling, 0 replies; 5+ messages in thread From: Olga Shern @ 2015-09-11 17:16 UTC (permalink / raw) To: Nathan Speulda, dev Nathan, What application are you running? Please send the output of it. Please send output of ofed_info -s, ibdev2netdev and ibv_devinfo. Do you see any errors in dmesg? Regards, Olga Sent from Samsung Mobile. -------- Original message -------- From: Nathan Speulda Date:11/09/2015 7:51 PM (GMT+02:00) To: Nathan Speulda ,dev@dpdk.org Subject: Re: [dpdk-dev] Compiling MLX4 Support into 2.1.0 Thank you for the response, I followed all of the documentation before I came to the forum on this one. OFED is installed and working correctly with all drivers loaded. I get to the point of compiling dpdk with support enabled and nothing appears to come out during the compile (for mlx4 which is included in the .config). My interfaces are not being seen by the PMD though I am aware it works differently than the base supported adapters. Thanks, Nathan On Fri, Sep 11, 2015 at 9:35 AM, Adrien Mazarguil < adrien.mazarguil@6wind.com> wrote: > Hi Nathan, > > On Fri, Sep 11, 2015 at 09:10:03AM -0700, Nathan Speulda wrote: > > All, > > > > I am attempting to do some work using a CX3-Pro adapter in a forwarding > > environment and am attempting to enable the supported PMD that is > included > > in the 2.1.0 release of DPDK. My base distro is RHEL6.5 for stability > > reasons. Does anyone have a more detailed idea of how to get the > Mellanox > > PMD working correctly? Does base distro have any impact on this at > all? I > > have been unable to find what I need at the Mellanox community support. > > You need to install Mellanox OFED before attempting to compile the mlx4 > PMD, as described in the relevant documentation (doc/guides/nics/mlx4.rst) > also available here: > > http://dpdk.org/doc/guides/nics/mlx4.html > > See "Prerequisites" and "Getting Mellanox OFED" sections. > > It should work fine with all Linux distributions supported by Mellanox > OFED. In your specific case, RHEL 6.5 is supported by MOFED 3.0-2.0.1. > > -- > Adrien Mazarguil > 6WIND > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] Compiling MLX4 Support into 2.1.0 2015-09-11 16:51 ` Nathan Speulda 2015-09-11 17:16 ` Olga Shern @ 2015-09-11 19:09 ` Adrien Mazarguil 1 sibling, 0 replies; 5+ messages in thread From: Adrien Mazarguil @ 2015-09-11 19:09 UTC (permalink / raw) To: Nathan Speulda; +Cc: dev On Fri, Sep 11, 2015 at 09:51:19AM -0700, Nathan Speulda wrote: > Thank you for the response, > > I followed all of the documentation before I came to the forum on this > one. OFED is installed and working correctly with all drivers loaded. I > get to the point of compiling dpdk with support enabled and nothing appears > to come out during the compile (for mlx4 which is included in the > .config). My interfaces are not being seen by the PMD though I am aware it > works differently than the base supported adapters. I understand you do not see anything like the following lines while DPDK is being compiled? == BUILD drivers/net/mlx4 CC mlx4.o AR librte_pmd_mlx4.a INSTALL-LIB librte_pmd_mlx4.a If you don't, something is wrong in your .config, perhaps you haven't edited the right one? Depending on your target, DPDK may generate another with default options in an unexpected place and use it instead of your own. Otherwise, I suggest following Olga's advice, your ports may not be in the right mode (IB instead of Ethernet), or you're using the wrong kernel modules in which case mlx4 usually complains during startup. This is only a guess, please provide compilation, program (testpmd?) startup logs and the related command line if it still doesn't work. -- Adrien Mazarguil 6WIND ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-11 19:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-09-11 16:10 [dpdk-dev] Compiling MLX4 Support into 2.1.0 Nathan Speulda 2015-09-11 16:35 ` Adrien Mazarguil 2015-09-11 16:51 ` Nathan Speulda 2015-09-11 17:16 ` Olga Shern 2015-09-11 19:09 ` Adrien Mazarguil
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).