DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 664] ixgbe: Calling rte_eth_dev_rss_reta_update before rte_eth_dev_start sets device in wrong state
@ 2021-03-24  8:45 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-03-24  8:45 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=664

            Bug ID: 664
           Summary: ixgbe: Calling rte_eth_dev_rss_reta_update before
                    rte_eth_dev_start sets device in wrong state
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: barbette@kth.se
  Target Milestone: ---

If one calls rte_eth_dev_rss_reta_update with ixgbe before starting the device
(but after setting everything else), then the table will be full of zeroes
after starting the device.

I would expect one of the following behavior:

 - Either the documentation should say RETA should be set after the device
starts, and the RSS configuration should therefore be ignored and
rte_eth_dev_rss_reta_update return an error
- Ot can be done and the configuration is kept.

In this case, it's half between as if it's called without errors, then the RSS
table will be full zeroes (instead of my table content or the default
sequential list).

Of course I prefer the second option. And some devices like Mellanox ones
actually need to set the reta table before the device starts, else it will
cause a device restart... But I understand ixgbe is old so maybe returning an
error in rte_eth_dev_rss_reta_update  if the device is not started yet is an
acceptable fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-24  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  8:45 [dpdk-dev] [Bug 664] ixgbe: Calling rte_eth_dev_rss_reta_update before rte_eth_dev_start sets device in wrong state bugzilla

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).