aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVineeth Karumanchi <vineeth.karumanchi@amd.com>2024-06-21 10:27:32 +0530
committerPaolo Abeni <pabeni@redhat.com>2024-06-25 11:53:07 +0200
commit759cc793ebfc2d1a02f357ae97e5dcdcd63f758f (patch)
tree15a927746eecd679fe11af4139a3d497da888d4f /net/unix/af_unix.c
parent7e7c714a36a5b10e391168e7e8145060e041ea12 (diff)
downloadlinux-759cc793ebfc2d1a02f357ae97e5dcdcd63f758f.tar.gz
linux-759cc793ebfc2d1a02f357ae97e5dcdcd63f758f.tar.bz2
linux-759cc793ebfc2d1a02f357ae97e5dcdcd63f758f.zip
net: macb: queue tie-off or disable during WOL suspend
When GEM is used as a wake device, it is not mandatory for the RX DMA to be active. The RX engine in IP only needs to receive and identify a wake packet through an interrupt. The wake packet is of no further significance; hence, it is not required to be copied into memory. By disabling RX DMA during suspend, we can avoid unnecessary DMA processing of any incoming traffic. During suspend, perform either of the below operations: - tie-off/dummy descriptor: Disable unused queues by connecting them to a looped descriptor chain without free slots. - queue disable: The newer IP version allows disabling individual queues. Co-developed-by: Harini Katakam <harini.katakam@amd.com> Signed-off-by: Harini Katakam <harini.katakam@amd.com> Signed-off-by: Vineeth Karumanchi <vineeth.karumanchi@amd.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Tested-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> # on SAMA7G5 Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions