[dpdk-dev] ethdev: fix the comment for rte_eth_conf.

Message ID 1505798670-6125-1-git-send-email-xiangxia.m.yue@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Tonghao Zhang Sept. 19, 2017, 5:24 a.m. UTC
  We have change the type of rx_adv_conf, so change the
comment for it.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
---
 lib/librte_ether/rte_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Ferruh Yigit Oct. 9, 2017, 10:38 p.m. UTC | #1
On 9/19/2017 6:24 AM, Tonghao Zhang wrote:
> We have change the type of rx_adv_conf, so change the
> comment for it.
> 
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
  
Ferruh Yigit Oct. 9, 2017, 10:45 p.m. UTC | #2
On 10/9/2017 11:38 PM, Ferruh Yigit wrote:
> On 9/19/2017 6:24 AM, Tonghao Zhang wrote:
>> We have change the type of rx_adv_conf, so change the
>> comment for it.
>>
>> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 99cdd54..e079daa 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -874,7 +874,7 @@  struct rte_eth_conf {
 		/**< Port dcb RX configuration. */
 		struct rte_eth_vmdq_rx_conf vmdq_rx_conf;
 		/**< Port vmdq RX configuration. */
-	} rx_adv_conf; /**< Port RX filtering configuration (union). */
+	} rx_adv_conf; /**< Port RX filtering configuration. */
 	union {
 		struct rte_eth_vmdq_dcb_tx_conf vmdq_dcb_tx_conf;
 		/**< Port vmdq+dcb TX configuration. */