[dpdk-dev] [PATCH v2] net/i40e: fix link_state update for i40e_ethdev_vf drv

2018-02-14 Thread Tushar Mulkar
these bits has values which results in to incorrect expression results. To fix this we just need to account LSB form the bool value . This can be easily done by anding the value with true. Signed-off-by: Tushar Mulkar --- drivers/net/i40e/i40e_ethdev_vf.c | 4 ++-- 1 file changed, 2 insertions(

[dpdk-dev] [PATCH] net/i40e: fix link_state update for i40e_ethdev_vf drv

2018-01-17 Thread Tushar Mulkar
The check for bool was accounting unwanted bits in the calulation of truth value Signed-off-by: Tushar Mulkar --- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index

[dpdk-dev] PF link status is not getting detected by dpdk driver in VM

2018-01-09 Thread Tushar Mulkar
Hi All, I am using "Ethernet Controller X710 for 10GbE SFP+" SRIOV NIC card on the host with 8 VFs. Out of these VFs two VFs are associated with a VM, one VF is bound to Linux kernel driver i40evf and another is bound to dpdk pmd i.e. igb_uio. when there is a link fault on the hardware nic,