From 25760ee803e9cd262884d8193e98ed8968092671 Mon Sep 17 00:00:00 2001 From: Tiwei Bie Date: Wed, 25 Jul 2018 15:42:08 +0800 Subject: [PATCH] net/virtio: remove unused offloads macro This macro isn't used any more after below commit: Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API") Cc: stable@dpdk.org Signed-off-by: Tiwei Bie --- drivers/net/virtio/virtio_ethdev.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.h b/drivers/net/virtio/virtio_ethdev.h index f4d09df718..b726ad1084 100644 --- a/drivers/net/virtio/virtio_ethdev.h +++ b/drivers/net/virtio/virtio_ethdev.h @@ -42,13 +42,6 @@ 1u << VIRTIO_NET_F_GUEST_TSO4 | \ 1u << VIRTIO_NET_F_GUEST_TSO6) -#define VIRTIO_PMD_PER_DEVICE_RX_OFFLOADS \ - (DEV_RX_OFFLOAD_TCP_CKSUM | \ - DEV_RX_OFFLOAD_UDP_CKSUM | \ - DEV_RX_OFFLOAD_TCP_LRO | \ - DEV_RX_OFFLOAD_VLAN_FILTER | \ - DEV_RX_OFFLOAD_VLAN_STRIP) - /* * CQ function prototype */ -- 2.20.1