DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Xu, Qian Q" <qian.q.xu@intel.com>
To: "Yao, Lei A" <lei.a.yao@intel.com>,
	"Topel, Bjorn" <bjorn.topel@intel.com>,
	"Wu, Jingjing" <jingjing.wu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	Thomas Monjalon <thomas.monjalon@6wind.com>
Subject: Re: [dpdk-dev] l3fwd can't launch on VF when we use i40e
Date: Fri, 22 Jul 2016 02:10:28 +0000	[thread overview]
Message-ID: <82F45D86ADE5454A95A89742C8D1410E032F7520@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <2DBBFF226F7CF64BAFCA79B681719D9502044162@shsmsx102.ccr.corp.intel.com>

+ dpdk.org mailing list. I also thought the patch to check port CRC strip then make the port fail to start is not proper.
For testpmd, we can use -crc-strip, but for l3fwd, we may need change code to enable crc-strip, and for all application, we need change the code; this is not acceptable.
Users may think it's a bug of R16.07 since R16.04 didn't check that. From my view, crc-strip is not a "MUST" check for the port start. We can configure the value after
the port start.
Any thoughts?

From: Yao, Lei A
Sent: Friday, July 22, 2016 9:36 AM
To: Topel, Bjorn <bjorn.topel@intel.com>
Cc: Xu, Qian Q <qian.q.xu@intel.com>
Subject: l3fwd can't launch on VF when we use i40e

Hi, Bjorn

This is lei who is running DPDK testing on VMware with 16.07 RC3. Now I met one issue, after I enable SR-IOV on VMware with i40e related NIC, I can't launch l3fwd example on VF because of this error info:
i40evf_dev_configure(): VF can't disable HW CRC Strip.

I see that you have submit following patch related to this scenario
commit 1bbcc5d21129168a212e7d755751b0d4742d20d9
Author: Björn Töpel <bjorn.topel@intel.com>
Date:   Fri Apr 22 07:39:22 2016 +0200

    i40evf: report error for unsupported CRC stripping config

    On hosts running a non-DPDK PF driver, the VF has no means of changing
    the HW CRC strip setting for a RX queue. It's implicitly enabled.

    This patch checks if the host is running a non-DPDK PF kernel driver,
    and returns an error, if HW CRC stripping was not requested in the port
    configuration.

    Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
    Acked-by: Helin Zhang <helin.zhang@intel.com>

Do you know is there any way I can bypass this when I use l3fwd? I know when we use testpmd, we can add --crc-strip enable to bypass this blocker. But I don't know the method on l3fwd. Thanks.

Best Regards
Lei

       reply	other threads:[~2016-07-22  2:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2DBBFF226F7CF64BAFCA79B681719D9502044162@shsmsx102.ccr.corp.intel.com>
2016-07-22  2:10 ` Xu, Qian Q [this message]
2016-08-10 11:00   ` Björn Töpel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82F45D86ADE5454A95A89742C8D1410E032F7520@shsmsx102.ccr.corp.intel.com \
    --to=qian.q.xu@intel.com \
    --cc=bjorn.topel@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=lei.a.yao@intel.com \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).