[P4-dev] How to know the match status.

Kamal Bhatt Kamal.Bhatt at stordis.com
Thu Oct 11 04:12:30 EDT 2018


Hello Everyone,
Can anyone help on how we know in p4 what all match happened for a packet, for example.

table ipv4_lpm {
        key = {
            hdr.ipv4.dstAddr: lpm;
            hdr.ethernet.srcAddr:exact;
            match3;
            .
            .
        }

Here, If a packet didn't got the match and was dropped, I would like to know what fields were not matched.

Mit freundlichen Grüßen / Best Regards

Kamal Bhatt
Lead Software Engineer

STORDIS GmbH | Rosenwiesstr.17 | 70567 Stuttgart | Germany | T: +49 (0)711 34 21 58 0 | www.stordis.com<http://www.stordis.com/>
Amtsgericht Stuttgart, HRB 724261, Geschäftsführer: Alexander Jeffries, Waldemar Scheck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20181011/30d6c598/attachment.html>


More information about the P4-dev mailing list