patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] net/ixgbe: fix Vf Rss offloads configuration
@ 2019-09-04  8:40 Wei Zhao
  2019-09-05 10:29 ` Ye Xiaolong
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Zhao @ 2019-09-04  8:40 UTC (permalink / raw)
  To: dev; +Cc: stable, qi.z.zhang, xiaolong.ye, Wei Zhao

x550 NIC Vf port has the capacity to set Rss
hash, so device info get function should report that.

Cc: stable@dpdk.org

Fixes: 2144f6630fca ("ixgbe: add redirection table size in device info")

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 03fc1f7..f7ac068 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -3928,6 +3928,7 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
 	dev_info->tx_offload_capa = ixgbe_get_tx_port_offloads(dev);
 	dev_info->hash_key_size = IXGBE_HKEY_MAX_INDEX * sizeof(uint32_t);
 	dev_info->reta_size = ixgbe_reta_size_get(hw->mac.type);
+	dev_info->flow_type_rss_offloads = IXGBE_RSS_OFFLOAD_ALL;
 
 	dev_info->default_rxconf = (struct rte_eth_rxconf) {
 		.rx_thresh = {
-- 
2.7.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH] net/ixgbe: fix Vf Rss offloads configuration
  2019-09-04  8:40 [dpdk-stable] [PATCH] net/ixgbe: fix Vf Rss offloads configuration Wei Zhao
@ 2019-09-05 10:29 ` Ye Xiaolong
  0 siblings, 0 replies; 2+ messages in thread
From: Ye Xiaolong @ 2019-09-05 10:29 UTC (permalink / raw)
  To: Wei Zhao; +Cc: dev, stable, qi.z.zhang

On 09/04, Wei Zhao wrote:
>x550 NIC Vf port has the capacity to set Rss
>hash, so device info get function should report that.
>
>Cc: stable@dpdk.org
>
>Fixes: 2144f6630fca ("ixgbe: add redirection table size in device info")
>
>Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
>---
> drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
>index 03fc1f7..f7ac068 100644
>--- a/drivers/net/ixgbe/ixgbe_ethdev.c
>+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
>@@ -3928,6 +3928,7 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
> 	dev_info->tx_offload_capa = ixgbe_get_tx_port_offloads(dev);
> 	dev_info->hash_key_size = IXGBE_HKEY_MAX_INDEX * sizeof(uint32_t);
> 	dev_info->reta_size = ixgbe_reta_size_get(hw->mac.type);
>+	dev_info->flow_type_rss_offloads = IXGBE_RSS_OFFLOAD_ALL;
> 
> 	dev_info->default_rxconf = (struct rte_eth_rxconf) {
> 		.rx_thresh = {
>-- 
>2.7.5
>

Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>

Applied to dpdk-next-net-intel.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-05 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  8:40 [dpdk-stable] [PATCH] net/ixgbe: fix Vf Rss offloads configuration Wei Zhao
2019-09-05 10:29 ` Ye Xiaolong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).