On 2025/1/21 2:18, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:37 +0800
> "WanRenyong" wrote:
>
>> +static void
>> +xsc_cmdq_mbox_free(struct xsc_dev *xdev, struct xsc_cmdq_mbox *mbox)
>> +{
>> +struct xsc_cmdq_mbox *next, *head;
&
On 2025/1/21 2:19, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:37 +0800
> "WanRenyong" wrote:
>
>> +static struct xsc_cmdq_req_msg *
>> +xsc_cmdq_req_msg_alloc(struct xsc_dev *xdev, int len)
>> +{
>> +struct xsc_cmdq_req_msg *msg
On 2025/1/21 2:16, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:48 +0800
> "WanRenyong" wrote:
>
>> +struct __rte_packed_begin xsc_send_wqe_ctrl_seg {
>> +rte_le32_t msg_opcode:8;
>> +rte_le32_t with_immdt:1;
>> +rt
On 2025/1/21 3:06, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:44 +0800
> "WanRenyong" wrote:
>
>> +static int
>> +xsc_ethdev_init_representors(struct rte_eth_dev *eth_dev)
>> +{
>> +struct xsc_ethdev_priv *priv = TO_XSC_ETHDEV_PRIV(eth_
On 2025/1/21 2:24, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:42 +0800
> "WanRenyong" wrote:
>
>> +int
>> +xsc_dev_create_ipat(struct xsc_dev *xdev, uint16_t logic_in_port, uint16_t
>> dst_info)
>> +{
>> +struct xsc_np_
On 2025/1/22 21:39, Thomas Monjalon wrote:
>> +Yunsilicon xsc
>> +M: WanRenyong
>> +M: Na Na
>> +M: Rong Qian
>> +M: Xiaoxiong Zhang
>> +M: Dongwei Xu
> Looking at how the names are codified in email addresses,
> I feel "Renyong Wan&quo
On 2025/1/23 15:59, Thomas Monjalon wrote:
> 23/01/2025 06:48, WanRenyong:
>> On 2025/1/22 21:39, Thomas Monjalon wrote:
>>>> +Yunsilicon xsc
>>>> +M: WanRenyong
>>>> +M: Na Na
>>>> +M: Rong Qian
>>>> +M: Xiaoxiong Zhang
&g
On 2025/1/24 0:09, Stephen Hemminger wrote:
> On Thu, 23 Jan 2025 13:48:25 +0800
> "WanRenyong" wrote:
>
>> On 2025/1/22 21:39, Thomas Monjalon wrote:
>>>> +Yunsilicon xsc
>>>> +M: WanRenyong
>>>> +M: Na Na
>>>> +M: Ron
fixes this issue by only counting the lines in the
patch file that start with a + and include either
__rte_packed_begin or __rte_packed_end.
Signed-off-by: WanRenyong
---
devtools/checkpatches.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/devtools/checkpatches.sh b
XSC mailbox is a mechanism used for interaction between PMD and firmware.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_cmd.h | 387 ++
drivers/net/xsc/xsc_defs.h | 2 +
drivers/net/xsc
Add xsc PMD framework, doc and build infrastructure, supporting
PCI probe.
Signed-off-by: WanRenyong
---
v6:
* Delete the included header file net/if.h.
* Rebase from the main branch and merge release notes.
---
.mailmap | 5 ++
MAINTAINERS
XSC PMD is designed to support both VFIO and private kernel drivers.
This commit add xsc dev ops to support VFIO driver.
Signed-off-by: WanRenyong
Signed-off-by: Na Na
---
v6:
* Replace __rte_packed with __rte_packed_begin and __rte_packed_end.
v5:
* Using RTE_ETHER_ADDR_LEN instead of
For the design of the xsc PMD, each ethdev corresponds to a representor.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_defs.h | 11 +++
drivers/net/xsc/xsc_dev.c| 95
drivers/net/xsc/xsc_dev.h| 3 +
drivers/net/xsc/xsc_ethdev.c | 170
Implement xsc ethdev start function.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
v5:
* Remove unnecessary call of rte_wmb.
---
drivers/net/xsc/meson.build | 2 +
drivers/net/xsc/xsc_dev.c| 33
drivers/net/xsc/xsc_dev.h| 8 +
drivers/net/xsc/xsc_ethdev.c | 172
PCT is the abbreviation of Packet classifier table, which is built
in NP to define behavior of various packets.
Signed-off-by: WanRenyong
---
v6:
* Replace __rte_packed with __rte_packed_begin and __rte_packed_end.
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_defs.h | 29
XSC device is a hardware abstract level device serving as a handle
to interact with hardware.
Signed-off-by: WanRenyong
---
v5:
* Fix coding style issue with misspelling
* Rearrange the elements in struct xsc_hwinfo to reduce holes
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc
Implement xsc ethdev Rx and Tx queue setup functions.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
v6:
* Replace __rte_packed with __rte_packed_begin and __rte_packed_end.
---
drivers/net/xsc/xsc_defs.h | 4 ++
drivers/net/xsc/xsc_ethdev.c | 83
Implement xsc ethdev configure and RSS hash functions.
Signed-off-by: WanRenyong
---
v6:
* Use memcpy instead of rte_memcpy.
v5:
* Remove some unnecessary parameter checks.
---
doc/guides/nics/features/xsc.ini | 3 ++
drivers/net/xsc/xsc_defs.h | 15 ++
drivers/net/xsc/xsc_dev.c
Implement xsc ethdev Rx burst function.
Signed-off-by: WanRenyong
Signed-off-by: Xiaoxiong Zhang
---
drivers/net/xsc/xsc_ethdev.c | 3 +
drivers/net/xsc/xsc_rx.c | 174 +++
drivers/net/xsc/xsc_rx.h | 1 +
drivers/net/xsc/xsc_rxtx.h | 13 +++
4
Implement xsc ethdev close and stop functions.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_dev.c| 12
drivers/net/xsc/xsc_dev.h| 2 +
drivers/net/xsc/xsc_ethdev.c | 108 +++
drivers/net/xsc/xsc_rx.c | 47 +++
drivers/net/xsc
Implement xsc ethdev Tx burst function.
Signed-off-by: WanRenyong
Signed-off-by: Dongwei Xu
---
doc/guides/nics/features/xsc.ini | 4 +
drivers/net/xsc/xsc_ethdev.c | 1 +
drivers/net/xsc/xsc_tx.c | 228 +++
drivers/net/xsc/xsc_tx.h | 1
Implement xsc ethdev basic statatics ops.
Signed-off-by: WanRenyong
---
v6:
* Remove unnecessary paren.
* Add the feature of stats per queue in xsc.ini.
---
doc/guides/nics/features/xsc.ini | 2 +
drivers/net/xsc/xsc_ethdev.c | 75
2 files changed, 77
kernel driver.
v3:
* fix compilation errors
v2:
* fix checkpatch warnings and errors
---
WanRenyong (15):
net/xsc: add xsc PMD framework
net/xsc: add xsc device initialization
net/xsc: add xsc mailbox
net/xsc: add xsc dev ops to support VFIO driver
net/xsc: add PCT interfaces
net/xsc
Implement xsc ethdev information get ops.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_ethdev.c | 61
1 file changed, 61 insertions(+)
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
index 63c64ce547..5d548adb2d 100644
--- a
Implement xsc ethdev link and MTU ops.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 1 +
drivers/net/xsc/xsc_dev.c| 33 ++
drivers/net/xsc/xsc_dev.h| 4 +++
drivers/net/xsc/xsc_ethdev.c | 60
4 files
On 2025/1/18 2:49, Stephen Hemminger wrote:
> On Tue, 07 Jan 2025 10:49:40 +0800
> "WanRenyong" wrote:
>
>> diff --git a/doc/guides/rel_notes/release_25_03.rst
>> b/doc/guides/rel_notes/release_25_03.rst
>> index 426dfcd982..6f766add72 100644
>> -
rmation or clarification
that I need to provide to facilitate the review process?
Thank you very much for your time and consideration.
Best regards,
WanRenyong
On 2025/1/7 10:50, WanRenyong wrote:
> This xsc PMD (**librte_net_xsc**) provides poll mode driver for
> Yunsilicon metaScale serials NI
XSC mailbox is a mechanism used for interaction between PMD and firmware.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_cmd.h | 387 ++
drivers/net/xsc/xsc_defs.h | 2 +
drivers/net/xsc
Add xsc PMD framework, doc and build infrastructure, supporting
PCI probe.
Signed-off-by: WanRenyong
---
.mailmap | 5 ++
MAINTAINERS| 10 +++
doc/guides/nics/features/xsc.ini | 9 +++
doc/guides/nics/index.rst | 1
XSC device is a hardware abstract level device serving as a handle
to interact with hardware.
Signed-off-by: WanRenyong
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_defs.h | 16
drivers/net/xsc/xsc_dev.c| 181 +++
drivers/net/xsc
XSC PMD is designed to support both VFIO and private kernel drivers.
This commit add xsc dev ops to support VFIO driver.
Signed-off-by: WanRenyong
Signed-off-by: Na Na
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_defs.h | 8 +
drivers/net/xsc/xsc_dev.h | 32 ++
drivers
Implement xsc ethdev configure and RSS hash functions.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 3 +
drivers/net/xsc/xsc_defs.h | 15 +
drivers/net/xsc/xsc_dev.c| 26
drivers/net/xsc/xsc_dev.h| 1 +
drivers/net/xsc/xsc_ethdev.c
For the design of the xsc PMD, each ethdev corresponds to a representor.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_defs.h | 11 +++
drivers/net/xsc/xsc_dev.c| 95
drivers/net/xsc/xsc_dev.h| 3 +
drivers/net/xsc/xsc_ethdev.c | 170
PCT is the abbreviation of Packet classifier table, which is built
in NP to define behavior of various packets.
Signed-off-by: WanRenyong
---
drivers/net/xsc/meson.build | 1 +
drivers/net/xsc/xsc_defs.h | 29 +++
drivers/net/xsc/xsc_dev.c | 19 +-
drivers/net/xsc/xsc_dev.h | 3
Implement xsc ethdev start function.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
drivers/net/xsc/meson.build | 2 +
drivers/net/xsc/xsc_dev.c| 33
drivers/net/xsc/xsc_dev.h| 8 +
drivers/net/xsc/xsc_ethdev.c | 174 +
drivers/net/xsc
the xsc PMD
to eliminate
the dependency on rdma core library and proprietary kernel driver, while
adding support for
the vfio kernel driver.
v3:
* fix compilation errors
v2:
* fix checkpatch warnings and errors
---
WanRenyong (15):
net/xsc: add xsc PMD framework
net/xsc: add xsc device
Implement xsc ethdev link and MTU ops.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 1 +
drivers/net/xsc/xsc_dev.c| 33 ++
drivers/net/xsc/xsc_dev.h| 4 +++
drivers/net/xsc/xsc_ethdev.c | 60
4 files
Implement xsc ethdev Rx burst function.
Signed-off-by: WanRenyong
Signed-off-by: Xiaoxiong Zhang
---
drivers/net/xsc/xsc_ethdev.c | 2 +
drivers/net/xsc/xsc_rx.c | 174 +++
drivers/net/xsc/xsc_rx.h | 1 +
drivers/net/xsc/xsc_rxtx.h | 13 +++
4
Implement xsc ethdev information get ops.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_ethdev.c | 61
1 file changed, 61 insertions(+)
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
index e44792e374..f4c127d7d4 100644
--- a
Implement xsc ethdev Tx burst function.
Signed-off-by: WanRenyong
Signed-off-by: Dongwei Xu
---
doc/guides/nics/features/xsc.ini | 4 +
drivers/net/xsc/xsc_ethdev.c | 1 +
drivers/net/xsc/xsc_tx.c | 228 +++
drivers/net/xsc/xsc_tx.h | 1
Implement xsc ethdev basic statatics ops.
Signed-off-by: WanRenyong
---
doc/guides/nics/features/xsc.ini | 1 +
drivers/net/xsc/xsc_ethdev.c | 75
2 files changed, 76 insertions(+)
diff --git a/doc/guides/nics/features/xsc.ini b/doc/guides/nics/features
Implement xsc ethdev Rx and Tx queue setup functions.
Signed-off-by: WanRenyong
Signed-off-by: Rong Qian
---
drivers/net/xsc/xsc_defs.h | 4 ++
drivers/net/xsc/xsc_ethdev.c | 83
drivers/net/xsc/xsc_rx.h | 59 +
drivers/net
Implement xsc ethdev close and stop functions.
Signed-off-by: WanRenyong
---
drivers/net/xsc/xsc_dev.c| 12
drivers/net/xsc/xsc_dev.h| 2 +
drivers/net/xsc/xsc_ethdev.c | 108 +++
drivers/net/xsc/xsc_rx.c | 47 +++
drivers/net/xsc
On 2025/1/17 2:18, Stephen Hemminger wrote:
> On Tue, 07 Jan 2025 10:49:40 +0800
> "WanRenyong" wrote:
>
>> diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
>> new file mode 100644
>> index 00..a7dca46127
>> --- /dev
.
BTW: if I continue to upstream the new version, should the version number
continue from the last or start 0?
Thanks,
WanRenyong
On 2025/1/17 1:58, Stephen Hemminger wrote:
> On Tue, 07 Jan 2025 10:50:09 +0800
> "WanRenyong" wrote:
>
>> Implement xsc ethdev basic statatics ops.
>>
>> Signed-off-by: WanRenyong
>> ---
>> doc/guides/nics/features/xsc.ini
On 2025/1/17 1:58, Stephen Hemminger wrote:
>
On Tue, 07 Jan 2025 10:50:09 +0800
> "WanRenyong" wrote:
>
>
>
Implement xsc ethdev basic statatics ops.
>
>
> Signed-off-by: WanRenyong
> ---
> doc/guides/nics/features/xsc.ini | 1 +
On 2025/1/17 2:19, Stephen Hemminger wrote:
> On Tue, 07 Jan 2025 10:49:55 +0800
> "WanRenyong" wrote:
>
>> +static int
>> +xsc_ethdev_rss_hash_conf_get(struct rte_eth_dev *dev,
>> + struct rte_eth_rss_conf *rss_conf)
>&
101 - 148 of 148 matches
Mail list logo