patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Yang, Qiming" <qiming.yang@intel.com>
To: "Zhang, Qi Z" <qi.z.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "Xu, Wei1" <wei1.xu@intel.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] net/ice: fix Tx checksum offload capability
Date: Tue, 7 Dec 2021 03:17:09 +0000	[thread overview]
Message-ID: <MWHPR11MB18867D90DA264B99F2C652CAE56E9@MWHPR11MB1886.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211124010928.227875-1-qi.z.zhang@intel.com>


> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang@intel.com>
> Sent: Wednesday, November 24, 2021 09:09
> To: Yang, Qiming <qiming.yang@intel.com>
> Cc: dev@dpdk.org; Xu, Wei1 <wei1.xu@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>; stable@dpdk.org
> Subject: [PATCH] net/ice: fix Tx checksum offload capability
> 
> Add missing capability for outer UDP Tx checksum.
> Also fixed the feature list in ice_dcf.ini
> 
> Fixes: bf89db4409bb ("net/ice: complete device info get in DCF")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
> ---
>  doc/guides/nics/features/ice_dcf.ini | 5 +++++
>  drivers/net/ice/ice_dcf_ethdev.c     | 1 +
>  2 files changed, 6 insertions(+)
> 
> diff --git a/doc/guides/nics/features/ice_dcf.ini
> b/doc/guides/nics/features/ice_dcf.ini
> index 4d6fb6d849..54073f0b88 100644
> --- a/doc/guides/nics/features/ice_dcf.ini
> +++ b/doc/guides/nics/features/ice_dcf.ini
> @@ -3,6 +3,9 @@
>  ;
>  ; Refer to default.ini for the full list of available PMD features.
>  ;
> +; A feature with "P" indicates only be supported when non-vector path ;
> +is selected.
> +;
>  [Features]
>  Queue start/stop     = Y
>  Scattered Rx         = Y
> @@ -10,6 +13,8 @@ RSS hash             = P
>  CRC offload          = Y
>  L3 checksum offload  = P
>  L4 checksum offload  = P
> +Inner L3 checksum    = P
> +Inner L4 checksum    = P
>  Basic stats          = Y
>  Linux                = Y
>  x86-32               = Y
> diff --git a/drivers/net/ice/ice_dcf_ethdev.c
> b/drivers/net/ice/ice_dcf_ethdev.c
> index 28f7f7fb72..fb0d13e5ec 100644
> --- a/drivers/net/ice/ice_dcf_ethdev.c
> +++ b/drivers/net/ice/ice_dcf_ethdev.c
> @@ -681,6 +681,7 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev,
>  		RTE_ETH_TX_OFFLOAD_TCP_CKSUM |
>  		RTE_ETH_TX_OFFLOAD_SCTP_CKSUM |
>  		RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM |
> +		RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM |
>  		RTE_ETH_TX_OFFLOAD_TCP_TSO |
>  		RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO |
>  		RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO |
> --
> 2.26.2

Acked-by: Qiming Yang <qiming.yang@intel.com>

  reply	other threads:[~2021-12-07  3:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  1:09 Qi Zhang
2021-12-07  3:17 ` Yang, Qiming [this message]
2022-01-02  8:23   ` Zhang, Qi Z

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=MWHPR11MB18867D90DA264B99F2C652CAE56E9@MWHPR11MB1886.namprd11.prod.outlook.com \
    --to=qiming.yang@intel.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=stable@dpdk.org \
    --cc=wei1.xu@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).