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

Message ID 20171212100826.20550-4-nikhil.agarwal@linaro.org
State New
Headers show
Series
  • [1/4] examples/l3fwd-power: fix non Rx intr supported platform
Related show

Commit Message

Nikhil Agarwal Dec. 12, 2017, 10:08 a.m.
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(-)

-- 
2.7.4

Comments

Hunt, David Dec. 13, 2017, 2:23 p.m. | #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,
 	},
 };