Searched refs:ETH_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
213 rx_desc->buffer1_addr = (uint32_t)&p->rx_buf[i * ETH_BUFFER_SIZE]; in eth_cyclonev_setup_rxdesc()214 rx_desc->control_buffer_size = ETH_DMARXDESC_RCH | ETH_BUFFER_SIZE; in eth_cyclonev_setup_rxdesc()250 tx_desc->buffer1_addr = (uint32_t)&p->tx_buf[i * ETH_BUFFER_SIZE]; in eth_cyclonev_setup_txdesc()429 if (len >= ETH_BUFFER_SIZE) { in eth_cyclonev_send()437 memcpy(&p->tx_buf[p->tx_current_desc_number * ETH_BUFFER_SIZE], frag->data, in eth_cyclonev_send()694 if (data_remaining < ETH_BUFFER_SIZE) { in eth_cyclonev_receive()697 buf_size = ETH_BUFFER_SIZE; in eth_cyclonev_receive()700 net_pkt_write(pkt, &p->rx_buf[rx_search * ETH_BUFFER_SIZE], in eth_cyclonev_receive()715 if (data_remaining < ETH_BUFFER_SIZE) { in eth_cyclonev_receive()718 buf_size = ETH_BUFFER_SIZE; in eth_cyclonev_receive()[all …]
21 #define ETH_BUFFER_SIZE 1536 macro45 uint8_t rx_buf[ETH_BUFFER_SIZE * NB_RX_DESCS]; /* Receive Buffer */46 uint8_t tx_buf[ETH_BUFFER_SIZE * NB_TX_DESCS]; /* Transmit Buffer */