[v2 net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-29 Thread sundeep . lkml
From: Subbaraya Sundeep On 98xx silicon, NPC block has additional mcam entries, counters and NIX1 interfaces. Extended set of registers are present for the new mcam entries and counters. This patch does the following: - updates the register accessing macros to use extended set if present. - con

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-19 Thread sundeep subbaraya
Hi Jakub, On Sun, Oct 18, 2020 at 9:41 PM Jakub Kicinski wrote: > > On Sat, 17 Oct 2020 10:22:26 +0530 sundeep subbaraya wrote: > > > Let me rephrase the question - can the AF driver only run on the SoC > > > or are there configurations in which host can control the AF? > > > > > > I see that Kco

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-18 Thread Jakub Kicinski
On Sat, 17 Oct 2020 10:22:26 +0530 sundeep subbaraya wrote: > > Let me rephrase the question - can the AF driver only run on the SoC > > or are there configurations in which host can control the AF? > > > > I see that Kconfig depends on ARM64 but is that what you choose > > to support or a HW limit

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-16 Thread sundeep subbaraya
Hi Jakub, On Fri, Oct 16, 2020 at 11:18 PM Jakub Kicinski wrote: > > On Fri, 16 Oct 2020 08:59:43 +0530 sundeep subbaraya wrote: > > On Thu, Oct 15, 2020 at 9:02 PM Jakub Kicinski wrote: > > > On Thu, 15 Oct 2020 17:53:07 +0530 sundeep subbaraya wrote: > > > > Hi Jakub, > > > > > > > > On Thu, O

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-16 Thread Jakub Kicinski
On Fri, 16 Oct 2020 08:59:43 +0530 sundeep subbaraya wrote: > On Thu, Oct 15, 2020 at 9:02 PM Jakub Kicinski wrote: > > On Thu, 15 Oct 2020 17:53:07 +0530 sundeep subbaraya wrote: > > > Hi Jakub, > > > > > > On Thu, Oct 15, 2020 at 8:18 AM Jakub Kicinski wrote: > > > > > > > > On Tue, 13 Oct

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-15 Thread sundeep subbaraya
Hi Jakub, On Thu, Oct 15, 2020 at 9:02 PM Jakub Kicinski wrote: > > On Thu, 15 Oct 2020 17:53:07 +0530 sundeep subbaraya wrote: > > Hi Jakub, > > > > On Thu, Oct 15, 2020 at 8:18 AM Jakub Kicinski wrote: > > > > > > On Tue, 13 Oct 2020 15:56:28 +0530 sundeep.l...@gmail.com wrote: > > > > -static

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-15 Thread Jakub Kicinski
On Thu, 15 Oct 2020 17:53:07 +0530 sundeep subbaraya wrote: > Hi Jakub, > > On Thu, Oct 15, 2020 at 8:18 AM Jakub Kicinski wrote: > > > > On Tue, 13 Oct 2020 15:56:28 +0530 sundeep.l...@gmail.com wrote: > > > -static const struct npc_mcam_kex npc_mkex_default = { > > > +static struct npc_mcam_k

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-15 Thread sundeep subbaraya
Hi Jakub, On Thu, Oct 15, 2020 at 8:18 AM Jakub Kicinski wrote: > > On Tue, 13 Oct 2020 15:56:28 +0530 sundeep.l...@gmail.com wrote: > > -static const struct npc_mcam_kex npc_mkex_default = { > > +static struct npc_mcam_kex npc_mkex_default = { > > .mkex_sign = MKEX_SIGN, > > .name =

Re: [net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-14 Thread Jakub Kicinski
On Tue, 13 Oct 2020 15:56:28 +0530 sundeep.l...@gmail.com wrote: > -static const struct npc_mcam_kex npc_mkex_default = { > +static struct npc_mcam_kex npc_mkex_default = { > .mkex_sign = MKEX_SIGN, > .name = "default", > .kpu_version = NPC_KPU_PROFILE_VER, Why is this no longer

[net-next PATCH 06/10] octeontx2-af: Add NIX1 interfaces to NPC

2020-10-13 Thread sundeep . lkml
From: Subbaraya Sundeep On 98xx silicon, NPC block has additional mcam entries, counters and NIX1 interfaces. Extended set of registers are present for the new mcam entries and counters. This patch does the following: - updates the register accessing macros to use extended set if present. - con