DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Walsh, Conor" <conor.walsh@intel.com>
To: "Morrissey, Sean" <sean.morrissey@intel.com>,
	"Li, Xiaoyun" <xiaoyun.li@intel.com>,
	"Chautru, Nicolas" <nicolas.chautru@intel.com>,
	"Jay Zhou" <jianjay.zhou@huawei.com>,
	"Loftus, Ciara" <ciara.loftus@intel.com>,
	"Zhang, Qi Z" <qi.z.zhang@intel.com>,
	Steven Webster <steven.webster@windriver.com>,
	"Peters, Matt" <matt.peters@windriver.com>,
	Apeksha Gupta <apeksha.gupta@nxp.com>,
	Sachin Saxena <sachin.saxena@nxp.com>,
	 "Wang, Xiao W" <xiao.w.wang@intel.com>,
	"Wang, Haiyue" <haiyue.wang@intel.com>,
	"Xing, Beilei" <beilei.xing@intel.com>,
	"Stephen Hemminger" <sthemmin@microsoft.com>,
	Long Li <longli@microsoft.com>,
	Heinrich Kuhn <heinrich.kuhn@corigine.com>,
	Jerin Jacob <jerinj@marvell.com>,
	Maciej Czekaj <mczekaj@marvell.com>,
	Maxime Coquelin <maxime.coquelin@redhat.com>,
	"Xia, Chenbo" <chenbo.xia@intel.com>,
	"Ananyev, Konstantin" <konstantin.ananyev@intel.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
	"Trahe, Fiona" <fiona.trahe@intel.com>,
	Ashish Gupta <ashish.gupta@marvell.com>,
	"Griffin, John" <john.griffin@intel.com>,
	"Jain, Deepak K" <deepak.k.jain@intel.com>,
	"Ziyang Xuan" <xuanziyang2@huawei.com>,
	Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>,
	Guoyang Zhou <zhouguoyang@huawei.com>,
	"Min Hu (Connor)" <humin29@huawei.com>,
	Yisen Zhuang <yisen.zhuang@huawei.com>,
	Lijun Ou <oulijun@huawei.com>, "Xu, Rosen" <rosen.xu@intel.com>,
	"Zhang, Tianfei" <tianfei.zhang@intel.com>,
	Akhil Goyal <gakhil@marvell.com>,
	"Doherty, Declan" <declan.doherty@intel.com>,
	Chengwen Feng <fengchengwen@huawei.com>,
	"Laatz, Kevin" <kevin.laatz@intel.com>,
	"Richardson, Bruce" <bruce.richardson@intel.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"Morrissey, Sean" <sean.morrissey@intel.com>,
	Conor Fogarty <conor.fogarty@intel.com>,
	"Mcnamara, John" <john.mcnamara@intel.com>
Subject: RE: [PATCH v1 1/3] fix PMD wording typo
Date: Mon, 22 Nov 2021 08:54:44 +0000	[thread overview]
Message-ID: <SA2PR11MB521098E9AE8EE8A435B8D7FEFF9F9@SA2PR11MB5210.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211118144645.2903463-2-sean.morrissey@intel.com>

Hi Sean,

A few minor nits, TBH not sure if they should be changed in this patch as this patch is just removing "driver" and correcting capitalisation of PMD.

<snip>


> diff --git a/drivers/net/hns3/hns3_ethdev.h
> b/drivers/net/hns3/hns3_ethdev.h
> index 6d30125dcc..488fe8dbbc 100644
> --- a/drivers/net/hns3/hns3_ethdev.h
> +++ b/drivers/net/hns3/hns3_ethdev.h
> @@ -465,7 +465,7 @@ struct hns3_queue_intr {
>  	 *     enable Rx interrupt.
>  	 *
>  	 *  - HNS3_INTR_MAPPING_VEC_ALL
> -	 *     PMD driver can map/unmmap all interrupt vectors with queues
> When
> +	 *     PMD can map/unmmap all interrupt vectors with queues When


"When" shouldn't be capitalised here.


>  	 *     Rx interrupt in enabled.


in => is


>  	 */
>  	uint8_t mapping_mode;


<snip>


> diff --git a/drivers/net/hns3/hns3_ethdev_vf.c
> b/drivers/net/hns3/hns3_ethdev_vf.c
> index d8a99693e0..7d6e251bbe 100644
> --- a/drivers/net/hns3/hns3_ethdev_vf.c
> +++ b/drivers/net/hns3/hns3_ethdev_vf.c
> @@ -232,7 +232,7 @@ hns3vf_set_default_mac_addr(struct rte_eth_dev
> *dev,
>  				HNS3_TWO_ETHER_ADDR_LEN, true, NULL,
> 0);
>  	if (ret) {
>  		/*
> -		 * The hns3 VF PMD driver depends on the hns3 PF kernel
> ethdev
> +		 * The hns3 VF PMD depends on the hns3 PF kernel ethdev
>  		 * driver. When user has configured a MAC address for VF
> device
>  		 * by "ip link set ..." command based on the PF device, the
> hns3
>  		 * PF kernel ethdev driver does not allow VF driver to request
> @@ -312,9 +312,9 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw,
> bool en_bc_pmc,
>  	req = (struct hns3_mbx_vf_to_pf_cmd *)desc.data;
> 
>  	/*
> -	 * The hns3 VF PMD driver depends on the hns3 PF kernel ethdev
> driver,
> +	 * The hns3 VF PMD depends on the hns3 PF kernel ethdev driver,
>  	 * so there are some features for promiscuous/allmulticast mode in
> hns3
> -	 * VF PMD driver as below:
> +	 * VF PMD as below:
>  	 * 1. The promiscuous/allmulticast mode can be configured
> successfully
>  	 *    only based on the trusted VF device. If based on the non trusted
>  	 *    VF device, configuring promiscuous/allmulticast mode will fail.
> @@ -322,14 +322,14 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw,
> bool en_bc_pmc,
>  	 *    kernel ethdev driver on the host by the following command:
>  	 *      "ip link set <eth num> vf <vf id> turst on"
>  	 * 2. After the promiscuous mode is configured successfully, hns3 VF
> PMD
> -	 *    driver can receive the ingress and outgoing traffic. In the words,
> +	 *    can receive the ingress and outgoing traffic. In the words,


"In the words" doesn't make any sense here even, "In other words," doesn't really work either.


>  	 *    all the ingress packets, all the packets sent from the PF and
>  	 *    other VFs on the same physical port.
>  	 * 3. Note: Because of the hardware constraints, By default vlan filter
>  	 *    is enabled and couldn't be turned off based on VF device, so vlan
>  	 *    filter is still effective even in promiscuous mode. If upper
>  	 *    applications don't call rte_eth_dev_vlan_filter API function to
> -	 *    set vlan based on VF device, hns3 VF PMD driver will can't receive
> +	 *    set vlan based on VF device, hns3 VF PMD will can't receive
>  	 *    the packets with vlan tag in promiscuoue mode.
>  	 */
>  	hns3_cmd_setup_basic_desc(&desc, HNS3_OPC_MBX_VF_TO_PF,
> false);


With or without these changes:
Reviewed-by: Conor Walsh <conor.walsh@intel.com>

Thanks,
Conor.

  parent reply	other threads:[~2021-11-22  8:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 14:46 [PATCH v1 0/3] Fix typo's and capitalise PMD Sean Morrissey
2021-11-18 14:46 ` [PATCH v1 1/3] fix PMD wording typo Sean Morrissey
2021-11-19 10:07   ` Mcnamara, John
2021-11-22  8:54   ` Walsh, Conor [this message]
2021-11-18 14:46 ` [PATCH v1 2/3] fix 'the the' typo Sean Morrissey
2021-11-19 10:06   ` Mcnamara, John
2021-11-21 23:54   ` Andrew Boyer
2021-11-22  8:54   ` Walsh, Conor
2021-11-18 14:46 ` [PATCH v1 3/3] doc: capitalise PMD Sean Morrissey
2021-11-19 10:09   ` Mcnamara, John
2021-11-22  8:54   ` Walsh, Conor
2021-11-22 10:50 ` [PATCH v2 0/3] Fix typo's and " Sean Morrissey
2021-11-22 10:50   ` [PATCH v2 1/3] fix PMD wording typo Sean Morrissey
2021-11-22 10:50   ` [PATCH v2 2/3] fix 'the the' typo Sean Morrissey
2021-11-22 11:00     ` Somnath Kotur
2021-11-22 10:50   ` [PATCH v2 3/3] doc: capitalise PMD Sean Morrissey
2021-11-26  8:28   ` [PATCH v2 0/3] Fix typo's and " Mcnamara, John
2021-11-26  9:51   ` Ferruh Yigit
2021-11-26 10:11   ` David Marchand

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=SA2PR11MB521098E9AE8EE8A435B8D7FEFF9F9@SA2PR11MB5210.namprd11.prod.outlook.com \
    --to=conor.walsh@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=apeksha.gupta@nxp.com \
    --cc=ashish.gupta@marvell.com \
    --cc=beilei.xing@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=chenbo.xia@intel.com \
    --cc=ciara.loftus@intel.com \
    --cc=cloud.wangxiaoyun@huawei.com \
    --cc=conor.fogarty@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=deepak.k.jain@intel.com \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=ferruh.yigit@intel.com \
    --cc=fiona.trahe@intel.com \
    --cc=gakhil@marvell.com \
    --cc=haiyue.wang@intel.com \
    --cc=heinrich.kuhn@corigine.com \
    --cc=humin29@huawei.com \
    --cc=jerinj@marvell.com \
    --cc=jianjay.zhou@huawei.com \
    --cc=john.griffin@intel.com \
    --cc=john.mcnamara@intel.com \
    --cc=kevin.laatz@intel.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=longli@microsoft.com \
    --cc=matt.peters@windriver.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=mczekaj@marvell.com \
    --cc=nicolas.chautru@intel.com \
    --cc=oulijun@huawei.com \
    --cc=qi.z.zhang@intel.com \
    --cc=rosen.xu@intel.com \
    --cc=sachin.saxena@nxp.com \
    --cc=sean.morrissey@intel.com \
    --cc=steven.webster@windriver.com \
    --cc=sthemmin@microsoft.com \
    --cc=thomas@monjalon.net \
    --cc=tianfei.zhang@intel.com \
    --cc=xiao.w.wang@intel.com \
    --cc=xiaoyun.li@intel.com \
    --cc=xuanziyang2@huawei.com \
    --cc=yisen.zhuang@huawei.com \
    --cc=zhouguoyang@huawei.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).