On 02/22/2016 02:21 PM, Jamal Hadi Salim wrote:
[...]
Note: as of the time of submission skbedit of queue map doesnt work
(just in case you try to use it)
Yep, setting queue mapping doesn't work. ;)
Signed-off-by: Jamal Hadi Salim <[email protected]>
---
net/sched/Kconfig | 5 +++
net/sched/Makefile | 1 +
net/sched/act_meta_qmap.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++
[...]
+static int __init ifeqmap_init_module(void)
+{
+ pr_emerg("Loaded IFE qmap\n");
pr_emerg() means "system is unusable" ... ;)
+ return register_ife_op(&ife_qmap_ops);
+}
+
+static void __exit ifeqmap_cleanup_module(void)
+{
+ pr_emerg("Unloaded IFE qmap\n");
+ unregister_ife_op(&ife_qmap_ops);
+}
+
+module_init(ifeqmap_init_module);
+module_exit(ifeqmap_cleanup_module);
+
+MODULE_AUTHOR("Jamal Hadi Salim(2015)");
+MODULE_DESCRIPTION("Inter-FE skb qmap metadata action");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS_IFE_META(IFE_META_QMAP);