|
@@ -1224,8 +1224,7 @@ static void free_dma_desc_resources(struct stmmac_priv *priv)
|
|
*/
|
|
*/
|
|
static void stmmac_dma_operation_mode(struct stmmac_priv *priv)
|
|
static void stmmac_dma_operation_mode(struct stmmac_priv *priv)
|
|
{
|
|
{
|
|
- if (likely(priv->plat->force_sf_dma_mode ||
|
|
|
|
- ((priv->plat->tx_coe) && (!priv->no_csum_insertion)))) {
|
|
|
|
|
|
+ if (priv->plat->force_sf_dma_mode || priv->plat->tx_coe) {
|
|
/*
|
|
/*
|
|
* In case of GMAC, SF mode can be enabled
|
|
* In case of GMAC, SF mode can be enabled
|
|
* to perform the TX COE in HW. This depends on:
|
|
* to perform the TX COE in HW. This depends on:
|