net/failsafe: fix Rx safe check compiler hint
authorMatan Azrad <matan@mellanox.com>
Tue, 19 Dec 2017 17:14:27 +0000 (17:14 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite6282283090b479953b8c0f951977c82cc368322
tree79ff717323d1e73037c56b079fbcd381fc64bc2f
parent55b58a7374554cd1c86f4a13a0e2f54e9ba6fe4d
net/failsafe: fix Rx safe check compiler hint

failsafe_rx_burst function is used when there are no sub-devices or at
least one of them has been removed, on the other hand, when all the
sub-devices are present, failsafe_rx_burst_fast function is used.

So it's really expected that some of the sub-devices will be unsafe for
Rx burst in failsafe_rx_burst execution.

Remove unlikely compiler hint from fs_rx_unsafe calling.

Fixes: a46f8d584eb8 ("net/failsafe: add fail-safe PMD")
Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_rxtx.c