From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by dpdk.org (Postfix) with ESMTP id C19001B2BA for ; Wed, 27 Dec 2017 03:42:21 +0100 (CET) Received: by mail-qk0-f177.google.com with SMTP id x7so27757519qkb.0 for ; Tue, 26 Dec 2017 18:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VVHlAgRp+Xbv/Ut7RV93Crm/GxCQIX60CLZ5mUDx7Us=; b=fSJPvCsbB4o1PYjyTRKm+Zogee1CE6hwi0i0YGg6vWGA23Z3pzYmLlMKoDr3FOb9/v oAIW9MBOgMOsYRdI8TCB+QkBk0SmzWVXAenGk7BlbJZwyvdcuX+UiXUN5cR/vCWfUCba XymXx0L8+oKBi4JulkTIsOtiWvrC5RTLr1xYjEVC5hBAuqX84gHG/xCxbB9tcI85sIqr Kab4Io1z8uDTcmgzbK5XpnxVvfj7xxsQ09eHwt4gFGOh/bePEeWLMgDQntNRqx5faev8 cOqdVdnB4YWBcMSLksB3PJ+gqZcTTfe921S0ew/3Lqn86722tHphH/kBLnrac9bDVJna UDGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VVHlAgRp+Xbv/Ut7RV93Crm/GxCQIX60CLZ5mUDx7Us=; b=c94DDJaoKtWW23y8kOTWxrLUN8573D1879+LfwznvdgDB2APWVTULaGWHQA+0RD7er k4SJtnVbUcNusi8H8E8yZFakLInTqu3Vc6eNAcJNbv9kdFDB5nMAVetwC6uzo9FrMmRb 8y075WaHv5h2pWR6BbIVUaeSreTlDY3CTiuywuCNN1+Ql37ZHjn5ZN5ugk5lNB3g6Dlt swtru7vz6FTGFBCs+1DtL9tAVJPQMGB+o9EQDN4SBBQAB+0gF/my5+ymIWQySrpou55s 7ZSu8mRu7b20UsqsAgN7QMU8C2JZb2Lp5EeXfUnHDonfdpQ4wgE/MXeaZtqzQUPZq6UR A5FA== X-Gm-Message-State: AKGB3mLKot8l4We3mCLRoRiYhqqj+iNnV2Lu4gf3ENndUfcbkXR3aBzm F+kt7qiySLj/xppDCd7ENjI7qSpK3qWtgzhfMWyUzg== X-Google-Smtp-Source: ACJfBovNfblCZgeWCi5VlXpal2SMr+LLKjqkBT2fPPkLFwkFbsJbei3sUagHLoxPD75yV0df7CJq2i+Tk4ARN/92MIA= X-Received: by 10.55.130.133 with SMTP id e127mr33196456qkd.279.1514342540743; Tue, 26 Dec 2017 18:42:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.23.165 with HTTP; Tue, 26 Dec 2017 18:42:20 -0800 (PST) From: Sam Date: Wed, 27 Dec 2017 10:42:20 +0800 Message-ID: To: dev@dpdk.org, ovs-dev@openvswitch.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [sriov] [ixgbevf] We have to down PF and VF port to reconfig a port? 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: Wed, 27 Dec 2017 02:42:22 -0000 Hi all, I'm running OVS-DPDK on a two netdevice server(eth0 and eth1), and I use sriov to make one VF and one PF on each netdevice, as bellow. Please omit eth2 and eth3. Then two VF port(enp1s16 and enp1s16f1) combine into linux bond1 port as management port, two PF port(0000:01:00.0 and 0000:01:00.1) combine into OVS-DPDK bond port(mode 4) as dataplane port. [root@yf-mos-test-net14 ~]# > /usr/local/share/openvswitch/scripts/dpdk_nic_bind --status > Network devices using DPDK-compatible driver > ============================================ > 0000:01:00.0 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio > unused=ixgbe > 0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio > unused=ixgbe > Network devices using kernel driver > =================================== > 0000:01:10.0 'X540 Ethernet Controller Virtual Function' if=enp1s16 > drv=ixgbevf unused=igb_uio > 0000:01:10.1 'X540 Ethernet Controller Virtual Function' if=enp1s16f1 > drv=ixgbevf unused=igb_uio > 0000:08:00.0 'I350 Gigabit Network Connection' if=eth2 drv=igb > unused=igb_uio > 0000:08:00.1 'I350 Gigabit Network Connection' if=eth3 drv=igb > unused=igb_uio > Other network devices > ===================== > I change OVS-DPDK code, and use command to stop OVS-DPDK bond port and its slaves, and then change its txconf and rxconf, and then start up them. But the kernel report "Detected Tx Unit Hang ..." and no packets could go through OVS-DPDK bond port and linux bond port, but use command to show OVS-DPDK port and linux bond port, all status is OK. But when I stop linux bond port first, and then do the same process as above, no error report and packets could go through OVS-DPDK bond port and linux bond port. So what's this problem and how to fix it ? Thank you~