[dpdk-dev] [PATCH v2] net/octeontx2: fix PTP enable via Rx ofload flags

Jerin Jacob Kollanukkaran jerinj at marvell.com
Sun Jul 28 18:24:13 CEST 2019


> -----Original Message-----
> From: Harman Kalra <hkalra at marvell.com>
> Sent: Saturday, July 27, 2019 7:26 PM
> To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>; Nithin Kumar
> Dabilpuram <ndabilpuram at marvell.com>; Kiran Kumar Kokkilagadda
> <kirankumark at marvell.com>
> Cc: dev at dpdk.org; Harman Kalra <hkalra at marvell.com>
> Subject: [PATCH v2] net/octeontx2: fix PTP enable via Rx ofload flags
> 
> Earlier implementation for enabling ptp via RX offload flag was causing
> segmentation fault as it was getting executed in the device configuration
> stage where RX and TX queues were not configured. As in the ptp enable
> process rx queues are used for mbuf setup while tx queues are used for
> send descriptor setup.
> Moving the logic in dev start as all the resources will be configured.
> 
> Fixes: b5dc3140448ee ("net/octeontx2: support base PTP")
> 
> Signed-off-by: Harman Kalra <hkalra at marvell.com>

Acked-by: Jerin Jacob <jerinj at marvell.com>

Applied to dpdk-next-net-mrvl/master. Thanks


More information about the dev mailing list