DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1339] Ice pmd driver ice_rss_init error message "not support  in safe mode"
@ 2023-12-30  3:42 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2023-12-30  3:42 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

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

            Bug ID: 1339
           Summary: Ice pmd driver ice_rss_init  error message  "not
                    support  in safe mode"
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: 501359811@qq.com
  Target Milestone: ---

In the ice pmd driver code, ad ->is_safe_mode uninitialized ,with a random
value may cause ice_rss_Init() return error message "  not support in safe mode
" .To solve this problem, it is necessary to add code at the beginning of the
ice_dev_init()  "ad->safe_mode=0;"


//
I encountered this issue while debugging the e810 network card. The ice driver
code uses rte_socket_zmalloc, but this function does not initialize the memory
to 0 (but the annotation will clear 0? A bug ? only memset 0 in debug code),
which caused the above problem.

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

[-- Attachment #2: Type: text/html, Size: 3055 bytes --]

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

only message in thread, other threads:[~2023-12-30  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-30  3:42 [Bug 1339] Ice pmd driver ice_rss_init error message "not support in safe mode" 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).