* [dpdk-dev] [PATCH] net/avp: remove redundant assignment
@ 2017-05-25 17:52 Ferruh Yigit
2017-05-26 13:05 ` Legacy, Allain
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2017-05-25 17:52 UTC (permalink / raw)
To: Allain Legacy, Matt Peters; +Cc: dev, Ferruh Yigit
dev_info->driver_name is assigned by rte_eth_dev_info_get()
and existing value overwritten, removing assignment.
Fixes: 1a85922369c4 ("net/avp: add device configuration")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
drivers/net/avp/avp_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index 3554645..c746a0e 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -2202,7 +2202,6 @@ avp_dev_info_get(struct rte_eth_dev *eth_dev,
{
struct avp_dev *avp = AVP_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);
- dev_info->driver_name = "rte_avp_pmd";
dev_info->pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
dev_info->max_rx_queues = avp->max_rx_queues;
dev_info->max_tx_queues = avp->max_tx_queues;
--
2.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: remove redundant assignment
2017-05-25 17:52 [dpdk-dev] [PATCH] net/avp: remove redundant assignment Ferruh Yigit
@ 2017-05-26 13:05 ` Legacy, Allain
2017-05-26 16:17 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Legacy, Allain @ 2017-05-26 13:05 UTC (permalink / raw)
To: YIGIT, FERRUH, Peters, Matt; +Cc: dev, YIGIT, FERRUH
> -----Original Message-----
> From: Ferruh Yigit [mailto:ferruh.yigit@intel.com]
> Sent: Thursday, May 25, 2017 1:53 PM
> To: Legacy, Allain; Peters, Matt
> Cc: dev@dpdk.org; YIGIT, FERRUH
> Subject: [PATCH] net/avp: remove redundant assignment
>
> dev_info->driver_name is assigned by rte_eth_dev_info_get() and existing
> value overwritten, removing assignment.
>
> Fixes: 1a85922369c4 ("net/avp: add device configuration")
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
Acked-by: Allain Legacy <allain.legacy@windriver.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/avp: remove redundant assignment
2017-05-26 13:05 ` Legacy, Allain
@ 2017-05-26 16:17 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-05-26 16:17 UTC (permalink / raw)
To: Legacy, Allain, Peters, Matt; +Cc: dev
On 5/26/2017 2:05 PM, Legacy, Allain wrote:
>> -----Original Message-----
>> From: Ferruh Yigit [mailto:ferruh.yigit@intel.com]
>> Sent: Thursday, May 25, 2017 1:53 PM
>> To: Legacy, Allain; Peters, Matt
>> Cc: dev@dpdk.org; YIGIT, FERRUH
>> Subject: [PATCH] net/avp: remove redundant assignment
>>
>> dev_info->driver_name is assigned by rte_eth_dev_info_get() and existing
>> value overwritten, removing assignment.
>>
>> Fixes: 1a85922369c4 ("net/avp: add device configuration")
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
>> ---
> Acked-by: Allain Legacy <allain.legacy@windriver.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-26 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 17:52 [dpdk-dev] [PATCH] net/avp: remove redundant assignment Ferruh Yigit
2017-05-26 13:05 ` Legacy, Allain
2017-05-26 16:17 ` Ferruh Yigit
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).