Re: [dpdk-dev] [RFC 2/2] net/i40e: update requested queue pair num check for rounding

2019-03-11 Thread Kevin Traynor
On 11/03/2019 12:35, Ferruh Yigit wrote: > On 3/11/2019 2:18 AM, Zhang, Qi Z wrote: >> >> >>> -Original Message- >>> From: Kevin Traynor [mailto:ktray...@redhat.com] >>> Sent: Wednesday, March 6, 2019 12:31 AM >>> To: Zhang, Qi Z >>> Cc: dev@dpdk.org; Kevin Traynor ; Yan, Zhirun >>> >>> S

Re: [dpdk-dev] [RFC 2/2] net/i40e: update requested queue pair num check for rounding

2019-03-11 Thread Ferruh Yigit
On 3/11/2019 2:18 AM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Kevin Traynor [mailto:ktray...@redhat.com] >> Sent: Wednesday, March 6, 2019 12:31 AM >> To: Zhang, Qi Z >> Cc: dev@dpdk.org; Kevin Traynor ; Yan, Zhirun >> >> Subject: [RFC 2/2] net/i40e: update requested queue

Re: [dpdk-dev] [RFC 2/2] net/i40e: update requested queue pair num check for rounding

2019-03-10 Thread Zhang, Qi Z
> -Original Message- > From: Kevin Traynor [mailto:ktray...@redhat.com] > Sent: Wednesday, March 6, 2019 12:31 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Kevin Traynor ; Yan, Zhirun > > Subject: [RFC 2/2] net/i40e: update requested queue pair num check for > rounding > > Since rounding

[dpdk-dev] [RFC 2/2] net/i40e: update requested queue pair num check for rounding

2019-03-05 Thread Kevin Traynor
Since rounding up the requested queue pairs to allow the vf to request a non-aligned number was added, it may happen that the requested number is less than the available num of queues but the rounded up number is greater. In this case, it is not caught with the usual checks but later when there is