[P4] T4P4S-16
Sándor Laki
lakis at elte.hu
Fri Feb 23 10:24:35 CET 2018
Sziasztok,
A 3. hiba a portfwd.p4 példánál a kontrollerben volt, azaz ne
keressétek. A furcsaság, hogy az egyetemi gépen a master branchben nem
jött ki a hiba, de az Ericsosnos gépen ott is ugyanez volt az eredmény.
Átírtam megfelelően két bájtosra feltöltést és most szépen fut. Sorry.
Üdv.
Sanyi
On 2018.02.22. 12:59, Sándor Laki wrote:
> Sziasztok,
>
> 1. A furcsaság a hardware_indep/controlplane.c.py 86. soránál:
>
> if table.match_type == "LPM":
> #[ uint8_t prefix_length = 0;
> for k in table.key.keyElements:
> if table.match_type == "EXACT":
> #[ prefix_length += ${get_key_byte_width(k)};
> if table.match_type == "LPM":
> #[ prefix_length +=
> field_instance_${k.header.name}_${k.field_name}_prefix_length;
>
> 2. packet drop nem érvényesül pl. l3fwd.p4
>
> 3. Exact tábla esetén ha a kulcs az ingress_port, akkor táblába rossz
> kulcs kerül be. Két bájtos a kulcs, és a második bájt mintha memória
> szemét lenne.
>
> Üdv.
>
> Sanyi
>
>
>
>
> _______________________________________________
> P4 mailing list
> P4 at plc.inf.elte.hu
> https://plc.inf.elte.hu/mailman/listinfo/p4
--
Sándor Laki, PhD
Assistant professor
Department of Information Systems
Eötvös Loránd University
Pázmány Péter stny. 1/C
H-1117, Budapest, Hungary
Room 2.506
Web: http://lakis.web.elte.hu
Phone: +36 1 372 2869 / 8477
Cell: +36 70 374 2646
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://plc.inf.elte.hu/pipermail/p4/attachments/20180223/2aec9627/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3978 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://plc.inf.elte.hu/pipermail/p4/attachments/20180223/2aec9627/attachment.bin>
More information about the P4
mailing list