revert testing metadata xdp2tc
@@ -90,12 +90,6 @@ static CALI_BPF_INLINE int calico_xdp(struct xdp_md *xdp)
goto allow;
}
- // MAZDAK: This is just for test. Remove it later
- // Share with TC the packet is already accepted and accept it there too.
- if (xdp2tc_set_metadata(xdp, CALI_ST_ACCEPTED_BY_XDP)) {
- CALI_DEBUG("Failed to set metadata for TC\n");
- }
-
// Jump to the policy program
CALI_DEBUG("About to jump to policy program.\n");
bpf_tail_call(xdp, &cali_jump, PROG_INDEX_POLICY);
