[P4-dev] Other L2 protocol in bmv2
kh42 at rice.edu
Sat Dec 30 11:36:17 EST 2017
Thank you for confirming this!
I will try to test it.
引述 Antonin Bas <antonin at barefootnetworks.com>:
> The behavioral model uses libpcap to send and receive packets.
> If you use software interfaces (we use veth pairs by default) you should be
> able to handle any kind of traffic, even custom protocols (we are talking
> about a P4-programmable switch after all). I routinely send and process
> totally arbitrary packets for testing. The source routing tutorial is a
> good example of this:
> If you are connecting a HW NIC to the behavioral model, you may need some
> more work. For example it is recommended to disable all hardware offloading.
> On Fri, Dec 29, 2017 at 7:36 PM, Kuo-Feng Hsu <kh42 at rice.edu> wrote:
>> Hi all,
>> Does anyone ever try a different L2 header other than ethernet in behavior
>> For example, is it possible to use a Point-to-Point Protocol header?
>> Thank you!
>> P4-dev mailing list
>> P4-dev at lists.p4.org
More information about the P4-dev