On Sat, Nov 10, 2018 at 2:36 AM Arnd Bergmann wrote:
>
> On Fri, Nov 9, 2018 at 6:13 PM Sunil Kovvuri wrote:
> > On Fri, Nov 9, 2018 at 4:32 PM Arnd Bergmann wrote:
> > > On Fri, Nov 9, 2018 at 5:21 AM Sunil Kovvuri
> > > wrote:
>
> > >
> > > Since b is aligned to four bytes, you get padding b
On Fri, Nov 9, 2018 at 6:13 PM Sunil Kovvuri wrote:
> On Fri, Nov 9, 2018 at 4:32 PM Arnd Bergmann wrote:
> > On Fri, Nov 9, 2018 at 5:21 AM Sunil Kovvuri
> > wrote:
> >
> > Since b is aligned to four bytes, you get padding between a and b.
> > On top of that, you also get padding after c to m
On Fri, Nov 9, 2018 at 4:32 PM Arnd Bergmann wrote:
>
> On Fri, Nov 9, 2018 at 5:21 AM Sunil Kovvuri wrote:
> >
> > On Fri, Nov 9, 2018 at 2:13 AM Arnd Bergmann wrote:
> > >
> > > On Thu, Nov 8, 2018 at 7:37 PM wrote:
> > > > @@ -666,4 +668,20 @@ struct npc_mcam_unmap_counter_req {
> > > >
On Fri, Nov 9, 2018 at 5:21 AM Sunil Kovvuri wrote:
>
> On Fri, Nov 9, 2018 at 2:13 AM Arnd Bergmann wrote:
> >
> > On Thu, Nov 8, 2018 at 7:37 PM wrote:
> > > @@ -666,4 +668,20 @@ struct npc_mcam_unmap_counter_req {
> > > u8 all; /* Unmap all entries using this counter ? */
> > > };
On Fri, Nov 9, 2018 at 2:13 AM Arnd Bergmann wrote:
>
> On Thu, Nov 8, 2018 at 7:37 PM wrote:
> > @@ -666,4 +668,20 @@ struct npc_mcam_unmap_counter_req {
> > u8 all; /* Unmap all entries using this counter ? */
> > };
> >
> > +struct npc_mcam_alloc_and_write_entry_req {
> > + s
On Thu, Nov 8, 2018 at 7:37 PM wrote:
> @@ -666,4 +668,20 @@ struct npc_mcam_unmap_counter_req {
> u8 all; /* Unmap all entries using this counter ? */
> };
>
> +struct npc_mcam_alloc_and_write_entry_req {
> + struct mbox_msghdr hdr;
> + struct mcam_entry entry_data;
> +
From: Sunil Goutham
A new mailbox message is added to support allocating a MCAM entry
along with a counter and configuring it in one go. This reduces
the amount of mailbox communication involved in installing a new
MCAM rule.
Signed-off-by: Sunil Goutham
---
drivers/net/ethernet/marvell/octeon