net/mvpp2: remove debug log on fast-path
authorLiron Himi <lironh@marvell.com>
Wed, 27 Jan 2021 16:09:16 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:10 +0000 (18:16 +0100)
commitfa876f3ae29885321c752468c22ad1c06a7a498c
treeae8979a7bd8e78c92cbb14d302ca4c3be71c6e22
parent8ce3c5db531eaf339ed60fb0ef97eab05c77846b
net/mvpp2: remove debug log on fast-path

In case of non-ip frame the current code reached the 'default'
case which result with function call to log a msg.
Those kind of calls should not be performed on fast-path.

The performance for this kind of frames increased by 50%

Fixes: acab7d58c81b ("net/mvpp2: convert to dynamic logging")
Cc: stable@dpdk.org
Signed-off-by: Liron Himi <lironh@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c