]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
pkt_sched: Remove TC_RED_OFFLOADED from uapi
authorYuval Mintz <yuvalm@mellanox.com>
Thu, 14 Dec 2017 13:54:31 +0000 (15:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 18:35:37 +0000 (13:35 -0500)
Following the previous patch, RED is now using the new uniform uapi
for indicating it's offloaded. As a result, TC_RED_OFFLOADED is no
longer utilized by kernel and can be removed [as it's still not
part of any stable release].

Fixes: 602f3baf2218 ("net_sch: red: Add offload ability to RED qdisc")
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h

index af3cc2f4e1ad00dff0e011a4e94e0905d085d0ca..37b5096ae97be4e6115b0941b82918e11250ee6b 100644 (file)
@@ -256,7 +256,6 @@ struct tc_red_qopt {
 #define TC_RED_ECN             1
 #define TC_RED_HARDDROP                2
 #define TC_RED_ADAPTATIVE      4
-#define TC_RED_OFFLOADED       8
 };
 
 struct tc_red_xstats {