Message ID | 1598255717-32316-1-git-send-email-sundeep.lkml@gmail.com |
---|---|
Headers | show |
Series | Add PTP support for Octeontx2 | expand |
From: sundeep.lkml@gmail.com Date: Mon, 24 Aug 2020 13:25:14 +0530 > This patchset adds PTP support for Octeontx2 platform. > PTP is an independent coprocessor block from which > CGX block fetches timestamp and prepends it to the > packet before sending to NIX block. Patches are as > follows: > > Patch 1: Patch to enable/disable packet timstamping > in CGX upon mailbox request. It also adjusts > packet parser (NPC) for the 8 bytes timestamp > appearing before the packet. > > Patch 2: Patch adding PTP pci driver which configures > the PTP block and hooks up to RVU AF driver. > It also exposes a mailbox call to adjust PTP > hardware clock. > > Patch 3: Patch adding PTP clock driver for PF netdev. > > Acked-by: Richard Cochran <richardcochran@gmail.com> > Acked-by: Jakub Kicinski <kuba@kernel.org> ... Series applied, thank you.
From: David Miller <davem@davemloft.net> Date: Mon, 24 Aug 2020 06:16:57 -0700 (PDT) > Series applied, thank you. Actually, this doesn't even compile: drivers/net/ethernet/marvell/octeontx2/af/ptp.c: In function ‘get_clock_rate’: drivers/net/ethernet/marvell/octeontx2/af/ptp.c:60:26: error: implicit declaration of function ‘FIELD_GET’; did you mean ‘FOLL_GET’? [-Werror=implicit-function-declaration] 60 | ret = CLOCK_BASE_RATE * FIELD_GET(RST_MUL_BITS, cfg); | ^~~~~~~~~ | FOLL_GET
Hi David, On Mon, Aug 24, 2020 at 6:47 PM David Miller <davem@davemloft.net> wrote: > > From: David Miller <davem@davemloft.net> > Date: Mon, 24 Aug 2020 06:16:57 -0700 (PDT) > > > Series applied, thank you. > > Actually, this doesn't even compile: > Our Marvell GCC10 ARM64 compiler did not complain anything about this even with W=1 and my bad I overlooked the missing header file inclusion. The same happened during V1 where the power-pc compiler caught a similar error and ours did not. Sorry for the trouble, I will send the next spin. Thanks, Sundeep > drivers/net/ethernet/marvell/octeontx2/af/ptp.c: In function ‘get_clock_rate’: > drivers/net/ethernet/marvell/octeontx2/af/ptp.c:60:26: error: implicit declaration of function ‘FIELD_GET’; did you mean ‘FOLL_GET’? [-Werror=implicit-function-declaration] > 60 | ret = CLOCK_BASE_RATE * FIELD_GET(RST_MUL_BITS, cfg); > | ^~~~~~~~~ > | FOLL_GET