]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: enable multiple buffers
authorJoao Pinto <Joao.Pinto@synopsys.com>
Fri, 17 Mar 2017 16:11:05 +0000 (16:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 00:24:01 +0000 (17:24 -0700)
commit3db06de596fd592261cdf0ffd84fa4b22d495587
treea71f2227169e81e454a6a1d040a612e6d59d6d3a
parente52486ff5946777222209f190bfac09b0df58ba7
net: stmmac: enable multiple buffers

This patch creates 2 new structures (stmmac_tx_queue and stmmac_rx_queue)
in include/linux/stmmac.h, enabling that each RX and TX queue has its
own buffers and data.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/chain_mode.c
drivers/net/ethernet/stmicro/stmmac/ring_mode.c
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c