V3:
- fix several checkpatch warnings.
V2:
- resolve code style and gcc compilation issue.
V1:
- add support flow director ops.
Bingbin Chen (2):
net/zxdh: npsdk add flow director table ops
net/zxdh: add support flow director ops
doc/guides/nics/features/zxdh.ini | 16 +
doc
V2:
- resolve code style and gcc compilation issue.
V1:
- add support flow director ops.
Bingbin Chen (2):
net/zxdh: npsdk add flow director table ops
net/zxdh: add support flow director ops
doc/guides/nics/features/zxdh.ini | 16 +
doc/guides/nics/zxdh.rst |1
V1:
- add support flow director ops.
Bingbin Chen (2):
net/zxdh: npsdk add flow director table ops
net/zxdh: add support flow director ops
doc/guides/nics/features/zxdh.ini | 16 +
doc/guides/nics/zxdh.rst |1 +
drivers/net/zxdh/meson.build |1 +
drivers/net
will set.
- replace mutex lock with spinlock.
V1:
- updated network processor driver.
- improve insert/delete/get table code funcs.
Bingbin Chen (14):
net/zxdh: add network processor registers ops
net/zxdh: support compatibility check
net/zxdh: add agent channel
net/zxdh: modify dtb
Implement the eram tables read and write operations
by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 545 -
drivers/net/zxdh/zxdh_np.h | 15 +
2 files changed, 558 insertions(+), 2 deletions(-)
diff --git a/drivers/net/zxdh
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 491 +
drivers/net/zxdh/zxdh_np.h | 97
2 files changed, 482
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 13 +
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 492 +
drivers/net/zxdh/zxdh_np.h | 282
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 482 -
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 488 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 315 -
drivers/net/zxdh/zxdh_np.h | 53 +++
2 files changed, 367 insertions(+), 1 deletion(-)
diff
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 93 ++
drivers/net/zxdh/zxdh_np.h | 12 +
2 files changed, 105 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
>> +struct zxdh_ifc_hw_np_stats_bits {
>> +uint8_t rx_unicast_pkts[0x40];
>> +uint8_t tx_unicast_pkts[0x40];
>> +uint8_t rx_unicast_bytes[0x40];
>> +uint8_t tx_unicast_bytes[0x40];
>> +uint8_t rx_multicast_pkts[0x40];
>> +uint8_t tx_multicast_pkts[0x40];
>> +uint
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 93 ++
drivers/net/zxdh/zxdh_np.h | 12 +
2 files changed, 105 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 13 +
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 492 +
drivers/net/zxdh/zxdh_np.h | 282
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 482 -
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 488 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers
table code funcs.
Bingbin Chen (14):
net/zxdh: add network processor registers ops
net/zxdh: support compatibility check
net/zxdh: add agent channel
net/zxdh: modify dtb queue ops
net/zxdh: add tables dump address ops
net/zxdh: add eram tables ops
net/zxdh: get flow tables resources
Hi, maintainer:
This submission has made modifications based on the comments.
After this round of submission, the basic functions of the zxdh driver will be
complete.
Subsequent merges will mainly focus on FD function supplements and bug fixes.
Thanks.
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 491 +
drivers/net/zxdh/zxdh_np.h | 97
2 files changed, 482
Implement the eram tables read and write operations
by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 545 -
drivers/net/zxdh/zxdh_np.h | 15 +
2 files changed, 558 insertions(+), 2 deletions(-)
diff --git a/drivers/net/zxdh
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 315 -
drivers/net/zxdh/zxdh_np.h | 53 +++
2 files changed, 367 insertions(+), 1 deletion(-)
diff
style and github-robot build issue.
- eliminate commit warning.
- remove unnecessary initialization, which first usage will set.
- replace mutex lock with spinlock.
V1:
- updated network processor driver.
- improve insert/delete/get table code funcs.
Bingbin Chen (14):
net/zxdh: add
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 13 +
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 492 +
drivers/net/zxdh/zxdh_np.h | 282
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 482 -
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 488 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 491 +
drivers/net/zxdh/zxdh_np.h | 97
2 files changed, 482
Implement the eram tables read and write operations
by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 545 -
drivers/net/zxdh/zxdh_np.h | 15 +
2 files changed, 558 insertions(+), 2 deletions(-)
diff --git a/drivers/net/zxdh
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 315 -
drivers/net/zxdh/zxdh_np.h | 53 +++
2 files changed, 367 insertions(+), 1 deletion(-)
diff
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 93 ++
drivers/net/zxdh/zxdh_np.h | 12 +
2 files changed, 105 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 479 +
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 486 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh
Add dev_id to the parameter of plcr function
to support multi card configuration.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_msg.c | 3 +-
drivers/net/zxdh/zxdh_mtr.c | 8 +-
drivers/net/zxdh/zxdh_np.c | 251 +++-
drivers/net/zxdh/zxdh_np.h | 8
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 13 +
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 490 +
drivers/net/zxdh/zxdh_np.h | 337
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 449 +++--
drivers/net/zxdh/zxdh_np.h | 63 +-
2 files changed, 442 insertions(+), 70 deletions(-)
diff
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 93 ++
drivers/net/zxdh/zxdh_np.h | 11 +
2 files changed, 104 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 494 +
drivers/net/zxdh/zxdh_np.h | 97
2 files changed, 483
.
- replace mutex lock with spinlock.
V1:
- updated network processor driver.
- improve insert/delete/get table code funcs.
Bingbin Chen (14):
net/zxdh: add network processor registers ops
net/zxdh: support compatibility check
net/zxdh: add agent channel
net/zxdh: modify dtb queue ops
net/zxdh
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 18 ++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 490 +
drivers/net/zxdh/zxdh_np.h | 336
V2:
- resolve code style and github-robot build issue.
- eliminate commit warning.
- remove unnecessary initialization, which first usage will set.
- replace mutex lock with spinlock.
V1:
- updated network processor driver.
- improve insert/delete/get table code funcs.
Bingbin Chen
Implement stat values clean operation by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev_ops.c | 4 +
drivers/net/zxdh/zxdh_np.c | 302 +
drivers/net/zxdh/zxdh_np.h | 23 ++-
3 files changed, 328 insertions(+), 1
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 479 +
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 486 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 94 ++
drivers/net/zxdh/zxdh_np.h | 12 +
2 files changed, 106 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 495 +
drivers/net/zxdh/zxdh_np.h | 97
2 files changed, 485
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 386 -
drivers/net/zxdh/zxdh_np.h | 78
2 files changed, 463 insertions(+), 1 deletion(-)
diff
Implement stat values clean operation by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev_ops.c | 4 +
drivers/net/zxdh/zxdh_np.c | 344 +
drivers/net/zxdh/zxdh_np.h | 23 +-
3 files changed, 370 insertions(+), 1 deletion
Implement hash tables get operation by dtb channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 491 +
drivers/net/zxdh/zxdh_np.h | 7 +
2 files changed, 498 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh
Implement the flow tables resources get operation
by agent channel.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_ethdev.c | 18 ++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_np.c | 522 +
drivers/net/zxdh/zxdh_np.h | 338
Modify the implementation of the dtb queue
request and release interfaces,
and add the implementation of queue initialization.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 513 +
drivers/net/zxdh/zxdh_np.h | 97 +++
2 files changed, 505
Add agent channel to access (np)network processor registers
that are not mapped by PCIE.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 481 -
drivers/net/zxdh/zxdh_np.h | 77 ++
2 files changed, 557 insertions(+), 1 deletion(-)
diff --git
Add compatibility check between (np)network processor
software and firmware.
Signed-off-by: Bingbin Chen
---
drivers/net/zxdh/zxdh_np.c | 93 ++
drivers/net/zxdh/zxdh_np.h | 12 +
2 files changed, 105 insertions(+)
diff --git a/drivers/net/zxdh/zxdh_np.c
46 matches
Mail list logo