dentproject / dentOS

dentOS SwitchDev based NOS
Other
200 stars 59 forks source link

prestera: Update prestera driver to v3.1.4 #172

Closed taraschornyiplv closed 2 years ago

taraschornyiplv commented 2 years ago

Add debugfs support for setting IPG

To set IPG

localhost# ls  /sys/kernel/debug/prestera/
hw_counters  ipg  sw_counters
localhost# cat  /sys/kernel/debug/prestera/ipg
ipg: 12
localhost# echo 4 >   /sys/kernel/debug/prestera/ipg
localhost# cat  /sys/kernel/debug/prestera/ipg
ipg: 4
localhost# echo 12 >   /sys/kernel/debug/prestera/ipg
localhost# cat  /sys/kernel/debug/prestera/ipg
ipg: 12
localhost# echo 13 >   /sys/kernel/debug/prestera/ipg
-bash: echo: write error: Invalid argument
localhost# cat  /sys/kernel/debug/prestera/ipg
ipg: 12

Signed-off-by: Taras Chornyi taras.chornyi@plvision.eu

Mickey201 commented 2 years ago

@paulmenzel , This release is for a legacy stream based on automated CI/CD build procedures. Future Switchdev releases (main/master based) are derived from the Linux REPO and can be easily addressed.

paulmenzel commented 2 years ago

@Mickey201, sorry that is no argument. Please do the work adhering to current standards, and that is git formatted patches with a commit message explaining the changes.