> -----Original Message----- > From: Stephen Hemminger <[email protected]> > Sent: 27 December 2021 23:19 > To: Nipun Gupta <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; Hemant > Agrawal <[email protected]>; Gagandeep Singh <[email protected]> > Subject: Re: [PATCH v2 14/16] net/pfe: disable HW CRC stripping > > On Mon, 27 Dec 2021 21:46:43 +0530 > [email protected] wrote: > > > @@ -422,8 +422,11 @@ pfe_eth_close(struct rte_eth_dev *dev) > > } > > > > static int > > -pfe_eth_configure(struct rte_eth_dev *dev __rte_unused) > > +pfe_eth_configure(struct rte_eth_dev *dev) > > { > > + if (dev->data->dev_conf.rxmode.offloads & > DEV_RX_OFFLOAD_KEEP_CRC) > > + PFE_PMD_ERR("PMD does not support KEEP_CRC offload"); > > + > > return 0; > > } > > > > Why is this necessary? There is already a check for offload capabilities in > rte_eth_dev_configure(). The device should report correct supported offloads > instead. Agree. Will remove this patch.
- RE: [PATCH v2 06/16] net/dpaa2: support... Nipun Gupta
- [PATCH v2 08/16] net/dpaa2: secondary process handl... nipun . gupta
- [PATCH v2 07/16] net/dpaa2: add support for level 2... nipun . gupta
- [PATCH v2 09/16] bus/fslmc: add and scan dprc devic... nipun . gupta
- [PATCH v2 10/16] net/dpaa2: support recycle loopbac... nipun . gupta
- [PATCH v2 11/16] net/dpaa: check status before conf... nipun . gupta
- [PATCH v2 12/16] net/dpaa: enable checksum for shar... nipun . gupta
- [PATCH v2 13/16] net/enetc: add support for VFs nipun . gupta
- [PATCH v2 14/16] net/pfe: disable HW CRC stripping nipun . gupta
- Re: [PATCH v2 14/16] net/pfe: disable HW CRC st... Stephen Hemminger
- RE: [PATCH v2 14/16] net/pfe: disable HW CR... Nipun Gupta
- [PATCH v2 15/16] net/pfe: reduce driver initializat... nipun . gupta
- Re: [PATCH v2 15/16] net/pfe: reduce driver ini... Stephen Hemminger
- RE: [PATCH v2 15/16] net/pfe: reduce driver... Nipun Gupta
- [PATCH v2 16/16] net/pfe: remove setting unused val... nipun . gupta
- Re: [PATCH v2 00/16] features and fixes on NXP eth ... Stephen Hemminger
- [PATCH v3 00/15] features and fixes on NXP eth devices nipun . gupta
- [PATCH v3 01/15] bus/fslmc: update MC to 10.29 nipun . gupta
- [PATCH v3 02/15] bus/fslmc: use dmb oshst for synch... nipun . gupta
- [PATCH v3 03/15] net/dpaa2: warn user in case of hi... nipun . gupta

