[ovs-dev] [PATCH] netdev-dpdk: Increase limit for dpdk ring names
fbl at sysclose.org
Thu Aug 6 18:26:58 UTC 2015
On Tue, Jul 28, 2015 at 11:33:09AM -0700, A.R. Karthick wrote:
> Currently, the ovs netdev-dpdk ring type dpdkr, restricts dpdk ring name
> size to 10 bytes (includes the _rx/tx suffix).
> This only gives us space to accommodate 10 rings as truncation happens
> with dpdkr10_rx/tx.
> The enclosed patch below ensures that we respect the ring name size
> constraints imposed by the rte dpdk ring apis by allowing for a greater
> size instead of using a hard-coded ring name size in ovs netdev-dpdk layer.
The patch is broken for me.
patching file lib/netdev-dpdk.c
patch: **** malformed patch at line 28: ROUND_DOWN_POW2(MAX_NB_MBUF/MIN_NB_MBUF))
$ git am /tmp/foo.mbox
Applying: netdev-dpdk: Increase limit for dpdk ring names
fatal: corrupt patch at line 6
Patch failed at 0001 netdev-dpdk: Increase limit for dpdk ring names
The copy of the patch that failed is found in:
Otherwise it looks correct to me.
Acked-by: Flavio Leitner <fbl at sysclose.org>
More information about the dev