[dpdk-dev,4/4] examples/l3fwd-power: disable Lsc interrupts

Message ID 20171212100826.20550-4-nikhil.agarwal@linaro.org (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Nikhil Agarwal Dec. 12, 2017, 10:08 a.m. UTC
  This application does not need Link Status Interrupt.
It will cause failure for the platforms not supporting LSC.

Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org>
---
 examples/l3fwd-power/main.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Hunt, David Dec. 13, 2017, 2:23 p.m. UTC | #1
On 12/12/2017 10:08 AM, Nikhil Agarwal wrote:
> This application does not need Link Status Interrupt.
> It will cause failure for the platforms not supporting LSC.
>
> Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org>
> ---
>   

---snip---

Acked-by: David Hunt <david.hunt@intel.com>
  

Patch

diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 4ddd04c..d80f663 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -229,7 +229,6 @@  static struct rte_eth_conf port_conf = {
 		.mq_mode = ETH_MQ_TX_NONE,
 	},
 	.intr_conf = {
-		.lsc = 1,
 		.rxq = 1,
 	},
 };