From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 933131B56C for ; Mon, 26 Nov 2018 22:38:26 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B55823078A2F; Mon, 26 Nov 2018 21:38:25 +0000 (UTC) Received: from [10.36.112.44] (ovpn-112-44.ams2.redhat.com [10.36.112.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DEA6D600CC; Mon, 26 Nov 2018 21:38:22 +0000 (UTC) To: Stephen Hemminger , Thomas Monjalon Cc: olivier.matz@6wind.com, pascal.mazon@6wind.com, shahafs@mellanox.com, dev@dpdk.org References: <20181126133046.4b118fc6@xeon-e3> From: Maxime Coquelin Message-ID: Date: Mon, 26 Nov 2018 22:38:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181126133046.4b118fc6@xeon-e3> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Mon, 26 Nov 2018 21:38:25 +0000 (UTC) Subject: Re: [dpdk-dev] Fedora 28 fails DPDK 18.11 on Azure/Hyper-V 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: Mon, 26 Nov 2018 21:38:27 -0000 Hi Stephen, On 11/26/18 10:30 PM, Stephen Hemminger wrote: > Started testing DPDK support of Hyper-V in Fedora and discovered that it doesn't work. > Looks like the multiq qdisc is not in the default Fedora kernel configuration. > Hopefully CentOS/RHEL don't have the same problem. > > Not sure why SCH_MULTIQ is in the shipped kernel config files but not present. > Looks like a Fedora build or packaging issue. > > # grep MULTIQ /boot/config* > /boot/config-4.18.13-200.fc28.x86_64:CONFIG_NET_SCH_MULTIQ=m > /boot/config-4.18.18-200.fc28.x86_64:CONFIG_NET_SCH_MULTIQ=m > /boot/config-4.19.2-200.fc28.x86_64:CONFIG_NET_SCH_MULTIQ=m > > # modinfo sch_multiq > modinfo: ERROR: Module sch_multiq not found. Seems to be present on RHEL 7.6: # grep MULTIQ /boot/config* /boot/config-3.10.0-927.el7.x86_64:CONFIG_NET_SCH_MULTIQ=m /boot/config-3.10.0-933.el7.x86_64:CONFIG_NET_SCH_MULTIQ=m # modinfo sch_multiq filename: /lib/modules/3.10.0-933.el7.x86_64/kernel/net/sched/sch_multiq.ko.xz license: GPL retpoline: Y rhelversion: 7.6 srcversion: E65D76B5C459DE4C471B696 depends: intree: Y vermagic: 3.10.0-933.el7.x86_64 SMP mod_unload modversions signer: Red Hat Enterprise Linux kernel signing key sig_key: 51:AD:1E:39:2F:4C:2C:3D:D9:21:F2:2D:5E:F4:44:CF:93:BA:28:8C sig_hashalgo: sha256 I also tried on Fedora 28, and confirm the module isn't installed. > > Testpmd log is: > # dpdk-testpmd --log-level 8 --log-level 'pmd.net.failsafe:debug' -l 1,2 -n 4 -- -i > EAL: Detected 4 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: No free hugepages reported in hugepages-1048576kB > EAL: Probing VFIO support... > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! > EAL: PCI device a1e0:00:02.0 on NUMA socket 0 > EAL: probe driver: 15b3:1014 net_mlx5 > net_mlx5: MPLS over GRE/UDP tunnel offloading disabled due to old OFED/rdma-core version or firmware configuration > net_failsafe: Initializing Fail-safe PMD for net_failsafe_vsc0 > net_failsafe: Creating fail-safe device on NUMA socket 0 > net_failsafe: a1e0:00:02.0 > net_failsafe: net_tap_vsc0,remote=eth1 > net_failsafe: Failsafe port 1 owner info: Fail-safe_0000000000000001 > net_failsafe: Taking control of a probed sub device 0 named a1e0:00:02.0 > rte_pmd_tap_probe(): Initializing pmd_tap for net_tap_vsc0 as dtap0 > qdisc_create_multiq(): Could not add multiq qdisc (2): No such file or directory > eth_dev_tap_create(): dtap0: failed to create multiq qdisc. > eth_dev_tap_create(): Disabling rte flow support: No such file or directory(2) > eth_dev_tap_create(): Remote feature requires flow support. > eth_dev_tap_create(): TAP Unable to initialize net_tap_vsc0 > EAL: Driver cannot attach the device (net_tap_vsc0) > EAL: Failed to attach device on primary process >