]> 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)
commit8f069623c14239aca1230b9ac6b29173975edf6a
tree2edd1577c1794d8bb4e9932e00e8bccfb4905850
parent2ae2722e8d882952d06bd098a85b2c82a3d75aa4
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