Currently we use non-NUMA aware allocation for TPD and RRD buffers,
this patch modifies to use NUMA friendly allocation.
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
Change since v1:
- Addressed comments related to ordering
drivers/net/ethernet/qualcomm/emac/emac-mac
Currently we use non-NUMA aware allocation for TPD and RRD buffers,
this patch modifies to use NUMA friendly allocation.
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
drivers/net/ethernet/qualcomm/emac/emac-mac.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
This patch introduces ops structure for sgmii, This by ensures that
we do not need dummy functions in case of emulation platforms.
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
drivers/net/ethernet/qualcomm/emac/emac-mac.c | 5 +-
drivers/net/ethernet/qualcomm/ema
freeing the buffers.
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
drivers/net/ethernet/qualcomm/emac/emac-mac.c | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/net/ethernet/qualcomm/emac/emac-mac.c
b/drivers/net/ethernet/qu
for delay based tasks to be done in
sgmii open which will result in NETDEV watchdog
- As per the documentation the order of init should be sgmii, mac, rings
and DMA
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
drivers/net/ethernet/qualcomm/emac/emac.c | 6 +++---
1
Currently mdio read/write takes around ~115us as the timeout
between status check is set to 100us.
By reducing the timeout to 1us mdio read/write takes ~15us to
complete. This improves the link up event response.
Signed-off-by: Hemanth Puranik <hpura...@codeaurora.org>
---
drivers/net/et