mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
axgbe: enable RSF to prevent zero-length packets while in Netmap mode
Initially, RSF (Receive Queue Store and Forward) was disabled for unknown reasons, but the cut-through mode that's enabled as a result seems to send 0 length packets up to the DMA when the RX queue is full.
This commit is contained in:
parent
ba48c5bc8d
commit
44ea871297
1 changed files with 1 additions and 1 deletions
|
|
@ -1378,7 +1378,7 @@ xgbe_default_config(struct xgbe_prv_data *pdata)
|
|||
pdata->tx_sf_mode = MTL_TSF_ENABLE;
|
||||
pdata->tx_threshold = MTL_TX_THRESHOLD_64;
|
||||
pdata->tx_osp_mode = DMA_OSP_ENABLE;
|
||||
pdata->rx_sf_mode = MTL_RSF_DISABLE;
|
||||
pdata->rx_sf_mode = MTL_RSF_ENABLE;
|
||||
pdata->rx_threshold = MTL_RX_THRESHOLD_64;
|
||||
pdata->pause_autoneg = 1;
|
||||
pdata->phy_speed = SPEED_UNKNOWN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue