From: Renyong Wan
Register device ID for 3SNIC ethernet adapter to support
PCI ethdev probe and remove.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_hw.h | 11 +
drivers/net/sssnic/sssnic_ethdev.c | 37 +
2 files
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'Title underline too short' in doc/guides/nics/sssnic.rst.
* Removed error.h from including files.
---
.mailmap
From: Renyong Wan
Adding log macros to print runtime messages and trace functions.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 13
drivers/net/sssnic/sssnic_log.h| 51 ++
2 files changed, 64 insertions
From: Renyong Wan
Initializing hardware base make hardware ready to be access.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 13 ++
drivers/net/sssnic/base/sssnic_hw.c | 207 +++
drivers/net/sssnic/base/sssnic_hw.h
From: Renyong Wan
Mailbox is a message channel used to communicate between PF and
VF as well as driver and hardware functions.
Mailbox messages are received by driver through event queue, and
sent by driver through registers of mailbox.
There are two transfer modes for sending mailbox message, on
From: Renyong Wan
sssnic message is used to encapsulate sssnic command for transmission
between driver and firmware. sssnic message is sent by driver via mail
box and is received by driver via event queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from inc
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 33
drivers/net/sssnic/base/sssnic_api.h | 8 +++
drivers/net/sssnic/base/sssnic_cmd.h | 14 +
drivers/net/sssnic/base/sssnic_hw.c | 33 +++-
drivers/ne
From: Renyong Wan
Control queue is used for communication between driver and datapath code
of firmware.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed variable 'cmd_len' is uninitialized when used.
---
drivers/net/sssnic/base/meson.build| 2 +
drivers/net/sssnic/b
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 174 +
drivers/net/sssnic/base/sssnic_api.h | 4 +
drivers/net/sssnic/base/sssnic_cmd.h | 25 +++
drivers/net/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'EINVAL' undeclared.
---
doc/guides/nics/features/sssnic.ini| 1 +
drivers/net/sssnic/base/meson.build| 1 +
drivers/net/sssnic/base/sssnic_exception.c | 116 +
drive
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c| 127
drivers/net/sssnic/base/sssnic_api.h| 14 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_ethdev.h| 1 +
drivers/net/sssnic/sssnic_eth
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_ethdev.h| 2 +
drivers/net/sssnic/sssnic_eth
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 155 ++
drivers/net/sssnic/sssnic_ethdev_tx.h | 4 +
4 fil
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_hw.c | 14 +++
drivers/net/sssnic/base/sssnic_hw.h | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_et
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 508 ++
drivers/net/sssnic/base/sssnic_api.h | 257 +
drivers/net/sssnic/base/sssnic_cmd.h | 100 +
drivers/net/sssnic/base/sssnic_misc.
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 32 ++
1 file changed, 32 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index 8201a1e3c4..b59c4fd3
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c | 72 +
2 files changed, 74 insertions(+)
diff --git a/doc/guides/nics/features/sssnic.ini
b/doc/guides/nics
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 3 +
drivers/net/sssnic/base/sssnic_api.c | 154 +
drivers/net/sssnic/base/sssnic_api.h | 116 +++
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_rx.c | 167 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini| 4 +
drivers/net/sssnic/base/sssnic_api.c | 338 ++
drivers/net/sssnic/base/sssnic_api.h | 36 +++
dri
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 5 +
drivers/net/sssnic/sssnic_ethdev.c| 1 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 404 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index a00e96bebe..b086e91d2d 100644
--- a/drivers/n
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c| 2 ++
drivers/net/sssnic/sssnic_ethdev_rx.c | 13 +
drivers/net/sssnic/sssnic_ethdev_rx.h | 2 ++
drivers/net/sssnic/sssnic_ethdev_tx.c | 11 +++
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 68
drivers/net/sssnic/base/sssnic_api.h | 4 ++
drivers/net/sssnic/base/sssnic_cmd.h | 11 +
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 34 +++
drivers/net/sssnic/base/sssnic_api.h | 1 +
drivers/net/sssnic/base/sssnic_cmd.h | 9 +++
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 36
drivers/net/sssnic/base/sssnic_api.h | 9 +++
drivers/net/sssnic/base/sssnic_cmd.h | 8 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'mask->hdr.src_addr' will always evaluate to 'true'.
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 12 +
drivers/net/sssnic/base/sssnic_api.c| 264 ++
driv
From: Renyong Wan
In comparison to PF, VF PMD does not support the following features:
1. link up and link down set
2. promiscuous enable and disable
3. MAC stats in extend xstats
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 42
From: Renyong Wan
Work queue is used to maintain hardware queue information by
driver, it is usually used in control queue, rx queue
and tx queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/base/meson.build|
From: Renyong Wan
Event queue is intended for receiving event from hardware as well
as mailbox response message.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 1 +
drivers/net/sssnic/base/sssnic_eventq.c | 426
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 63 +
drivers/net/sssnic/base/sssnic_api.h | 2 +
drivers/net/sssnic/base/sssnic_cmd.h | 49
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssn
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'Title underline too short' in doc/guides/nics/sssnic.rst.
* Removed error.h from including files.
---
.mailmap
From: Renyong Wan
Adding log macros to print runtime messages and trace functions.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 13
drivers/net/sssnic/sssnic_log.h| 51 ++
2 files changed, 64 insertions
From: Renyong Wan
Initializing hardware base make hardware ready to be access.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 13 ++
drivers/net/sssnic/base/sssnic_hw.c | 207 +++
drivers/net/sssnic/base/sssnic_hw.h
From: Renyong Wan
Register device ID for 3SNIC ethernet adapter to support
PCI ethdev probe and remove.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_hw.h | 11 +
drivers/net/sssnic/sssnic_ethdev.c | 37 +
2 files
From: Renyong Wan
sssnic message is used to encapsulate sssnic command for transmission
between driver and firmware. sssnic message is sent by driver via mail
box and is received by driver via event queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from inc
From: Renyong Wan
Event queue is intended for receiving event from hardware as well
as mailbox response message.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v4:
* Fixed dereferencing type-punned pointer.
* Fixed coding style issue of COMPLEX_MACRO.
---
drivers/net/sssnic/base/me
From: Renyong Wan
Work queue is used to maintain hardware queue information by
driver, it is usually used in control queue, rx queue
and tx queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/base/meson.build|
From: Renyong Wan
Mailbox is a message channel used to communicate between PF and
VF as well as driver and hardware functions.
Mailbox messages are received by driver through event queue, and
sent by driver through registers of mailbox.
There are two transfer modes for sending mailbox message, on
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 33
drivers/net/sssnic/base/sssnic_api.h | 8 +++
drivers/net/sssnic/base/sssnic_cmd.h | 14 +
drivers/net/sssnic/base/sssnic_hw.c | 33 +++-
drivers/ne
From: Renyong Wan
Control queue is used for communication between driver and datapath code
of firmware.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed variable 'cmd_len' is uninitialized when used.
---
drivers/net/sssnic/base/meson.build| 2 +
drivers/net/sssnic/b
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
v4:
* Fixed coding style issue of REPEATED_WORD.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c| 127
drivers/net/sssnic/base/sssnic_api.h| 14 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 174 +
drivers/net/sssnic/base/sssnic_api.h | 4 +
drivers/net/sssnic/base/sssnic_cmd.h | 25 +++
drivers/net/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 63 +
drivers/net/sssnic/base/sssnic_api.h | 2 +
drivers/net/sssnic/base/sssnic_cmd.h | 49
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'EINVAL' undeclared.
---
doc/guides/nics/features/sssnic.ini| 1 +
drivers/net/sssnic/base/meson.build| 1 +
drivers/net/sssnic/base/sssnic_exception.c | 116 +
drive
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 155 ++
drivers/net/sssnic/sssnic_ethdev_tx.h | 4 +
4 fil
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_ethdev.h| 2 +
drivers/net/sssnic/sssnic_eth
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_hw.c | 14 +++
drivers/net/sssnic/base/sssnic_hw.h | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_et
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 32 ++
1 file changed, 32 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index 8201a1e3c4..b59c4fd3
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 508 ++
drivers/net/sssnic/base/sssnic_api.h | 257 +
drivers/net/sssnic/base/sssnic_cmd.h | 100 +
drivers/net/sssnic/base/sssnic_misc.
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_rx.c | 167 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 3 +
drivers/net/sssnic/base/sssnic_api.c | 154 +
drivers/net/sssnic/base/sssnic_api.h | 116 +++
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c | 72 +
2 files changed, 74 insertions(+)
diff --git a/doc/guides/nics/features/sssnic.ini
b/doc/guides/nics
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 5 +
drivers/net/sssnic/sssnic_ethdev.c| 1 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 404 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index a00e96bebe..b086e91d2d 100644
--- a/drivers/n
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini| 4 +
drivers/net/sssnic/base/sssnic_api.c | 338 ++
drivers/net/sssnic/base/sssnic_api.h | 36 +++
dri
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c| 2 ++
drivers/net/sssnic/sssnic_ethdev_rx.c | 13 +
drivers/net/sssnic/sssnic_ethdev_rx.h | 2 ++
drivers/net/sssnic/sssnic_ethdev_tx.c | 11 +++
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 68
drivers/net/sssnic/base/sssnic_api.h | 4 ++
drivers/net/sssnic/base/sssnic_cmd.h | 11 +
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 36
drivers/net/sssnic/base/sssnic_api.h | 9 +++
drivers/net/sssnic/base/sssnic_cmd.h | 8 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 34 +++
drivers/net/sssnic/base/sssnic_api.h | 1 +
drivers/net/sssnic/base/sssnic_cmd.h | 9 +++
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'mask->hdr.src_addr' will always evaluate to 'true'.
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 12 +
drivers/net/sssnic/base/sssnic_api.c| 264 ++
driv
From: Renyong Wan
In comparison to PF, VF PMD does not support the following features:
1. link up and link down set
2. promiscuous enable and disable
3. MAC stats in extend xstats
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 42
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'Title underline too short' in doc/guides/nics/sssnic.rst.
* Removed error.h from including files.
v5:
* Fixed rebase mistake.
* Fixed inco
From: Renyong Wan
Adding log macros to print runtime messages and trace functions.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 13
drivers/net/sssnic/sssnic_log.h| 51 ++
2 files changed, 64 insertions
From: Renyong Wan
Register device ID for 3SNIC ethernet adapter to support
PCI ethdev probe and remove.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_hw.h | 11 +
drivers/net/sssnic/sssnic_ethdev.c | 37 +
2 files
From: Renyong Wan
Initializing hardware base make hardware ready to be access.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 13 ++
drivers/net/sssnic/base/sssnic_hw.c | 207 +++
drivers/net/sssnic/base/sssnic_hw.h
From: Renyong Wan
Event queue is intended for receiving event from hardware as well
as mailbox response message.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v4:
* Fixed dereferencing type-punned pointer.
* Fixed coding style issue of COMPLEX_MACRO.
---
drivers/net/sssnic/base/me
From: Renyong Wan
sssnic message is used to encapsulate sssnic command for transmission
between driver and firmware. sssnic message is sent by driver via mail
box and is received by driver via event queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from inc
From: Renyong Wan
Work queue is used to maintain hardware queue information by
driver, it is usually used in control queue, rx queue
and tx queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/base/meson.build|
From: Renyong Wan
Mailbox is a message channel used to communicate between PF and
VF as well as driver and hardware functions.
Mailbox messages are received by driver through event queue, and
sent by driver through registers of mailbox.
There are two transfer modes for sending mailbox message, on
From: Renyong Wan
Control queue is used for communication between driver and datapath code
of firmware.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed variable 'cmd_len' is uninitialized when used.
---
drivers/net/sssnic/base/meson.build| 2 +
drivers/net/sssnic/b
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 174 +
drivers/net/sssnic/base/sssnic_api.h | 4 +
drivers/net/sssnic/base/sssnic_cmd.h | 25 +++
drivers/net/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_ethdev.h| 2 +
drivers/net/sssnic/sssnic_eth
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'EINVAL' undeclared.
---
doc/guides/nics/features/sssnic.ini| 1 +
drivers/net/sssnic/base/meson.build| 1 +
drivers/net/sssnic/base/sssnic_exception.c | 116 +
drive
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c| 127
drivers/net/sssnic/base/sssnic_api.h| 14 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 155 ++
drivers/net/sssnic/sssnic_ethdev_tx.h | 4 +
4 fil
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 33
drivers/net/sssnic/base/sssnic_api.h | 8 +++
drivers/net/sssnic/base/sssnic_cmd.h | 14 +
drivers/net/sssnic/base/sssnic_hw.c | 33 +++-
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_hw.c | 14 +++
drivers/net/sssnic/base/sssnic_hw.h | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_et
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
v4:
* Fixed coding style issue of REPEATED_WORD.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 32 ++
1 file changed, 32 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index 8201a1e3c4..b59c4fd3
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 63 +
drivers/net/sssnic/base/sssnic_api.h | 2 +
drivers/net/sssnic/base/sssnic_cmd.h | 49
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 508 ++
drivers/net/sssnic/base/sssnic_api.h | 257 +
drivers/net/sssnic/base/sssnic_cmd.h | 100 +
drivers/net/sssnic/base/sssnic_misc.
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c | 72 +
2 files changed, 74 insertions(+)
diff --git a/doc/guides/nics/features/sssnic.ini
b/doc/guides/nics
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_rx.c | 167 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 3 +
drivers/net/sssnic/base/sssnic_api.c | 154 +
drivers/net/sssnic/base/sssnic_api.h | 116 +++
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 5 +
drivers/net/sssnic/sssnic_ethdev.c| 1 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 404 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 34 +++
drivers/net/sssnic/base/sssnic_api.h | 1 +
drivers/net/sssnic/base/sssnic_cmd.h | 9 +++
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini| 4 +
drivers/net/sssnic/base/sssnic_api.c | 338 ++
drivers/net/sssnic/base/sssnic_api.h | 36 +++
dri
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 68
drivers/net/sssnic/base/sssnic_api.h | 4 ++
drivers/net/sssnic/base/sssnic_cmd.h | 11 +
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c| 2 ++
drivers/net/sssnic/sssnic_ethdev_rx.c | 13 +
drivers/net/sssnic/sssnic_ethdev_rx.h | 2 ++
drivers/net/sssnic/sssnic_ethdev_tx.c | 11 +++
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 36
drivers/net/sssnic/base/sssnic_api.h | 9 +++
drivers/net/sssnic/base/sssnic_cmd.h | 8 +++
From: Renyong Wan
In comparison to PF, VF PMD does not support the following features:
1. link up and link down set
2. promiscuous enable and disable
3. MAC stats in extend xstats
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 42
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'mask->hdr.src_addr' will always evaluate to 'true'.
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 12 +
drivers/net/sssnic/base/sssnic_api.c| 264 ++
driv
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index a00e96bebe..b086e91d2d 100644
--- a/drivers/n
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
.mailmap| 5 +-
MAINTAINERS | 8
doc/guides/nics/features/sssnic.ini | 9
doc/guides/n
From: Renyong Wan
Adding log macros to print runtime messages and trace functions.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 13
drivers/net/sssnic/sssnic_log.h| 51 ++
2 files changed, 64 insertions
From: Renyong Wan
Register device ID for 3SNIC ethernet adapter to support
PCI ethdev probe and remove.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_hw.h | 11 +
drivers/net/sssnic/sssnic_ethdev.c | 37 +
2 files
From: Renyong Wan
Event queue is intended for receiving event from hardware as well
as mailbox response message.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 1 +
drivers/net/sssnic/base/sssnic_eventq.c | 426
d
1 - 100 of 160 matches
Mail list logo