Thread (91 messages) 91 messages, 6 authors, 2023-03-23

RE: [EXT] Re: [PATCH v9 3/5] net/enetfec: support queue configuration

From: Apeksha Gupta <hidden>
Date: 2021-11-13 05:00:39

-----Original Message-----
From: Ferruh Yigit <redacted>
Sent: Wednesday, November 10, 2021 7:25 PM
To: Apeksha Gupta <redacted>;
david.marchand@redhat.com; andrew.rybchenko@oktetlabs.ru
Cc: dev@dpdk.org; Sachin Saxena <redacted>; Hemant
Agrawal [off-list ref]
Subject: [EXT] Re: [PATCH v9 3/5] net/enetfec: support queue configuration

Caution: EXT Email

On 11/10/2021 7:48 AM, Apeksha Gupta wrote:
quoted
This patch adds Rx/Tx queue configuration setup operations.
On packet reception the respective BD Ring status bit is set
which is then used for packet processing.

Signed-off-by: Sachin Saxena <redacted>
Signed-off-by: Apeksha Gupta <redacted>
<...>
quoted
+
+     rte_write32(rte_cpu_to_le_32(fep->bd_addr_p_t[queue_idx]),
Isn't 'fep->bd_addr_p_t[]' a 64-bit value?

<...>
quoted
+
+     rte_write32(rte_cpu_to_le_32(fep->bd_addr_p_r[queue_idx]),
Isn't 'fep->bd_addr_p_r[]' a 64-bit address, why doing endianness operation
only on 32-bit and writing only 32-bit of it to register?
[Apeksha] As FEC supports 32bit address only and Tx/Rx descriptor addresses should be within 32bit address range.
Our hardware expects 32 bit addresses and kernel UIO makes sure it provide 32bit address range.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help