[ovs-dev] [PATCH v2 07/15] dpif-netdev: Refactor fast path process function.
Jesse Gross
jesse at kernel.org
Fri May 6 21:20:18 UTC 2016
On Thu, Apr 21, 2016 at 6:54 PM, Pravin B Shelar <pshelar at ovn.org> wrote:
> diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
> index 4eeee94..f34aeae 100644
> --- a/lib/dpif-netdev.c
> +++ b/lib/dpif-netdev.c
> @@ -3461,6 +3461,74 @@ emc_processing(struct dp_netdev_pmd_thread *pmd, struct dp_packet_batch *packets
> }
>
> static inline void
> +handle_packet(struct dp_netdev_pmd_thread *pmd, struct dp_packet *packet,
> + const struct netdev_flow_key *key,
> + struct ofpbuf *actions, struct ofpbuf *put_actions,
> + int *lost_cnt)
It might be nice to make the function name a little more specific
about what type of packet is being handled - handle_packet_upcall()
for example.
Acked-by: Jesse Gross <jesse at kernel.org>
More information about the dev
mailing list