mbox series

[v8,0/6] enable large VF configuration

Message ID 20201022064902.40143-1-ting.xu@intel.com (mailing list archive)
Headers
Series enable large VF configuration |

Message

Xu, Ting Oct. 22, 2020, 6:48 a.m. UTC
  This patchset supports to configure up to 256 queue pairs per VF. If
large VF is supported after capability negotiation, VF will request
queues from PF as needed. New virtual channel opcodes and structures
are used to indicate 256 queues, so VF is designed to handle the new
function of configure VSI queues, IRQ mapping and enable/disable queues.
Also, enable VF to query the max RSS queue region for RSS and filter
configuration.

Ting Xu (6):
  net/iavf: handle virtchnl event message without interrupt
  net/iavf: add IAVF request queues function
  net/iavf: negotiate large VF and request more queues
  net/iavf: enable multiple queues configurations for large VF
  net/iavf: enable IRQ mapping configuration for large VF
  net/iavf: add enable/disable queues for large VF

---
v7->v8:
Modify commit logs.
Make log sentences in one line.

v6->v7:
Separate patches.

v4->v6:
Solve queue mapping buffer limitation issue.
Optimize VSI queue configuration

v3->v4:
Optimize handling messages from PF.

v2->v3:
Fix coding style issue.
Move get max RSS queue region after VF reset.
Add request queues capability negotiation.

v1->v2:
Change the communication with kernel PF.

---
 drivers/net/iavf/iavf.h        |  37 ++-
 drivers/net/iavf/iavf_ethdev.c | 142 ++++++++++-
 drivers/net/iavf/iavf_rxtx.c   |  25 +-
 drivers/net/iavf/iavf_vchnl.c  | 448 ++++++++++++++++++++++++++++-----
 4 files changed, 572 insertions(+), 80 deletions(-)
  

Comments

Xing, Beilei Oct. 22, 2020, 6:54 a.m. UTC | #1
> -----Original Message-----
> From: Xu, Ting <ting.xu@intel.com>
> Sent: Thursday, October 22, 2020 2:49 PM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Xing, Beilei <beilei.xing@intel.com>;
> Wu, Jingjing <jingjing.wu@intel.com>; Xu, Ting <ting.xu@intel.com>
> Subject: [PATCH v8 0/6] enable large VF configuration
> 
> This patchset supports to configure up to 256 queue pairs per VF. If large VF is
> supported after capability negotiation, VF will request queues from PF as
> needed. New virtual channel opcodes and structures are used to indicate 256
> queues, so VF is designed to handle the new function of configure VSI queues,
> IRQ mapping and enable/disable queues.
> Also, enable VF to query the max RSS queue region for RSS and filter
> configuration.
> 
> Ting Xu (6):
>   net/iavf: handle virtchnl event message without interrupt
>   net/iavf: add IAVF request queues function
>   net/iavf: negotiate large VF and request more queues
>   net/iavf: enable multiple queues configurations for large VF
>   net/iavf: enable IRQ mapping configuration for large VF
>   net/iavf: add enable/disable queues for large VF
> 
> ---
> v7->v8:
> Modify commit logs.
> Make log sentences in one line.
> 
> v6->v7:
> Separate patches.
> 
> v4->v6:
> Solve queue mapping buffer limitation issue.
> Optimize VSI queue configuration
> 
> v3->v4:
> Optimize handling messages from PF.
> 
> v2->v3:
> Fix coding style issue.
> Move get max RSS queue region after VF reset.
> Add request queues capability negotiation.
> 
> v1->v2:
> Change the communication with kernel PF.
> 
> ---
>  drivers/net/iavf/iavf.h        |  37 ++-
>  drivers/net/iavf/iavf_ethdev.c | 142 ++++++++++-
>  drivers/net/iavf/iavf_rxtx.c   |  25 +-
>  drivers/net/iavf/iavf_vchnl.c  | 448 ++++++++++++++++++++++++++++-----
>  4 files changed, 572 insertions(+), 80 deletions(-)
> 
> --
> 2.17.1

Acked-by: Beilei Xing <beilei.xing@intel.com>
  
Qi Zhang Oct. 22, 2020, 8:50 a.m. UTC | #2
> -----Original Message-----
> From: Xing, Beilei <beilei.xing@intel.com>
> Sent: Thursday, October 22, 2020 2:55 PM
> To: Xu, Ting <ting.xu@intel.com>; dev@dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>
> Subject: RE: [PATCH v8 0/6] enable large VF configuration
> 
> 
> 
> > -----Original Message-----
> > From: Xu, Ting <ting.xu@intel.com>
> > Sent: Thursday, October 22, 2020 2:49 PM
> > To: dev@dpdk.org
> > Cc: Zhang, Qi Z <qi.z.zhang@intel.com>; Xing, Beilei
> > <beilei.xing@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>; Xu,
> > Ting <ting.xu@intel.com>
> > Subject: [PATCH v8 0/6] enable large VF configuration
> >
> > This patchset supports to configure up to 256 queue pairs per VF. If
> > large VF is supported after capability negotiation, VF will request
> > queues from PF as needed. New virtual channel opcodes and structures
> > are used to indicate 256 queues, so VF is designed to handle the new
> > function of configure VSI queues, IRQ mapping and enable/disable queues.
> > Also, enable VF to query the max RSS queue region for RSS and filter
> > configuration.
> >
> > Ting Xu (6):
> >   net/iavf: handle virtchnl event message without interrupt
> >   net/iavf: add IAVF request queues function
> >   net/iavf: negotiate large VF and request more queues
> >   net/iavf: enable multiple queues configurations for large VF
> >   net/iavf: enable IRQ mapping configuration for large VF
> >   net/iavf: add enable/disable queues for large VF
> >
> > ---
> > v7->v8:
> > Modify commit logs.
> > Make log sentences in one line.
> >
> > v6->v7:
> > Separate patches.
> >
> > v4->v6:
> > Solve queue mapping buffer limitation issue.
> > Optimize VSI queue configuration
> >
> > v3->v4:
> > Optimize handling messages from PF.
> >
> > v2->v3:
> > Fix coding style issue.
> > Move get max RSS queue region after VF reset.
> > Add request queues capability negotiation.
> >
> > v1->v2:
> > Change the communication with kernel PF.
> >
> > ---
> >  drivers/net/iavf/iavf.h        |  37 ++-
> >  drivers/net/iavf/iavf_ethdev.c | 142 ++++++++++-
> >  drivers/net/iavf/iavf_rxtx.c   |  25 +-
> >  drivers/net/iavf/iavf_vchnl.c  | 448
> > ++++++++++++++++++++++++++++-----
> >  4 files changed, 572 insertions(+), 80 deletions(-)
> >
> > --
> > 2.17.1
> 
> Acked-by: Beilei Xing <beilei.xing@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
>