[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170721.202113.583238690576835181.davem@davemloft.net>
Date: Fri, 21 Jul 2017 20:21:13 +0100 (WEST)
From: David Miller <davem@...emloft.net>
To: john@...ozen.org
Cc: pabeni@...hat.com, edumazet@...gle.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [RFC 1/2] net-next: add a dma_desc element to struct
skb_shared_info
From: John Crispin <john@...ozen.org>
Date: Fri, 21 Jul 2017 19:01:57 +0200
> When the flow offloading engine forwards a packet to the DMA it will
> send additional info to the sw path. this includes
> * physical switch port
> * internal flow hash - this is required to populate the correct flow
> * table entry
> * ppe state - this indicates what state the PPEs internal table is in
> * for the flow
> * the reason why the packet was forwarde - these are things like bind,
> * unbind, timed out, ...
>
> once the flow table offloading patches are ready and upstream, the
> netfilter layer will see the SKB and pass it o to the flow table
> offloading code, at which point it will finally end up inside the
> offloading driver. this will need to have access to this info sent to
> the sw path inside the rx descriptor to properly work out what state
> the flow is in and which table entry to populate in the HW table for
> offloading to work.
You absolutely must justify any change to a core data structure
alongside the complete and full set of patches that actually make use
of that data structure change.
You can't just say "here is the data structure change and BTW what
actually uses this is somewhere else, and not here on the list yet."
That makes it impossible to 1) evaluate the correctness of your change
and 2) validate the actual use so we can suggest alternative schemes
and/or approaches.
So please don't suggest changes this way.
Thanks.
Powered by blists - more mailing lists