All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wu, Jingjing" <jingjing.wu@intel.com>
To: "Guo, Jia" <jia.guo@intel.com>, "Zhang, Helin" <helin.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev v2 2/3] app: enable HW CRC strip by default
Date: Wed, 22 Mar 2017 12:22:28 +0000	[thread overview]
Message-ID: <9BB6961774997848B5B42BEC655768F810CF9851@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1490003874-37766-2-git-send-email-jia.guo@intel.com>



> -----Original Message-----
> From: Guo, Jia
> Sent: Monday, March 20, 2017 5:58 PM
> To: Zhang, Helin <helin.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>
> Cc: dev@dpdk.org; Guo, Jia <jia.guo@intel.com>; stable@dpdk.org
> Subject: [dpdk-dev v2 2/3] app: enable HW CRC strip by default
> 
> Since VF has no ability to disable/enable HW CRC strip for non-DPDK PF drivers,
> and for most case of kernel driver default enable HW CRC strip, if disable HW
> CRC strip in app's rxmode, VF driver will return fail and result the VF launch
> failure. So this patch default to enable HW CRC strip to let VF launch successful.
> 
> Signed-off-by: Jeff Guo <jia.guo@intel.com>
> Cc: stable@dpdk.org
> ---
>  app/test-pmd/testpmd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index
> e04e215..f01522c 100644
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c
> @@ -284,7 +284,7 @@ struct rte_eth_rxmode rx_mode = {
>  	.hw_vlan_strip  = 1, /**< VLAN strip enabled. */
>  	.hw_vlan_extend = 0, /**< Extended VLAN disabled. */
>  	.jumbo_frame    = 0, /**< Jumbo Frame Support disabled. */
> -	.hw_strip_crc   = 0, /**< CRC stripping by hardware disabled. */
> +	.hw_strip_crc   = 1, /**< CRC stripping by hardware disabled. */
>  };
> 
You change the default hw_strip_crc to 1, then the argument "crc-strip" of
testpmd becomes meaningless.
It's better to change it too.

  reply	other threads:[~2017-03-22 12:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  9:57 [dpdk-dev v2 1/3] examples: enable HW CRC strip by default Jeff Guo
2017-03-20  9:57 ` [dpdk-dev v2 2/3] app: " Jeff Guo
2017-03-22 12:22   ` Wu, Jingjing [this message]
2017-03-22 12:24   ` Wu, Jingjing
2017-03-23  3:40   ` [dpdk-dev v3 1/3] examples: " Jeff Guo
2017-03-23  3:40     ` [dpdk-dev v3 2/3] app: " Jeff Guo
2017-03-23  3:40     ` [dpdk-dev v3 3/3] test: " Jeff Guo
2017-03-23  5:43   ` [dpdk-dev v3 1/3] examples: " Jeff Guo
2017-03-23  5:43     ` [dpdk-dev v3 2/3] app: " Jeff Guo
2017-03-23  6:43       ` Wu, Jingjing
2017-03-23  5:43     ` [dpdk-dev v3 3/3] test: " Jeff Guo
2017-03-23  6:43       ` Wu, Jingjing
2017-04-08  5:56       ` [dpdk-dev v4 1/3] examples: " Jeff Guo
2017-04-08  5:56         ` [dpdk-dev v4 2/3] app: " Jeff Guo
2017-04-08  5:56         ` [dpdk-dev v4 3/3] test: " Jeff Guo
2017-04-10 20:37         ` [dpdk-stable] [dpdk-dev v4 1/3] examples: " Thomas Monjalon
2017-03-23  6:43     ` [dpdk-dev v3 " Wu, Jingjing
2017-03-20  9:57 ` [dpdk-dev v2 3/3] test: " Jeff Guo
2017-03-22 12:26   ` Wu, Jingjing
2017-03-23  3:55     ` Guo, Jia
2017-03-22 11:53 ` [dpdk-dev v2 1/3] examples: " Wu, Jingjing
2017-03-22 12:28 ` Wu, Jingjing

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=9BB6961774997848B5B42BEC655768F810CF9851@SHSMSX103.ccr.corp.intel.com \
    --to=jingjing.wu@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=jia.guo@intel.com \
    --cc=stable@dpdk.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.