net/i40e: fix get RSS conf
authorQiming Yang <qiming.yang@intel.com>
Mon, 24 Dec 2018 15:34:02 +0000 (23:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 3 Jan 2019 09:52:18 +0000 (10:52 +0100)
commit286a809c99c033f895c6b08c2af4b741f17ae29b
tree832b6d4742c03fcad1e5fdf4a4137e228ca8d11e
parent7637518249ca8da08bbbccd3cae0e30f0e70cff9
net/i40e: fix get RSS conf

rte_eth_dev_rss_hash_conf_get API doesn't force 'rss_conf.rss_key'
to be not NULL, so rss_key = NULL should be alllowed in i40e
driver.

Fixes: 16321de09396 ("ethdev: allow to get RSS hash functions and key")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c