From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from guri.nttv6.jp (guri.nttv6.jp [115.69.228.140]) by dpdk.org (Postfix) with ESMTP id 00D921B76D for ; Sat, 14 Apr 2018 08:25:44 +0200 (CEST) Received: from z.nttv6.jp (z.nttv6.jp [192.168.8.15]) by guri.nttv6.jp (NTTv6MTA) with ESMTP id 7A84625F691 for ; Sat, 14 Apr 2018 15:25:41 +0900 (JST) Received: from localhost (fujiko.nttv6.jp [115.69.228.141]) by z.nttv6.jp (NTTv6MTA) with ESMTPSA id 630CB75900C; Sat, 14 Apr 2018 15:25:41 +0900 (JST) Date: Sat, 14 Apr 2018 15:25:37 +0900 (JST) Message-Id: <20180414.152537.1405134463544858754.yasu@nttv6.jp> To: dev@dpdk.org From: Yasuhiro Ohara Organizaton: NTT Communications X-Mailer: Mew version 6.7 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] Mellanox 100GbE MCX516A-CCAT X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2018 06:25:45 -0000 Hi, I am trying to use Mellanox MCX516A-CCAT in DPDK. ConnectX-5 EN network interface card, 100GbE dual-port QSFP28, PCIe3.0 x16, tall bracket, ROHS R6 I noticed it is not supported yet, () but how far is it ? If I setup mlx5 for MCX516A-CCAT, I get these errors. PMD: net_mlx5: Forcing port 9 link to be up PMD: net_mlx5: 0x7ff83ffaae00: error occurred while configuring control flows: Invalid argument WARNING: port[9]: rte_eth_dev_start() failed: error: -11. I guess this is -EAGAIN from below. rte_ethdev.c: rte_eth_dev_start(): 1026 diag = (*dev->dev_ops->dev_start)(dev); mlx5_trigger.c: mlx5_dev_start(): 170 err = priv_force_link_status_change(priv, ETH_LINK_UP); My configuration: dpdk-17.11.1.tar.xz MLNX_OFED_LINUX-4.2-1.2.0.0 (--upstream-libs) fw_ver: 16.22.1002 Initial log messages: EAL: PCI device 0000:af:00.1 on NUMA socket 1 EAL: probe driver: 15b3:1017 net_mlx5 PMD: mlx5.c:615: mlx5_pci_probe(): PCI information matches, using device "mlx5_9" (SR-IOV: false) PMD: mlx5.c:660: mlx5_pci_probe(): 1 port(s) detected PMD: mlx5.c:860: mlx5_pci_probe(): Enhanced MPS is enabled PMD: mlx5.c:887: mlx5_pci_probe(): port 1 MAC address is 50:6b:4b:08:6c:77 If I enable CONFIG_RTE_LIBRTE_MLX5_DEBUG=y, I get the following crash from an assertion. dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_trigger.c:283: priv_dev_traffic_enable: Assertion `(mlx5_ctrl_flow(dev, &multicast, &multicast)) == 0' failed. Thread 1 "progname" received signal SIGABRT, Aborted. 0x00007ffff66c9428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff66c9428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007ffff66cb02a in __GI_abort () at abort.c:89 #2 0x00007ffff66c1bd7 in __assert_fail_base (fmt=, assertion=assertion@entry=0x824ec0 "(mlx5_ctrl_flow(dev, &multicast, &multicast)) == 0", file=file@entry=0x824c68 "/home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_trigger.c", line=line@entry=283, function=function@entry=0x824f30 <__PRETTY_FUNCTION__.38015> "priv_dev_traffic_enable") at assert.c:92 #3 0x00007ffff66c1c82 in __GI___assert_fail ( assertion=assertion@entry=0x824ec0 "(mlx5_ctrl_flow(dev, &multicast, &multicast)) == 0", file=file@entry=0x824c68 "/home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_trigger.c", line=line@entry=283, function=function@entry=0x824f30 <__PRETTY_FUNCTION__.38015> "priv_dev_traffic_enable") at assert.c:101 #4 0x00000000006db033 in priv_dev_traffic_enable ( priv=priv@entry=0x7ff83ffea940, dev=dev@entry=0xd1b580 ) at /home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_trigger.c:283 #5 0x00000000006db1aa in priv_link_start (priv=priv@entry=0x7ff83ffea940) at /home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_ethdev.c:915 #6 0x00000000006dc780 in priv_link_update (priv=priv@entry=0x7ff83ffea940, wait_to_complete=wait_to_complete@entry=0) at /home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_ethdev.c:969 #7 0x00000000006dded9 in priv_force_link_status_change ( priv=priv@entry=0x7ff83ffea940, status=status@entry=1) at /home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_ethdev.c:1000 #8 0x00000000006da92d in mlx5_dev_start (dev=0xd1b580 ) at /home/hspcr/dpdk-stable-17.11.1/drivers/net/mlx5/mlx5_trigger.c:170 #9 0x000000000051dfbd in rte_eth_dev_start () Mellanox(R) ConnectX(R)-4 100G MCX416A-CCAT (2x100G) seems to be working, by the way, in the same configuration. Thanks for help in advance. Best regards, Yasu