Home
last modified time | relevance | path

Searched refs:des01 (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dnorm_desc.c35 if (unlikely(p->des01.tx.error_summary)) { in ndesc_get_tx_status()
36 if (unlikely(p->des01.tx.underflow_error)) { in ndesc_get_tx_status()
40 if (unlikely(p->des01.tx.no_carrier)) { in ndesc_get_tx_status()
44 if (unlikely(p->des01.tx.loss_carrier)) { in ndesc_get_tx_status()
48 if (unlikely((p->des01.tx.excessive_deferral) || in ndesc_get_tx_status()
49 (p->des01.tx.excessive_collisions) || in ndesc_get_tx_status()
50 (p->des01.tx.late_collision))) in ndesc_get_tx_status()
51 stats->collisions += p->des01.tx.collision_count; in ndesc_get_tx_status()
55 if (p->des01.etx.vlan_frame) in ndesc_get_tx_status()
58 if (unlikely(p->des01.tx.deferred)) in ndesc_get_tx_status()
[all …]
Ddescs_com.h38 p->des01.erx.buffer2_size = BUF_SIZE_8KiB - 1; in ehn_desc_rx_set_on_ring()
40 p->des01.erx.end_ring = 1; in ehn_desc_rx_set_on_ring()
46 p->des01.etx.end_ring = 1; in ehn_desc_tx_set_on_ring()
51 p->des01.etx.end_ring = ter; in enh_desc_end_tx_desc_on_ring()
57 p->des01.etx.buffer1_size = BUF_SIZE_4KiB; in enh_set_tx_desc_len_on_ring()
58 p->des01.etx.buffer2_size = len - BUF_SIZE_4KiB; in enh_set_tx_desc_len_on_ring()
60 p->des01.etx.buffer1_size = len; in enh_set_tx_desc_len_on_ring()
66 p->des01.rx.buffer2_size = BUF_SIZE_2KiB - 1; in ndesc_rx_set_on_ring()
68 p->des01.rx.end_ring = 1; in ndesc_rx_set_on_ring()
74 p->des01.tx.end_ring = 1; in ndesc_tx_set_on_ring()
[all …]
Denh_desc.c35 if (unlikely(p->des01.etx.error_summary)) { in enh_desc_get_tx_status()
36 if (unlikely(p->des01.etx.jabber_timeout)) in enh_desc_get_tx_status()
39 if (unlikely(p->des01.etx.frame_flushed)) { in enh_desc_get_tx_status()
44 if (unlikely(p->des01.etx.loss_carrier)) { in enh_desc_get_tx_status()
48 if (unlikely(p->des01.etx.no_carrier)) { in enh_desc_get_tx_status()
52 if (unlikely(p->des01.etx.late_collision)) in enh_desc_get_tx_status()
53 stats->collisions += p->des01.etx.collision_count; in enh_desc_get_tx_status()
55 if (unlikely(p->des01.etx.excessive_collisions)) in enh_desc_get_tx_status()
56 stats->collisions += p->des01.etx.collision_count; in enh_desc_get_tx_status()
58 if (unlikely(p->des01.etx.excessive_deferral)) in enh_desc_get_tx_status()
[all …]
Ddescs.h163 } des01; member