From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by dpdk.org (Postfix) with ESMTP id 3FFE59E5 for ; Mon, 2 Nov 2015 17:22:25 +0100 (CET) Received: by obdgf3 with SMTP id gf3so34517050obd.3 for ; Mon, 02 Nov 2015 08:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nkOENuaGMcdzRSaqPHgAfolrHNDf+rJOJgT7pIjkr5g=; b=sSve0mxt4uwJ9gjXD6/cbrtXDacd21HnRtXeMyfZ4p5AgvkwpjG7JRW99hrH3GI5Wc 2BvetcKB2kdh7mqvPbdvkB3XMUAwoN/iH9ZkiDDxN0KiDFW1pqljkr/lRh+aA5TaNYPE ETwiiCBxDTRD+7OKT6lPp1Rxg72Rb8KLVdBcmXA95eg1BhSHqF6ZMZeW6uDo6i7nrzN0 eBqPN8RJN+aZHV61RK/fRGRghq6Q2i3sKb/Pn5exC9ifo+D1S/dnMSUBfpuux0ScDeu3 PNuV+bMH2amDYh4VElwjAoP9MGdR7qZ7+hzAOiDt0wbA6bBnYqhWIQNWCaWD0RamqFIH TJFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=nkOENuaGMcdzRSaqPHgAfolrHNDf+rJOJgT7pIjkr5g=; b=ba7zW+CuPjrpN9BplUz8h4YKaXD3Xfsr8e1rCi+VP7MVXPxLtrVt14QC/kNjgjJO5r By8tdCue13cVRIuUD2MhR21Co5L/HIp00PzYjmzEpoveAEK2KoGUfU/2jt5jR0/Y3rto CwL4+uiBNJydy+8kon/CbWt/Jp8DXCltD52HNiNkyI6iD9/iOwpCLkcelkwPVO3Ye482 fL7U+dhHW1drjdbx6iA2JPISeFl8uZPiSV8hslUCo3yPMeCq4aaV9YVaMU4WpfZZIwRy g9UlD8Yf+GnB6nMrbE5BQaPg5qPxmlDuipjeBlhn8RlOsGbl/BlGATuvIsEZFUSxyelB 73/g== X-Gm-Message-State: ALoCoQl0uHHKIO+o75HpzMFeQBuBuBEgf/mazZh60jHBiBv/yWgS/Qqlqn9HiET2pImTGkkOEhB2 MIME-Version: 1.0 X-Received: by 10.182.130.234 with SMTP id oh10mr15507625obb.58.1446481344695; Mon, 02 Nov 2015 08:22:24 -0800 (PST) Received: by 10.76.131.166 with HTTP; Mon, 2 Nov 2015 08:22:24 -0800 (PST) In-Reply-To: <2601191342CEEE43887BDE71AB97725836AB85D6@irsmsx105.ger.corp.intel.com> References: <1443072831-19065-1-git-send-email-cunming.liang@intel.com> <1443072831-19065-7-git-send-email-cunming.liang@intel.com> <2601191342CEEE43887BDE71AB97725836AB85D6@irsmsx105.ger.corp.intel.com> Date: Mon, 2 Nov 2015 17:22:24 +0100 Message-ID: From: David Marchand To: "Ananyev, Konstantin" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v1 06/11] ixgbe: fix rx intr compatible issue with PF mbox X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 16:22:25 -0000 On Mon, Nov 2, 2015 at 5:09 PM, Ananyev, Konstantin < konstantin.ananyev@intel.com> wrote: > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Marchand > > Sent: Monday, November 02, 2015 4:03 PM > > To: Liang, Cunming > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v1 06/11] ixgbe: fix rx intr compatible > issue with PF mbox > > > > On Thu, Sep 24, 2015 at 7:33 AM, Cunming Liang > > wrote: > > > > > When ixgbe runs as a PF, mbox interrupt is prerequisite to make VF > start > > > normally. > > > And PF sometimes won't 'dev_start', so the mbox interrupt register > during > > > 'dev_init' is required. > > > > > > > Can you describe the cases/situations where you would want a device to > > handle interrupts while not started ? > > When PF and VF are both controlled by DPDK process(es). > And user doesn't really want to do any RX/TX through PF - uses PF just to > control/configure VF(s). > > Ok, but the user still needs to whitelist the PF (or ensure the PF is not blacklisted) in one of these processes. Then, the application would do a "partial" initialisation ? If you don't want rx/tx, don't poll the port. Anyway, this is your code :-) -- David Marchand