summaryrefslogtreecommitdiff
path: root/drivers/net/virtio/virtio_ethdev.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2019-03-19 14:43:08 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-20 18:15:42 +0100
commit4cdc4d98313e717df7d1dba769d71e7e4050da54 (patch)
tree1986eebec270100fcf6715aefe2542c27cfae71a /drivers/net/virtio/virtio_ethdev.c
parentdfd33aa4e586e9fca964faaebbfa74ebbb342613 (diff)
downloaddpdk-next-eventdev-4cdc4d98313e717df7d1dba769d71e7e4050da54.zip
dpdk-next-eventdev-4cdc4d98313e717df7d1dba769d71e7e4050da54.tar.gz
dpdk-next-eventdev-4cdc4d98313e717df7d1dba769d71e7e4050da54.tar.xz
net/virtio: drop redundant suffix in packed ring structure
Drop redundant suffix (_packed and _event) from the fields in packed ring structure. Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Diffstat (limited to 'drivers/net/virtio/virtio_ethdev.c')
-rw-r--r--drivers/net/virtio/virtio_ethdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c
index bc91ad4..f452a9a 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -147,7 +147,7 @@ virtio_send_command_packed(struct virtnet_ctl *cvq,
{
struct virtqueue *vq = cvq->vq;
int head;
- struct vring_packed_desc *desc = vq->vq_packed.ring.desc_packed;
+ struct vring_packed_desc *desc = vq->vq_packed.ring.desc;
struct virtio_pmd_ctrl *result;
uint16_t flags;
int sum = 0;