X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest-pmd%2Fsoftnicfwd.c;h=7ff622806f6667eb208194dae14cb93be83eb2e9;hb=d02a2dab2dfb33969c74412e99720a9eaf1e703a;hp=1f9eeaf40b1191333f088305e80d41b023776022;hpb=0ad778b398c676b30096954f9badea3cc0afe644;p=dpdk.git diff --git a/app/test-pmd/softnicfwd.c b/app/test-pmd/softnicfwd.c index 1f9eeaf40b..7ff622806f 100644 --- a/app/test-pmd/softnicfwd.c +++ b/app/test-pmd/softnicfwd.c @@ -175,9 +175,6 @@ set_tm_hiearchy_nodes_shaper_rate(portid_t port_id, rte_eth_link_get(port_id, &link_params); tm_port_rate = (uint64_t)ETH_SPEED_NUM_10G * BYTES_IN_MBPS; - if (tm_port_rate > UINT32_MAX) - tm_port_rate = UINT32_MAX; - /* Set tm hierarchy shapers rate */ h->root_node_shaper_rate = tm_port_rate; h->subport_node_shaper_rate =