Re: [PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread David Miller
From: Alexey Klimov Date: Sat, 29 Aug 2015 04:45:03 +0300 >> @@ -717,9 +833,24 @@ static void nic_unregister_interrupts(struct nicpf *nic) >> nic_disable_msix(nic); >> } >> >> +static int nic_num_sqs_en(struct nicpf *nic, int vf_en) >> +{ >> + int pos = 0, sqs_per_vf =

Re: [PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Alexey Klimov
On Fri, Aug 28, 2015 at 5:59 PM, Aleksey Makarov wrote: > From: Sunil Goutham > > This patch adds support for handling multiple qsets assigned to a > single VF. There by increasing no of queues from earlier 8 to max > no of CPUs in the system i.e 48 queues on a single node and 96 on > dual node

[PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham This patch adds support for handling multiple qsets assigned to a single VF. There by increasing no of queues from earlier 8 to max no of CPUs in the system i.e 48 queues on a single node and 96 on dual node system. User doesn't have option to assign which Qsets/VFs to be

[PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This patch adds support for handling multiple qsets assigned to a single VF. There by increasing no of queues from earlier 8 to max no of CPUs in the system i.e 48 queues on a single node and 96 on dual node system. User doesn't have option to assign which

Re: [PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Alexey Klimov
On Fri, Aug 28, 2015 at 5:59 PM, Aleksey Makarov aleksey.maka...@auriga.com wrote: From: Sunil Goutham sgout...@cavium.com This patch adds support for handling multiple qsets assigned to a single VF. There by increasing no of queues from earlier 8 to max no of CPUs in the system i.e 48 queues

Re: [PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread David Miller
From: Alexey Klimov klimov.li...@gmail.com Date: Sat, 29 Aug 2015 04:45:03 +0300 @@ -717,9 +833,24 @@ static void nic_unregister_interrupts(struct nicpf *nic) nic_disable_msix(nic); } +static int nic_num_sqs_en(struct nicpf *nic, int vf_en) +{ + int pos = 0, sqs_per_vf =