You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI all:
My env is centos 7. core is 5.15.46 (build by myself) gcc 11.2.1 clang 14.0.6 llvm 14.0.6 bpftool is v5.15.46. I use bpf_redirect(redirectIfindex, 0);
to redirect packet. The para redirectIfindex is index network(sfp2).
However, i see there is no packet sent. cat /sys/class/net/sfp2/statistics/tx_packets
The number is the same.
when i use xdp SKB model , the number change. But when i use NATIVE model, the number is the same. i build AF_XDP config
I use xdpdump/tcpdump to capture packet. There is no packet sent.
Is it any way to fix it ? Thanks
The text was updated successfully, but these errors were encountered:
HI all:
My env is centos 7. core is 5.15.46 (build by myself) gcc 11.2.1 clang 14.0.6 llvm 14.0.6 bpftool is v5.15.46. I use
bpf_redirect(redirectIfindex, 0);
to redirect packet. The para redirectIfindex is index network(sfp2).
However, i see there is no packet sent.
cat /sys/class/net/sfp2/statistics/tx_packets
The number is the same.
when i use xdp SKB model , the number change. But when i use NATIVE model, the number is the same. i build AF_XDP config
I use xdpdump/tcpdump to capture packet. There is no packet sent.
Is it any way to fix it ? Thanks
The text was updated successfully, but these errors were encountered: