net/ixgbe: enable NEON path with checksum offload
IXGBE NEON vector PMD now supports checksum offloading, hence can be used when DEV_RX_OFFLOAD_CHECKSUM is set. Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com>
This commit is contained in:
parent
4b194d481b
commit
cf96160a0a
@ -638,11 +638,5 @@ ixgbe_txq_vec_setup(struct ixgbe_tx_queue *txq)
|
||||
int __rte_cold
|
||||
ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
|
||||
{
|
||||
struct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode;
|
||||
|
||||
/* no csum error report support */
|
||||
if (rxmode->offloads & DEV_RX_OFFLOAD_CHECKSUM)
|
||||
return -1;
|
||||
|
||||
return ixgbe_rx_vec_dev_conf_condition_check_default(dev);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user