DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue
@ 2016-04-23 11:29 Beilei Xing
  2016-04-26  1:56 ` Wu, Jingjing
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Beilei Xing @ 2016-04-23 11:29 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing

Add 3 vf ops: rx_queue_count, rxq_info_get and
txq_info_get. They can reuse corresponding pv APIs.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/net/i40e/i40e_ethdev_vf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index 2bce69b..87d6a64 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -214,6 +214,9 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = {
 	.rx_descriptor_done   = i40e_dev_rx_descriptor_done,
 	.tx_queue_setup       = i40e_dev_tx_queue_setup,
 	.tx_queue_release     = i40e_dev_tx_queue_release,
+	.rx_queue_count       = i40e_dev_rx_queue_count,
+	.rxq_info_get         = i40e_rxq_info_get,
+	.txq_info_get         = i40e_txq_info_get,
 	.mac_addr_add	      = i40evf_add_mac_addr,
 	.mac_addr_remove      = i40evf_del_mac_addr,
 	.reta_update          = i40evf_dev_rss_reta_update,
-- 
2.5.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue
  2016-04-23 11:29 [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue Beilei Xing
@ 2016-04-26  1:56 ` Wu, Jingjing
  2016-04-26  1:58 ` Wu, Jingjing
  2016-04-28  3:18 ` [dpdk-dev] [PATCH V2] " Beilei Xing
  2 siblings, 0 replies; 6+ messages in thread
From: Wu, Jingjing @ 2016-04-26  1:56 UTC (permalink / raw)
  To: Xing, Beilei; +Cc: dev



On 4/23/2016 7:29 PM, Xing, Beilei wrote:
> Add 3 vf ops: rx_queue_count, rxq_info_get and
> txq_info_get. They can reuse corresponding pv APIs.
>
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> ---
>   drivers/net/i40e/i40e_ethdev_vf.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
> index 2bce69b..87d6a64 100644
> --- a/drivers/net/i40e/i40e_ethdev_vf.c
> +++ b/drivers/net/i40e/i40e_ethdev_vf.c
> @@ -214,6 +214,9 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = {
>   	.rx_descriptor_done   = i40e_dev_rx_descriptor_done,
>   	.tx_queue_setup       = i40e_dev_tx_queue_setup,
>   	.tx_queue_release     = i40e_dev_tx_queue_release,
> +	.rx_queue_count       = i40e_dev_rx_queue_count,
> +	.rxq_info_get         = i40e_rxq_info_get,
> +	.txq_info_get         = i40e_txq_info_get,
>   	.mac_addr_add	      = i40evf_add_mac_addr,
>   	.mac_addr_remove      = i40evf_del_mac_addr,
>   	.reta_update          = i40evf_dev_rss_reta_update,

Acked-by: Jingjing Wu <jingjing.wu@intel.com <mailto:jingjing.wu@intel.com>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue
  2016-04-23 11:29 [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue Beilei Xing
  2016-04-26  1:56 ` Wu, Jingjing
@ 2016-04-26  1:58 ` Wu, Jingjing
  2016-04-28  3:18 ` [dpdk-dev] [PATCH V2] " Beilei Xing
  2 siblings, 0 replies; 6+ messages in thread
From: Wu, Jingjing @ 2016-04-26  1:58 UTC (permalink / raw)
  To: Xing, Beilei; +Cc: dev



On 4/23/2016 7:29 PM, Xing, Beilei wrote:
> Add 3 vf ops: rx_queue_count, rxq_info_get and
> txq_info_get. They can reuse corresponding pv APIs.
a typo here? pv -> pf ?
>
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> ---
>   drivers/net/i40e/i40e_ethdev_vf.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
> index 2bce69b..87d6a64 100644
> --- a/drivers/net/i40e/i40e_ethdev_vf.c
> +++ b/drivers/net/i40e/i40e_ethdev_vf.c
> @@ -214,6 +214,9 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = {
>   	.rx_descriptor_done   = i40e_dev_rx_descriptor_done,
>   	.tx_queue_setup       = i40e_dev_tx_queue_setup,
>   	.tx_queue_release     = i40e_dev_tx_queue_release,
> +	.rx_queue_count       = i40e_dev_rx_queue_count,
> +	.rxq_info_get         = i40e_rxq_info_get,
> +	.txq_info_get         = i40e_txq_info_get,
>   	.mac_addr_add	      = i40evf_add_mac_addr,
>   	.mac_addr_remove      = i40evf_del_mac_addr,
>   	.reta_update          = i40evf_dev_rss_reta_update,

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-dev] [PATCH V2] i40evf: add ops for rx queue and tx queue
  2016-04-23 11:29 [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue Beilei Xing
  2016-04-26  1:56 ` Wu, Jingjing
  2016-04-26  1:58 ` Wu, Jingjing
@ 2016-04-28  3:18 ` Beilei Xing
  2016-04-28  4:57   ` Wu, Jingjing
  2 siblings, 1 reply; 6+ messages in thread
From: Beilei Xing @ 2016-04-28  3:18 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing

Add 3 vf ops: rx_queue_count, rxq_info_get and
txq_info_get. They can reuse corresponding pf APIs.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/net/i40e/i40e_ethdev_vf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index 2bce69b..87d6a64 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -214,6 +214,9 @@ static const struct eth_dev_ops i40evf_eth_dev_ops = {
 	.rx_descriptor_done   = i40e_dev_rx_descriptor_done,
 	.tx_queue_setup       = i40e_dev_tx_queue_setup,
 	.tx_queue_release     = i40e_dev_tx_queue_release,
+	.rx_queue_count       = i40e_dev_rx_queue_count,
+	.rxq_info_get         = i40e_rxq_info_get,
+	.txq_info_get         = i40e_txq_info_get,
 	.mac_addr_add	      = i40evf_add_mac_addr,
 	.mac_addr_remove      = i40evf_del_mac_addr,
 	.reta_update          = i40evf_dev_rss_reta_update,
-- 
2.5.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH V2] i40evf: add ops for rx queue and tx queue
  2016-04-28  3:18 ` [dpdk-dev] [PATCH V2] " Beilei Xing
@ 2016-04-28  4:57   ` Wu, Jingjing
  2016-05-04 10:46     ` Bruce Richardson
  0 siblings, 1 reply; 6+ messages in thread
From: Wu, Jingjing @ 2016-04-28  4:57 UTC (permalink / raw)
  To: Xing, Beilei; +Cc: dev



> -----Original Message-----
> From: Xing, Beilei
> Sent: Thursday, April 28, 2016 11:18 AM
> To: Wu, Jingjing
> Cc: dev@dpdk.org; Xing, Beilei
> Subject: [PATCH V2] i40evf: add ops for rx queue and tx queue
> 
> Add 3 vf ops: rx_queue_count, rxq_info_get and txq_info_get. They can
> reuse corresponding pf APIs.
> 
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>

Acked-by: Jingjing Wu <jingjing.wu@intel.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [PATCH V2] i40evf: add ops for rx queue and tx queue
  2016-04-28  4:57   ` Wu, Jingjing
@ 2016-05-04 10:46     ` Bruce Richardson
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Richardson @ 2016-05-04 10:46 UTC (permalink / raw)
  To: Wu, Jingjing; +Cc: Xing, Beilei, dev

On Thu, Apr 28, 2016 at 04:57:51AM +0000, Wu, Jingjing wrote:
> 
> 
> > -----Original Message-----
> > From: Xing, Beilei
> > Sent: Thursday, April 28, 2016 11:18 AM
> > To: Wu, Jingjing
> > Cc: dev@dpdk.org; Xing, Beilei
> > Subject: [PATCH V2] i40evf: add ops for rx queue and tx queue
> > 
> > Add 3 vf ops: rx_queue_count, rxq_info_get and txq_info_get. They can
> > reuse corresponding pf APIs.
> > 
> > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> 
> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
> 
Applied to dpdk-next-net/rel_16_07

/Bruce

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-04 10:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-23 11:29 [dpdk-dev] [PATCH] i40evf: add ops for rx queue and tx queue Beilei Xing
2016-04-26  1:56 ` Wu, Jingjing
2016-04-26  1:58 ` Wu, Jingjing
2016-04-28  3:18 ` [dpdk-dev] [PATCH V2] " Beilei Xing
2016-04-28  4:57   ` Wu, Jingjing
2016-05-04 10:46     ` Bruce Richardson

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).