diff options
author | Ido Barnea <ibarnea@cisco.com> | 2017-01-01 13:35:55 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2017-01-01 13:35:55 +0200 |
commit | fda9842014b327b1bc7cbeeea473a291568b9d1e (patch) | |
tree | eea1fa11c743921e394789490495c1bd66293cf6 /src/dpdk/drivers/net/enic/base | |
parent | 355c20f88d2013e7e8d22b27a49297dc92101aa2 (diff) |
Fix --send-debug-pkt test so that VIC card will be able to work with less patches
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/dpdk/drivers/net/enic/base')
-rw-r--r-- | src/dpdk/drivers/net/enic/base/vnic_dev.c | 6 |
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"); |