Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net/sched: Remove uapi support for rsvp classifier

commit 265b4da82dbf ("net/sched: Retire rsvp classifier") retired the TC RSVP
classifier.
Remove UAPI for it. Iproute2 will sync by equally removing it from user space.

Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jamal Hadi Salim and committed by
David S. Miller
41bc3e8f d8213efe

-62
-31
include/uapi/linux/pkt_cls.h
··· 280 280 281 281 #define TC_U32_MAXDEPTH 8 282 282 283 - 284 - /* RSVP filter */ 285 - 286 - enum { 287 - TCA_RSVP_UNSPEC, 288 - TCA_RSVP_CLASSID, 289 - TCA_RSVP_DST, 290 - TCA_RSVP_SRC, 291 - TCA_RSVP_PINFO, 292 - TCA_RSVP_POLICE, 293 - TCA_RSVP_ACT, 294 - __TCA_RSVP_MAX 295 - }; 296 - 297 - #define TCA_RSVP_MAX (__TCA_RSVP_MAX - 1 ) 298 - 299 - struct tc_rsvp_gpi { 300 - __u32 key; 301 - __u32 mask; 302 - int offset; 303 - }; 304 - 305 - struct tc_rsvp_pinfo { 306 - struct tc_rsvp_gpi dpi; 307 - struct tc_rsvp_gpi spi; 308 - __u8 protocol; 309 - __u8 tunnelid; 310 - __u8 tunnelhdr; 311 - __u8 pad; 312 - }; 313 - 314 283 /* ROUTE filter */ 315 284 316 285 enum {
-31
tools/include/uapi/linux/pkt_cls.h
··· 204 204 205 205 #define TC_U32_MAXDEPTH 8 206 206 207 - 208 - /* RSVP filter */ 209 - 210 - enum { 211 - TCA_RSVP_UNSPEC, 212 - TCA_RSVP_CLASSID, 213 - TCA_RSVP_DST, 214 - TCA_RSVP_SRC, 215 - TCA_RSVP_PINFO, 216 - TCA_RSVP_POLICE, 217 - TCA_RSVP_ACT, 218 - __TCA_RSVP_MAX 219 - }; 220 - 221 - #define TCA_RSVP_MAX (__TCA_RSVP_MAX - 1 ) 222 - 223 - struct tc_rsvp_gpi { 224 - __u32 key; 225 - __u32 mask; 226 - int offset; 227 - }; 228 - 229 - struct tc_rsvp_pinfo { 230 - struct tc_rsvp_gpi dpi; 231 - struct tc_rsvp_gpi spi; 232 - __u8 protocol; 233 - __u8 tunnelid; 234 - __u8 tunnelhdr; 235 - __u8 pad; 236 - }; 237 - 238 207 /* ROUTE filter */ 239 208 240 209 enum {