[dpdk-dev] [PATCH v2] virtio: fix size of mac_addrs array in virtio ports

2015-11-03 Thread Thomas Monjalon
2015-10-29 10:16, David Marchand: > From: Ivan Boule > > Make the virtio PMD allocate the array of unicast MAC addresses with > the maximum of entries (VIRTIO_MAX_MAC_ADDRS) that it exports. > > Signed-off-by: Ivan Boule > Signed-off-by: David Marchand > --- > Changes since v1: > * fix checkpa

[dpdk-dev] [PATCH v2] virtio: fix size of mac_addrs array in virtio ports

2015-10-29 Thread David Marchand
From: Ivan Boule Make the virtio PMD allocate the array of unicast MAC addresses with the maximum of entries (VIRTIO_MAX_MAC_ADDRS) that it exports. Signed-off-by: Ivan Boule Signed-off-by: David Marchand --- Changes since v1: * fix checkpatch warning (thanks Yuanhan) drivers/net/virtio/virt