STAGING: Octeon: Increase output command buffers
authorJanne Huttunen <[email protected]>
Thu, 13 Aug 2015 13:21:41 +0000 (16:21 +0300)
committerRalf Baechle <[email protected]>
Thu, 3 Sep 2015 10:08:10 +0000 (12:08 +0200)
The Octeon II models have more interfaces and thus require more output
command buffers. Increase the allocation to support these models.

Signed-off-by: Janne Huttunen <[email protected]>
Signed-off-by: Aaro Koskinen <[email protected]>
Acked-by: David Daney <[email protected]>
Cc: David Daney <[email protected]>
Cc: [email protected]
Cc: Janne Huttunen <[email protected]>
Cc: Aaro Koskinen <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10965/
Signed-off-by: Ralf Baechle <[email protected]>
drivers/staging/octeon/ethernet.c

index 363742a0f6ee60970e155530b5e224fa35f98ea5..fbde4191e717b972125092757656ca4b3899cce0 100644 (file)
@@ -152,7 +152,7 @@ static void cvm_oct_configure_common_hw(void)
                             num_packet_buffers);
        if (CVMX_FPA_OUTPUT_BUFFER_POOL != CVMX_FPA_PACKET_POOL)
                cvm_oct_mem_fill_fpa(CVMX_FPA_OUTPUT_BUFFER_POOL,
-                                    CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE, 128);
+                                    CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE, 1024);
 
 #ifdef __LITTLE_ENDIAN
        {