[dpdk-dev] [PATCH] i40e: fix crash when dcb query

2016-03-31 Thread Thomas Monjalon
2016-03-28 15:37, Jingjing Wu: > Calling rte_eth_dev_get_dcb_info to get dcb info from i40e > driver if VMDQ is disabled, results in a segmentation fault. > This patch fixes it by treating VMDQ and No-VMDQ respectively > when querying dcb information. > > Fixes: 5135f3ca49a7 ("i40e: enable DCB in

[dpdk-dev] [PATCH] i40e: fix crash when dcb query

2016-03-28 Thread Jingjing Wu
Calling rte_eth_dev_get_dcb_info to get dcb info from i40e driver if VMDQ is disabled, results in a segmentation fault. This patch fixes it by treating VMDQ and No-VMDQ respectively when querying dcb information. Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs") Signed-off-by: Jingjing Wu --