diff options
author | Ophir Munk <ophirmu@mellanox.com> | 2019-04-16 06:41:53 +0000 |
---|---|---|
committer | Ian Stokes <ian.stokes@intel.com> | 2019-06-20 16:49:02 +0100 |
commit | 446a2a7ede1f377687e8c0d848d63eb5e9988cfa (patch) | |
tree | dcd36affe763aa5a63d83965147dfa84ef1424f0 | |
parent | 3925b3e9afbee28a49d04752125636fedc970d13 (diff) | |
download | openvswitch-446a2a7ede1f377687e8c0d848d63eb5e9988cfa.tar.gz |
netdev-dpdk: Update by new color definitions.
Following dpdk new color definitions (see [1]) 'e_RTE_METER_GREEN'
was replaced with 'RTE_COLOR_GREEN'.
[1]
Commit c1656328dbc2: ("meter: replace color definitions")
Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
-rw-r--r-- | lib/netdev-dpdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 4856c56aa..9e232ef0f 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -2033,7 +2033,7 @@ netdev_dpdk_policer_pkt_handle(struct rte_meter_srtcm *meter, uint32_t pkt_len = rte_pktmbuf_pkt_len(pkt) - sizeof(struct ether_hdr); return rte_meter_srtcm_color_blind_check(meter, profile, time, pkt_len) == - e_RTE_METER_GREEN; + RTE_COLOR_GREEN; } static int |