DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@6wind.com>
To: Jijiang Liu <jijiang.liu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 1/2] i40e:advertise TSO capability
Date: Mon, 9 Feb 2015 10:09:59 +0100	[thread overview]
Message-ID: <CALwxeUsn0-FMEh_YN3Ye53nuJZ1EaMKJaD4F5Z3_7FYei2gvUw@mail.gmail.com> (raw)
In-Reply-To: <1423463570-12947-2-git-send-email-jijiang.liu@intel.com>

Hello,

On Mon, Feb 9, 2015 at 7:32 AM, Jijiang Liu <jijiang.liu@intel.com> wrote:

> Advertise the DEV_TX_OFFLOAD_TCP_TSO flag in the PMD features. It means
> that the i40e PMD supports the offload of TSO.
>
> Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
> Signed-off-by: Miroslaw Walukiewicz <miroslaw.walukiewicz@intel.com>
> ---
>  lib/librte_pmd_i40e/i40e_ethdev.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
> b/lib/librte_pmd_i40e/i40e_ethdev.c
> index 6f385d2..fd625f9 100644
> --- a/lib/librte_pmd_i40e/i40e_ethdev.c
> +++ b/lib/librte_pmd_i40e/i40e_ethdev.c
> @@ -1530,7 +1530,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct
> rte_eth_dev_info *dev_info)
>                 DEV_TX_OFFLOAD_UDP_CKSUM |
>                 DEV_TX_OFFLOAD_TCP_CKSUM |
>                 DEV_TX_OFFLOAD_SCTP_CKSUM |
> -               DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM;
> +               DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM |
> +               DEV_TX_OFFLOAD_TCP_TSO;
>         dev_info->reta_size = pf->hash_lut_size;
>
>         dev_info->default_rxconf = (struct rte_eth_rxconf) {
>


Correct me if I am wrong, but this patch introduces a feature implemented
in the following commit.
Those patches should be submitted in the opposite order.


-- 
David Marchand

  reply	other threads:[~2015-02-09  9:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09  6:32 [dpdk-dev] [PATCH 0/2] support TSO on i40e Jijiang Liu
2015-02-09  6:32 ` [dpdk-dev] [PATCH 1/2] i40e:advertise TSO capability Jijiang Liu
2015-02-09  9:09   ` David Marchand [this message]
2015-02-09  6:32 ` [dpdk-dev] [PATCH 2/2] i40e:enable TSO support Jijiang Liu
2015-02-09  9:10   ` David Marchand
2015-02-20 15:54     ` Walukiewicz, Miroslaw
2015-02-13  1:32 ` [dpdk-dev] [PATCH 0/2] support TSO on i40e 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=CALwxeUsn0-FMEh_YN3Ye53nuJZ1EaMKJaD4F5Z3_7FYei2gvUw@mail.gmail.com \
    --to=david.marchand@6wind.com \
    --cc=dev@dpdk.org \
    --cc=jijiang.liu@intel.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).