aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ucc_geth.c4
-rw-r--r--drivers/net/ucc_geth.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 60be1e775380..1a16ab20b39e 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -2958,8 +2958,8 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth)
2958 /* Size varies with number of Rx queues */ 2958 /* Size varies with number of Rx queues */
2959 ugeth->rx_irq_coalescing_tbl_offset = 2959 ugeth->rx_irq_coalescing_tbl_offset =
2960 qe_muram_alloc(ug_info->numQueuesRx * 2960 qe_muram_alloc(ug_info->numQueuesRx *
2961 sizeof(struct ucc_geth_rx_interrupt_coalescing_entry), 2961 sizeof(struct ucc_geth_rx_interrupt_coalescing_entry)
2962 UCC_GETH_RX_INTERRUPT_COALESCING_ALIGNMENT); 2962 + 4, UCC_GETH_RX_INTERRUPT_COALESCING_ALIGNMENT);
2963 if (IS_MURAM_ERR(ugeth->rx_irq_coalescing_tbl_offset)) { 2963 if (IS_MURAM_ERR(ugeth->rx_irq_coalescing_tbl_offset)) {
2964 ugeth_err 2964 ugeth_err
2965 ("%s: Can not allocate DPRAM memory for" 2965 ("%s: Can not allocate DPRAM memory for"
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h
index 7cf3dbc9fd4c..a29e1c3ca4b7 100644
--- a/drivers/net/ucc_geth.h
+++ b/drivers/net/ucc_geth.h
@@ -867,8 +867,7 @@ struct ucc_geth_hardware_statistics {
867#define UCC_GETH_SCHEDULER_ALIGNMENT 4 /* This is a guess */ 867#define UCC_GETH_SCHEDULER_ALIGNMENT 4 /* This is a guess */
868#define UCC_GETH_TX_STATISTICS_ALIGNMENT 4 /* This is a guess */ 868#define UCC_GETH_TX_STATISTICS_ALIGNMENT 4 /* This is a guess */
869#define UCC_GETH_RX_STATISTICS_ALIGNMENT 4 /* This is a guess */ 869#define UCC_GETH_RX_STATISTICS_ALIGNMENT 4 /* This is a guess */
870#define UCC_GETH_RX_INTERRUPT_COALESCING_ALIGNMENT 4 /* This is a 870#define UCC_GETH_RX_INTERRUPT_COALESCING_ALIGNMENT 64
871 guess */
872#define UCC_GETH_RX_BD_QUEUES_ALIGNMENT 8 /* This is a guess */ 871#define UCC_GETH_RX_BD_QUEUES_ALIGNMENT 8 /* This is a guess */
873#define UCC_GETH_RX_PREFETCHED_BDS_ALIGNMENT 128 /* This is a guess */ 872#define UCC_GETH_RX_PREFETCHED_BDS_ALIGNMENT 128 /* This is a guess */
874#define UCC_GETH_RX_EXTENDED_FILTERING_GLOBAL_PARAMETERS_ALIGNMENT 4 /* This 873#define UCC_GETH_RX_EXTENDED_FILTERING_GLOBAL_PARAMETERS_ALIGNMENT 4 /* This