From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by dpdk.org (Postfix) with ESMTP id 9A0021B2BD for ; Wed, 27 Dec 2017 03:54:47 +0100 (CET) Received: by mail-qt0-f182.google.com with SMTP id e2so46685803qti.0 for ; Tue, 26 Dec 2017 18:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=IxZJkCuuqDMHNTjjWzjfrVoaoxuKuBdo2bQIOKyP9Os=; b=Fk/pqZ1b88ovmri0RFaMMwbghKzLxY2qz9thr/6fTgCR/1aPiHZPqCNfrNE2EMZviP ivQJCVF7q7ZSrnuSbbc0XxGgqkOm/PWNZ32GI8b+WdES99EZgZkF/YdUwCbmAk+2q/Bb BS9WpJLz/MEOnkH+yyJk5ZbXipGE0QYcxGpIXqKcDe2JaBYkxfTRYw1BR+YLhu0e+wVR GpDvGsS48PpS2F4huDnGq5Qdy5H1xGvPkRVjg6jJyIMiKQrsBsmyFvESBMC1E5LOt0YG GAju5ZlHECSNsgRXHc1s/9Z1FVszRRa2QZYNc1chJ+ZjZOphI1SRDVYqUO9kZv6pZh1u 3ODw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=IxZJkCuuqDMHNTjjWzjfrVoaoxuKuBdo2bQIOKyP9Os=; b=W2S1zTzOmRuQ8iZssUKiO5O70sDxbRgCe4YOE7tTp1iNTM7FZL1XIAGqYjrjuyaz7Z YB38Gk9o/XSywyhN6pPBIHYYlxDwfSaae90RpePW0urPnHCZ6VUBUd9cX8lV76LbmbhI 2Jm3+drPvzsjS/cL0//VAyE+0mqZx2OL2cwUZWtRpjODUFsTdTicKeiaIRIcxbOhBo7h PEtotLiW+qZ5vAz1Jx3xweGIAc8vJRdmBG4S2P+c3653CqT+pUXdViE9zeAM7rD8mZTi RAE/MPI7B8xdmDIN+dlsjnh27BMkZWtpji+ZOTW+aJrZnQY41A+svgQHGl+4XJ6/x6Ok OKiQ== X-Gm-Message-State: AKGB3mImyt6IxEYlEs/hw7dXeSF5pk1p9lrxRtyNA/RlAJ3sg/Cv14vv DoV7EbuQ3heRLQUE3PvpaGkoJLIAl45lSXbYobc= X-Google-Smtp-Source: ACJfBov6dPSCMC7bH/ckJ8k8ImV9w+aHLABtgnqSpo+iKePc7ryq3gp60Ic0lYMD6zGJQDC31Xr91G9JBKes8aJ5Bnc= X-Received: by 10.237.58.67 with SMTP id n61mr30378640qte.171.1514343286719; Tue, 26 Dec 2017 18:54:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.23.165 with HTTP; Tue, 26 Dec 2017 18:54:46 -0800 (PST) In-Reply-To: References: From: Sam Date: Wed, 27 Dec 2017 10:54:46 +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: Re: [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:54:47 -0000 2017-12-27 10:42 GMT+08:00 Sam : > 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 NOT OK(LACP status not OK, I don't if it's because link error or LACP packet process error). > > 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~ > I want to make OVS-DPDK bond port could be stop/start/reconfig while running. If others use some other way to do this, could you share it, thank you~