]> git.karo-electronics.de Git - karo-tx-linux.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)
commitaff3d9eff84399e433c4aca65a9bb236581bc082
treea71f2227169e81e454a6a1d040a612e6d59d6d3a
parentde6b08fd82087778c579dc3f3c28bb1c878a993a
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