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
{{ message }}
This repository was archived by the owner on Jan 19, 2023. It is now read-only.
The XDP_TX return code only support to send the packets to the same NIC card . And XDP_REDIRECT can send the received packets to another NIC . However , this compiler seems not to implement XDP_REDIRECT ? Is there any other way to implement forwarding function from one nic like eth1 to another NIC like eth2 using P4C-XDP compiler?
I notice that the xdp_model.p4 has defined xdp_output:
structxdp_output {
xdp_actionoutput_action;
bit<32>output_port; // output port for packet
}
As for the output_port , is it used to appoint the different NIC id?