]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Fix the TX IOC in xmit path
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:03:05 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commit0b93fff88fb68fc26f4f4a454e70b8bd4eb00997
tree7baff96ae1beebb0f922db8c5d1638bbcf5ec303
parent7a16e83df9c96a8080523a9d66dacf6cf038225c
net: stmmac: Fix the TX IOC in xmit path

IOC bit must be only set in the last descriptor. Move the logic up a
little bit to make sure it's set in the correct descriptor.

Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c