summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ni
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2018-08-10 18:19:40 -0700
committerDavid S. Miller <davem@davemloft.net>2018-08-13 08:49:37 -0700
commite158770e22892f8f8e11810267e2a100d25d22c7 (patch)
tree95818f6c16df6f22f03f54479b2234ea573bbda9 /drivers/net/ethernet/ni
parent6d37fa49da1e8db8fb1995be22ac837ca41ac8a8 (diff)
downloadlinux-e158770e22892f8f8e11810267e2a100d25d22c7.tar.gz
linux-e158770e22892f8f8e11810267e2a100d25d22c7.tar.bz2
linux-e158770e22892f8f8e11810267e2a100d25d22c7.zip
net: nixge: Do not zero application specific fields in desc
Do not zero application specific fields in DMA descriptors. The hardware does ignore them, so should software. Signed-off-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ni')
-rw-r--r--drivers/net/ethernet/ni/nixge.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/ethernet/ni/nixge.c b/drivers/net/ethernet/ni/nixge.c
index 9ae4fcef725e..ac31b0d30415 100644
--- a/drivers/net/ethernet/ni/nixge.c
+++ b/drivers/net/ethernet/ni/nixge.c
@@ -739,22 +739,12 @@ static void nixge_dma_err_handler(unsigned long data)
cur_p->phys = 0;
cur_p->cntrl = 0;
cur_p->status = 0;
- cur_p->app0 = 0;
- cur_p->app1 = 0;
- cur_p->app2 = 0;
- cur_p->app3 = 0;
- cur_p->app4 = 0;
cur_p->sw_id_offset = 0;
}
for (i = 0; i < RX_BD_NUM; i++) {
cur_p = &lp->rx_bd_v[i];
cur_p->status = 0;
- cur_p->app0 = 0;
- cur_p->app1 = 0;
- cur_p->app2 = 0;
- cur_p->app3 = 0;
- cur_p->app4 = 0;
}
lp->tx_bd_ci = 0;