summaryrefslogtreecommitdiffstats
path: root/src/dpdk/drivers/net/enic/base/vnic_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dpdk/drivers/net/enic/base/vnic_dev.c')
-rw-r--r--src/dpdk/drivers/net/enic/base/vnic_dev.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dpdk/drivers/net/enic/base/vnic_dev.c b/src/dpdk/drivers/net/enic/base/vnic_dev.c
index e50b90e7..dddb1dcd 100644
--- a/src/dpdk/drivers/net/enic/base/vnic_dev.c
+++ b/src/dpdk/drivers/net/enic/base/vnic_dev.c
@@ -667,12 +667,8 @@ int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast,
(promisc ? CMD_PFILTER_PROMISCUOUS : 0) |
(allmulti ? CMD_PFILTER_ALL_MULTICAST : 0);
-#define TREX_PATCH
-#ifdef TREX_PATCH
- err = vnic_dev_cmd(vdev, CMD_PACKET_FILTER_ALL, &a0, &a1, wait);
-#else
err = vnic_dev_cmd(vdev, CMD_PACKET_FILTER, &a0, &a1, wait);
-#endif
+
if (err)
pr_err("Can't set packet filter\n");