Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 184f8ad2 authored by Murali Karicheri's avatar Murali Karicheri
Browse files

net: ti: prueth_core: move timer utility functions to prueth_core


As a preparatory patch to introduce additional Ethernet types in
the driver that also requires timer related functions, it is cleaner
to have timer related main code in prueth_core driver and on event
make calls to appropriate firmware specific functions as needed. So
this add a function prueth_enable_nsp(), to configure storm prevention
and define the same in prueth_qos.c. On timeout, call prueth_enable_nsp()
to configure storm prevention feature.

Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
parent 89ae47a7
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment