[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87618083B2453E4A8714035B62D6799250274F2A@FMSMSX105.amr.corp.intel.com>
Date: Tue, 24 Mar 2015 22:50:47 +0000
From: "Tantilov, Emil S" <emil.s.tantilov@...el.com>
To: Vlad Zolotarov <vladz@...udius-systems.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"avi@...udius-systems.com" <avi@...udius-systems.com>,
"gleb@...udius-systems.com" <gleb@...udius-systems.com>,
"Skidmore, Donald C" <donald.c.skidmore@...el.com>
Subject: RE: [PATCH net-next v6 4/7] ixgbevf: Add a RETA query code
>-----Original Message-----
>From: Vlad Zolotarov [mailto:vladz@...udius-systems.com]
>Sent: Tuesday, March 24, 2015 11:41 AM
>To: Tantilov, Emil S; netdev@...r.kernel.org
>Cc: Kirsher, Jeffrey T; avi@...udius-systems.com; gleb@...udius-systems.com
>Subject: Re: [PATCH net-next v6 4/7] ixgbevf: Add a RETA query code
>
>
>
>>On 03/24/15 20:12, Tantilov, Emil S wrote:
>>BTW - there are other issues with your patches. The indirection table seems to come out as all 0s and the VF driver reports link down/up when querying it.
>
>Worked just fine to me on x540.
>What is your setup? How did u check it? Did u remember to patch "ip" tool and enable the querying?
The issue with the link is that you do not have proper locking when calling the mailbox which is messing up the link check subtask. Basically you need to protect the calls to ixgbevf_get_rss_key and get_reta with the mbx_lock similar to how the driver does it in all cases where the mailbox is called.
Thanks,
Emil
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists