]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: pie: move common code to pie.h
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>
Wed, 22 Jan 2020 18:22:24 +0000 (23:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 10:38:30 +0000 (11:38 +0100)
commite87e70043dbb4f9398bd314da4678cf14fb73363
tree2edd1577c1794d8bb4e9932e00e8bccfb4905850
parent61b9a99f91d9c5ceb5185925fdea251319f5fe83
net: sched: pie: move common code to pie.h

This patch moves macros, structures and small functions common
to PIE and FQ-PIE (to be added in a future commit) from the file
net/sched/sch_pie.c to the header file include/net/pie.h.
All the moved functions are made inline.

Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in>
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pie.h [new file with mode: 0644]
net/sched/sch_pie.c