Skip to content

Commit

Permalink
net/ice: fix fast mbuf freeing
Browse files Browse the repository at this point in the history
[ upstream commit ae69b29 ]

MBUF_FAST_FREE should be supported as per queue offload for ice.

Fixes: 6eac0b7 ("net/ice: support advance Rx/Tx")

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
  • Loading branch information
Alvin Zhang authored and steevenlee committed Jun 8, 2021
1 parent c7db959 commit e488fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3642,7 +3642,7 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
}

dev_info->rx_queue_offload_capa = 0;
dev_info->tx_queue_offload_capa = 0;
dev_info->tx_queue_offload_capa = DEV_TX_OFFLOAD_MBUF_FAST_FREE;

dev_info->reta_size = pf->hash_lut_size;
dev_info->hash_key_size = (VSIQF_HKEY_MAX_INDEX + 1) * sizeof(uint32_t);
Expand Down

0 comments on commit e488fd8

Please sign in to comment.