tree: https://github.com/cilium/linux.git pr/bpf-tc-links4 head: 8826dfdc19ba57ab07de1ae4f27a2bc27e74b273 commit: 66745416de396db2f7951b8423d7e2a3cdc649dd [1/10] bpf: Add initial fd-based API to attach tc BPF programs config: hexagon-randconfig-r041-20221002 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/cilium/linux/commit/66745416de396db2f7951b8423d7e2a3cdc649dd git remote add cilium https://github.com/cilium/linux.git git fetch --no-tags cilium pr/bpf-tc-links4 git checkout 66745416de396db2f7951b8423d7e2a3cdc649dd # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash net/core/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from net/core/dev.c:110: >> include/net/xtc.h:143:8: error: no member named 'tc_index' in 'struct sk_buff' skb->tc_index = qdisc_skb_cb(skb)->tc_classid; ~~~ ^ net/core/dev.c:4046:12: error: call to undeclared function 'tc_run'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sch_ret = tc_run(entry, skb); ^ net/core/dev.c:4046:12: note: did you mean 'xtc_run'? net/core/dev.c:4002:1: note: 'xtc_run' declared here xtc_run(const struct xtc_entry *entry, struct sk_buff *skb, ^ net/core/dev.c:4094:12: error: call to undeclared function 'tc_run'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sch_ret = tc_run(entry, skb); ^ 3 errors generated. vim +143 include/net/xtc.h 138 139 static inline enum tc_action_base xtc_action_code(struct sk_buff *skb, int code) 140 { 141 switch (code) { 142 case TC_PASS: > 143 skb->tc_index = qdisc_skb_cb(skb)->tc_classid; 144 fallthrough; 145 case TC_DROP: 146 case TC_REDIRECT: 147 return code; 148 case TC_NEXT: 149 default: 150 return TC_NEXT; 151 } 152 } 153 -- 0-DAY CI Kernel Test Service https://01.org/lkp