* [dpdk-dev] [Bug 22] Ixgbe driver sets RDRXCTL with the wrong RSCACKC and FCOE_WRFIX values
@ 2018-04-01 12:42 bugzilla
2018-04-02 1:29 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2018-04-01 12:42 UTC (permalink / raw)
To: dev
https://dpdk.org/tracker/show_bug.cgi?id=22
Bug ID: 22
Summary: Ixgbe driver sets RDRXCTL with the wrong RSCACKC and
FCOE_WRFIX values
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: solal.pirelli@gmail.com
Target Milestone: ---
The Intel 82599 data sheet
(https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/82599-10-gbe-controller-datasheet.pdf,
§8.2.3.8.8) states that the RDRXCTL register's RSCACKC (bit 25) and FCOE_WRFIX
(bit 26) values, while reserved, should be set to 1 by software.
The ixgbe driver does not do that, e.g. in ixgbe_dev_rx_init
(http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/ixgbe_rxtx.c?h=v18.02#n4855).
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [Bug 22] Ixgbe driver sets RDRXCTL with the wrong RSCACKC and FCOE_WRFIX values
2018-04-01 12:42 [dpdk-dev] [Bug 22] Ixgbe driver sets RDRXCTL with the wrong RSCACKC and FCOE_WRFIX values bugzilla
@ 2018-04-02 1:29 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2018-04-02 1:29 UTC (permalink / raw)
To: bugzilla; +Cc: dev
On Sun, 01 Apr 2018 12:42:38 +0000
bugzilla@dpdk.org wrote:
> https://dpdk.org/tracker/show_bug.cgi?id=22
>
> Bug ID: 22
> Summary: Ixgbe driver sets RDRXCTL with the wrong RSCACKC and
> FCOE_WRFIX values
> Product: DPDK
> Version: unspecified
> Hardware: All
> OS: All
> Status: CONFIRMED
> Severity: normal
> Priority: Normal
> Component: ethdev
> Assignee: dev@dpdk.org
> Reporter: solal.pirelli@gmail.com
> Target Milestone: ---
>
> The Intel 82599 data sheet
> (https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/82599-10-gbe-controller-datasheet.pdf,
> §8.2.3.8.8) states that the RDRXCTL register's RSCACKC (bit 25) and FCOE_WRFIX
> (bit 26) values, while reserved, should be set to 1 by software.
>
> The ixgbe driver does not do that, e.g. in ixgbe_dev_rx_init
> (http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/ixgbe_rxtx.c?h=v18.02#n4855).
It is done elsewhere.
static int
ixgbe_set_rsc(struct rte_eth_dev *dev)
{
...
/* Set RDRXCTL.RSCACKC bit */
rdrxctl = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
rdrxctl |= IXGBE_RDRXCTL_RSCACKC;
IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rdrxctl);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-02 1:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-01 12:42 [dpdk-dev] [Bug 22] Ixgbe driver sets RDRXCTL with the wrong RSCACKC and FCOE_WRFIX values bugzilla
2018-04-02 1:29 ` Stephen Hemminger
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).