FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
format.c File Reference
+ Include dependency graph for format.c:

Go to the source code of this file.

Macros

#define foreach_ppio_statistics_entry
 
#define foreach_ppio_inq_statistics_entry
 
#define foreach_ppio_outq_statistics_entry
 
#define foreach_pp2_rx_desc_field
 

Functions

static u32 mrvl_get_u32_bits (void *start, int offset, int first, int last)
 
u8format_mrvl_pp2_interface_name (u8 *s, va_list *args)
 
u8format_mrvl_pp2_interface (u8 *s, va_list *args)
 
u8format_mrvl_pp2_input_trace (u8 *s, va_list *args)
 

Macro Definition Documentation

#define foreach_pp2_rx_desc_field
Value:
_(0x00, 6, 0, l3_offset) \
_(0x00, 12, 8, ip_hdlen) \
_(0x00, 14, 13, ec) \
_(0x00, 15, 15, es) \
_(0x00, 19, 16, pool_id) \
_(0x00, 21, 21, hwf_sync) \
_(0x00, 22, 22, l4_chk_ok) \
_(0x00, 23, 23, ip_frg) \
_(0x00, 24, 24, ipv4_hdr_err) \
_(0x00, 27, 25, l4_info) \
_(0x00, 30, 28, l3_info) \
_(0x00, 31, 31, buf_header) \
_(0x04, 5, 0, lookup_id) \
_(0x04, 8, 6, cpu_code) \
_(0x04, 9, 9, pppoe) \
_(0x04, 11, 10, l3_cast_info) \
_(0x04, 13, 12, l2_cast_info) \
_(0x04, 15, 14, vlan_info) \
_(0x04, 31, 16, byte_count) \
_(0x08, 11, 0, gem_port_id) \
_(0x08, 13, 12, color) \
_(0x08, 14, 14, gop_sop_u) \
_(0x08, 15, 15, key_hash_enable) \
_(0x08, 31, 16, l4chk) \
_(0x0c, 31, 0, timestamp) \
_(0x10, 31, 0, buf_phys_ptr_lo) \
_(0x14, 7, 0, buf_phys_ptr_hi) \
_(0x14, 31, 8, key_hash) \
_(0x18, 31, 0, buf_virt_ptr_lo) \
_(0x1c, 7, 0, buf_virt_ptr_hi) \
_(0x1c, 14, 8, buf_qset_no) \
_(0x1c, 15, 15, buf_type) \
_(0x1c, 21, 16, mod_dscp) \
_(0x1c, 24, 22, mod_pri) \
_(0x1c, 25, 25, mdscp) \
_(0x1c, 26, 26, mpri) \
_(0x1c, 27, 27, mgpid) \
_(0x1c, 31, 29, port_num)

Definition at line 123 of file format.c.

#define foreach_ppio_inq_statistics_entry
Value:
_(enq_desc) \
_(drop_early) \
_(drop_fullq) \
_(drop_bm)

Definition at line 58 of file format.c.

#define foreach_ppio_outq_statistics_entry
Value:
_(enq_desc) \
_(enq_dec_to_ddr) \
_(enq_buf_to_ddr) \
_(deq_desc)

Definition at line 64 of file format.c.

#define foreach_ppio_statistics_entry
Value:
_(rx_packets) \
_(rx_fullq_dropped) \
_(rx_bm_dropped) \
_(rx_early_dropped) \
_(rx_fifo_dropped) \
_(rx_cls_dropped) \
_(tx_packets)

Definition at line 49 of file format.c.

Function Documentation

u8* format_mrvl_pp2_input_trace ( u8 s,
va_list *  args 
)

Definition at line 164 of file format.c.

+ Here is the call graph for this function:

u8* format_mrvl_pp2_interface ( u8 s,
va_list *  args 
)

Definition at line 71 of file format.c.

+ Here is the call graph for this function:

u8* format_mrvl_pp2_interface_name ( u8 s,
va_list *  args 
)

Definition at line 41 of file format.c.

+ Here is the call graph for this function:

static u32 mrvl_get_u32_bits ( void *  start,
int  offset,
int  first,
int  last 
)
inlinestatic

Definition at line 30 of file format.c.

+ Here is the call graph for this function: