drivers: eth: mcux: Use correct Kconfig option for RX bufs
The mcux ethernet driver was using TX buf count when allocating RX buffers. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
2f81942754
commit
e63a781612
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ struct eth_context {
|
|||
static void eth_0_config_func(void);
|
||||
|
||||
static enet_rx_bd_struct_t __aligned(ENET_BUFF_ALIGNMENT)
|
||||
rx_buffer_desc[CONFIG_ETH_MCUX_TX_BUFFERS];
|
||||
rx_buffer_desc[CONFIG_ETH_MCUX_RX_BUFFERS];
|
||||
|
||||
static enet_tx_bd_struct_t __aligned(ENET_BUFF_ALIGNMENT)
|
||||
tx_buffer_desc[CONFIG_ETH_MCUX_TX_BUFFERS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue