Re: [PATCH net-next v1 02/21] amd-xgbe: Prepare for priority-based FIFO allocation

2016-11-03 Thread Tom Lendacky
On 11/03/2016 08:51 AM, Mintz, Yuval wrote: >> +static void xgbe_calculate_equal_fifo(unsigned int fifo_size, >> + unsigned int queue_count, >> + unsigned int *fifo) >> +{ > ... >> + >> +return; >> } > > No need for explicit re

RE: [PATCH net-next v1 02/21] amd-xgbe: Prepare for priority-based FIFO allocation

2016-11-03 Thread Mintz, Yuval
> +static void xgbe_calculate_equal_fifo(unsigned int fifo_size, > + unsigned int queue_count, > + unsigned int *fifo) > +{ ... > + > + return; > } No need for explicit return.

[PATCH net-next v1 02/21] amd-xgbe: Prepare for priority-based FIFO allocation

2016-11-03 Thread Tom Lendacky
Currently, the Rx and Tx fifos are evenly allocated between the hardware queues of the device. As more queues are instantiated, the fifo memory needs to be able to be allocated based on queue priority. This allows for higher priority queues to have more fifo memory than lower priority queues. Prep