From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rgout0706.bt.lon5.cpcloud.co.uk (rgout0706.bt.lon5.cpcloud.co.uk [65.20.0.146]) by dpdk.org (Postfix) with ESMTP id 663531B3DF for ; Thu, 12 Oct 2017 18:25:14 +0200 (CEST) X-OWM-Source-IP: 10.110.13.1 () X-OWM-Env-Sender: terry.montague.1980@btinternet.com X-Junkmail-Premium-Raw: score=11/50, refid=2.7.2:2017.10.12.155716:17:11.235, ip=, rules=__HAS_FROM, __FRAUD_WEBMAIL_FROM, __HAS_REPLYTO, __FRAUD_WEBMAIL_REPLYTO, __TO_MALFORMED_2, __TO_NO_NAME, __HAS_MSGID, __SANE_MSGID, INVALID_MSGID_NO_FQDN, __MIME_VERSION, __CT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __CTYPE_MULTIPART_MIXED, __HAS_X_PRIORITY, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __REPLYTO_SAMEAS_FROM_DOMAIN, __MIME_TEXT_P2, __MIME_TEXT_H2, __SUBJ_ALPHA_NEGATE, SUPERLONG_LINE, __HAS_HTML, __HTML_TAG_DIV, HTML_NO_HTTP, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML, BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, NO_URI_FOUND, NO_CTA_URI_FOUND, PRIORITY_NO_NAME, __MIME_TEXT_H, __MIME_TEXT_P, REPLYTO_SAMEAS_FROM, NO_URI_HTTPS, BODY_SIZE_7000_LESS Received: from webmail21.bt.ext.cpcloud.co.uk (10.110.13.1) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as terry.montague.1980@btinternet.com) id 598528DE06B88085 for users@dpdk.org; Thu, 12 Oct 2017 17:25:13 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507825514; bh=RQWMdeJyiRO1ZsYE8DbRFOs3XtBm96b4fSEjHU3YYYA=; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version; b=vGwq9DaltsCyXI0g6sM55u7X6XG5rayY31bmm5GkQwvWQasus6nCZg1SOmSlXUuUaZbelFQknj7CcDyexWTlnnYPwTBEgIG+XoYaT+3deANeBB+0kdiok6ftzH8BeWHpol7vsDGoz7uVWFYqo8o6bKy6Tyw7gq6anMI9rFm01Ls= Date: Thu, 12 Oct 2017 17:25:13 +0100 (BST) From: "terry.montague.1980@btinternet.com" To: users@dpdk.org Message-ID: <10584144.44687.1507825513567.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Importance: 3 (Normal) X-Priority: 3 (Normal) X-Client-IP: IPv4[81.136.51.70] Epoch[1507825513534] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Assistance please with SR-IOV on Ubuntu/Xen, connecting to i40e VFs from a Virtual Machine. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: terry.montague.1980@btinternet.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 16:25:14 -0000 Hi there, I'm trying to get myself off the ground with connecting to VFs on a i40e from a VM Instance. I'm running Xen on Ubuntu Server - Having bound the device to igb_uio on the host, I've created the vfs by writing to max_vfs in /sys/bus/pci/devices/ After pci-assigning one of the VFs to the VM, from the VM I can see the VF in lspci and I can bind igb_uio to it. However, when I run pktgen, I see the system find the the PCI device and probe with the net_i40e_vf driver, but then I see i40e_init_vf() fail in init_adminq() error code -53 , the cause being i40e_config_asq_regs() is returning -53 as its reading 0xDEADBEEF from the hardware rather than what its actually written to it. So the hardware is not mapped? Its in reset ? Is there setup that I'm missing ? The host system is an HP Z420 workstation - with a Xeon E5-1603. Can anyone offer any assistance ? I'm close, but not close enough. Many thanks Terry