[dpdk-dev] [PATCH 3/3] net/virtio: remove an unused macro
Tiwei Bie
tiwei.bie at intel.com
Wed Jul 25 09:42:08 CEST 2018
This macro isn't used any more after below commit:
commit a4996bd89c42 ("ethdev: new Rx/Tx offloads API")
Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
---
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 f4d09df71..b726ad108 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.18.0
More information about the dev
mailing list