> -----Original Message-----
> From: Maxime Coquelin <maxime.coque...@redhat.com>
> Sent: Wednesday, November 30, 2022 11:56 PM
> To: dev@dpdk.org; Xia, Chenbo <chenbo....@intel.com>;
> david.march...@redhat.com; epere...@redhat.com
> Cc: Maxime Coquelin <maxime.coque...@redhat.com>
> Subject: [PATCH v1 07/21] net/virtio: remove unused Port ID in control
> queue
> 
> This patch removes the unused port ID information from
> virtnet_ctl struct.
> 
> Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
> ---
>  drivers/net/virtio/virtio_cvq.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/virtio/virtio_cvq.h
> b/drivers/net/virtio/virtio_cvq.h
> index 226561e6b8..0ff326b063 100644
> --- a/drivers/net/virtio/virtio_cvq.h
> +++ b/drivers/net/virtio/virtio_cvq.h
> @@ -108,7 +108,6 @@ typedef uint8_t virtio_net_ctrl_ack;
>  struct virtnet_ctl {
>       const struct rte_memzone *hdr_mz; /**< memzone to populate hdr. */
>       rte_iova_t hdr_mem;               /**< hdr for each xmit packet */
> -     uint16_t port_id;                 /**< Device port identifier. */
>       const struct rte_memzone *mz;     /**< mem zone to populate CTL ring.
> */
>       rte_spinlock_t lock;              /**< spinlock for control queue.
> */
>       void (*notify_queue)(struct virtqueue *vq, void *cookie); /**<
> notify ops. */
> --
> 2.38.1

Reviewed-by: Chenbo Xia <chenbo....@intel.com>

Reply via email to