summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ethernet/format.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-366/+0
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-04VPP-355: add PBB (802.1ah) tag rewritePavel Kotucek1-24/+63
- new API/CLI to define pbb tag rewrite on interface - encapsulation/decapsulation of PBB tags - tracing of PBB header - PBB tag rewrite operations Change-Id: I538b3025a8b2e41cdeed9f10fea94bbcd28b5f5f Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-08-15VPP251 - Code style vnet/vnet/ethernetKeith Burns (alagalah)1-54/+66
Change-Id: I3e51ca70a8e1ac7f6584bc5b0271ee4daacc1084 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-07-18Output format change from "vlan 802.1q" to "802.1q vlan", addition to VPP-111marek zavodsky1-3/+3
Change-Id: Ieac14c88e6f0d2d88da1fe47f981fa33ae6f7c23 Signed-off-by: marek zavodsky <mazavods@gmail.com>
2016-07-14Show 802.1q/802.1ah details in the trace output, fixes VPP-111marek zavodsky1-10/+24
added one line to dpdk-input trace to display vlan tci when PKT_RX_VLAN_PKT flag set cleaned trace output of af_packet node. Added formatter for vlan_tci. Merged with John Lo's ethernet trace extension: Decode both dot1q and dot1ad VLAN tags in ethernet format function and show what type of vlan tag it is. dpdk-input & ethernet trace output example of ARP: 00:00:41:545481: dpdk-input TenGigabitEthernet8/0/1 rx queue 0 buffer 0x10f2e: current data 0, length 60, free-list 0, totlen-nifb 0, trace 0x1 PKT MBUF: port 4, nb_segs 1, pkt_len 60 buf_len 2176, data_len 60, ol_flags 0x1, data_off 128, phys_addr 0x70e38ac0 packet_type 0x0 Packet Offload Flags PKT_RX_VLAN_PKT (0x0001) RX packet is a 802.1q VLAN packet ID 100 ARP: 8c:60:4f:dd:ca:81 -> ff:ff:ff:ff:ff:ff vlan 802.1q id 100 request, type ethernet/IP4, address size 6/4 8c:60:4f:dd:ca:81/172.16.110.1 -> ff:ff:ff:ff:ff:ff/172.16.110.10 00:00:41:545492: ethernet-input ARP: 8c:60:4f:dd:ca:81 -> ff:ff:ff:ff:ff:ff vlan 802.1q id 100 00:00:41:545499: error-drop ethernet-input: unknown vlan Change-Id: Iae67a945fda4aa2f24032e305a24544dd182b065 Signed-off-by: marek zavodsky <mazavods@gmail.com>
2016-04-22Add clib_memcpy macro based on DPDK rte_memcpy implementationDamjan Marion1-1/+1
Change-Id: I22cb443c4bd0bf298abb6f06e8e4ca65a44a2854 Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke1-0/+301
Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke <eaw@cisco.com>