linux_dsm_epyc7002/drivers/net/ethernet/ti
Ivan Khoronzhuk 871e846585 net: ethernet: ti: davinci_cpdma: use idled submit
While data pass suspend, reuse of rx descriptors can be disabled using
channel state & lock from cpdma layer. For this, submit to a channel
has to be disabled using state != "not active" under lock, what is done
with this patch. The same submit is used to fill rx channel while
ndo_open, when channel is idled, so add idled submit routine that
allows to prepare descs for the channel. All this simplifies code and
helps to avoid dormant mode usage and send packets only to active
channels, avoiding potential race in later on changes. Also add missed
sync barrier analogically like in other places after stopping tx
queues.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-16 14:03:25 -07:00
..
cpmac.c net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
cpsw_ale.c net: ethernet: ti: ale: do not auto delete mcast super entries 2019-04-27 17:11:49 -04:00
cpsw_ale.h net: ethernet: ti: cpsw: fix allmulti cfg in dual_mac mode 2019-04-27 17:11:49 -04:00
cpsw_ethtool.c net: ethernet: ti: davinci_cpdma: use idled submit 2019-06-16 14:03:25 -07:00
cpsw_priv.c net: ethernet: ti: cpsw: switch to use mac sl api 2019-04-27 17:11:49 -04:00
cpsw_priv.h net: ethernet: ti: cpsw: move ethtool func in separate file 2019-04-27 17:11:49 -04:00
cpsw_sl.c net: ethernet: ti: cpsw: introduce mac sl module api 2019-04-27 17:11:49 -04:00
cpsw_sl.h net: ethernet: ti: cpsw: introduce mac sl module api 2019-04-27 17:11:49 -04:00
cpsw-common.c net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
cpsw-phy-sel.c net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
cpsw.c net: ethernet: ti: davinci_cpdma: use idled submit 2019-06-16 14:03:25 -07:00
cpsw.h net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
cpts.c net: ethernet: ti: cpts: add support for ext rftclk selection 2019-06-09 12:53:06 -07:00
cpts.h net: ethernet: ti: cpts: add support for ext rftclk selection 2019-06-09 12:53:06 -07:00
davinci_cpdma.c net: ethernet: ti: davinci_cpdma: use idled submit 2019-06-16 14:03:25 -07:00
davinci_cpdma.h net: ethernet: ti: davinci_cpdma: use idled submit 2019-06-16 14:03:25 -07:00
davinci_emac.c net: ethernet: ti: davinci_cpdma: use idled submit 2019-06-16 14:03:25 -07:00
davinci_mdio.c drivers: net: davinci_mdio: fix return value check in davinci_mdio_probe() 2019-05-05 10:17:28 -07:00
Kconfig net: ethernet: ti: cpts: fix build failure for powerpc 2019-06-12 11:21:53 -07:00
Makefile net: ethernet: ti: netcp_ethss: fix build 2019-05-13 09:56:05 -07:00
netcp_core.c net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
netcp_ethss.c net: ethernet: ti: netcp_ethss: add support for child cpts node 2019-06-09 12:53:06 -07:00
netcp_sgmii.c net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
netcp_xgbepcsr.c net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
netcp.h net: ethernet: ti: convert to SPDX license identifiers 2019-04-27 17:11:48 -04:00
tlan.c net: documentation: build a directory structure for drivers 2018-12-05 11:30:06 -08:00
tlan.h tlan: Don't scream if no link 2014-07-07 17:06:52 -07:00