> -----Original Message----- > From: Zhang, Qi Z <qi.z.zh...@intel.com> > Sent: Wednesday, November 24, 2021 09:09 > To: Yang, Qiming <qiming.y...@intel.com> > Cc: dev@dpdk.org; Xu, Wei1 <wei1...@intel.com>; Zhang, Qi Z > <qi.z.zh...@intel.com>; sta...@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: sta...@dpdk.org > > Signed-off-by: Qi Zhang <qi.z.zh...@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.y...@intel.com>