> -----Original Message----- > From: Srikanth Yalavarthi <syalavar...@marvell.com> > Sent: Tuesday, February 7, 2023 9:37 PM > To: Srikanth Yalavarthi <syalavar...@marvell.com> > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > <sshankarn...@marvell.com>; Jerin Jacob Kollanukkaran <jer...@marvell.com>; > Anup Prabhu <apra...@marvell.com>; Prince Takkar <ptak...@marvell.com>; > Parijat Shukla <pshu...@marvell.com> > Subject: [PATCH v5 32/39] ml/cnxk: enable support to get xstats in cycles > > Enabled support to retrieve xstats in either cycles or ns. > Access to sclk is enabled only if an RVU device is probed during > initialization. > Driver would return the xstats in nanoseconds only when an RVU device is > probed, else would fallback to cycles. > > Signed-off-by: Srikanth Yalavarthi <syalavar...@marvell.com> > --- > drivers/ml/cnxk/cn10k_ml_ops.c | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > Acked-by: Prince Takkar <ptak...@marvell.com>
<<attachment: winmail.dat>>