Now NFP NIC support two type of RSS logic, NFP_NET_CFG_CTRL_RSS and
NFP_NET_CFG_CTRL_RSS2, use NFP_NET_CFG_CTRL_RSS2 if NIC capability
support, otherwise use NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off
Implement NFP3800 card packet transmit function for firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
Modify NFP net stop and close function, use helper function to stop
and close queue instead of before logic.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.c| 50
Add ethdev option for firmware with NFDk, implement tx_queue setup
function for firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32
Add and modify the nfp PMD struct and macro that will be used by firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 58
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/nics/nfp.rst
Add 'nfd3' into the firmware with NFD3 eth driver function name,
preparation for the next work, as we will support another version
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
() has no such restrictions, so the
"NFP_QCP_MAX_ADD" test is unnecessary.
Note that trying to add more that the configured ring size
in a single add will cause a QCP overflow, caught and handled
by the QCP peripheral.
Signed-off-by: Jin Liu
Signed-off-by: Yinjun Zhang
Signed-off-by: C
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers/net/nfp/nfp_rxtx.c
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 149
drivers/net/nfp/nfp_ethdev_vf.c | 8
.
- Modified function definition format.
* Changes since v3
- No longer use rte_panic.
Jin Liu (13):
net/nfp: change the coding style
net/nfp: remove unnecessary forward function declaration
net/nfp: remove pessimistic limit
net/nfp: rename set MAC function
net/nfp: rename function and struct
Now NFP NIC support two type of RSS logic, NFP_NET_CFG_CTRL_RSS and
NFP_NET_CFG_CTRL_RSS2, use NFP_NET_CFG_CTRL_RSS2 if NIC capability
support, otherwise use NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off
Implement NFP3800 card packet transmit function for firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
Modify NFP net stop and close function, use helper function to stop
and close queue instead of before logic.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.c| 50
Add ethdev option for firmware with NFDk, implement tx_queue setup
function for firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32
Add and modify the nfp PMD struct and macro that will be used by firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 58
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/nics/nfp.rst
Add 'nfd3' into the firmware with NFD3 eth driver function name,
preparation for the next work, as we will support another version
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
() has no such restrictions, so the
"NFP_QCP_MAX_ADD" test is unnecessary.
Note that trying to add more that the configured ring size
in a single add will cause a QCP overflow, caught and handled
by the QCP peripheral.
Signed-off-by: Jin Liu
Signed-off-by: Yinjun Zhang
Signed-off-by: C
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers/net/nfp/nfp_rxtx.c
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 149
drivers/net/nfp/nfp_ethdev_vf.c | 8
.
- Modified function definition Format.
Jin Liu (13):
net/nfp: change the coding style
net/nfp: remove unnecessary forward function declaration
net/nfp: remove pessimistic limit
net/nfp: rename set MAC function
net/nfp: rename function and struct
net/nfp: support NFP3800 card
net/nfp
Now NFP NIC support two type of RSS logic, NFP_NET_CFG_CTRL_RSS and
NFP_NET_CFG_CTRL_RSS2, use NFP_NET_CFG_CTRL_RSS2 if NIC capability
support, otherwise use NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off
Implement NFP3800 card packet transmit function for firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
Modify NFP net stop and close function, use helper function to stop
and close queue instead of before logic.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.c| 50
Add ethdev option for firmware with NFDk, implement tx_queue setup
function for firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32
Add and modify the nfp PMD struct and macro that will be used by firmware
with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 58
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.h
Add 'nfd3' into the firmware with NFD3 eth driver function name,
preparation for the next work, as we will support another version
firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
() has no such restrictions, so the
"NFP_QCP_MAX_ADD" test is unnecessary.
Note that trying to add more that the configured ring size
in a single add will cause a QCP overflow, caught and handled
by the QCP peripheral.
Signed-off-by: Jin Liu
Signed-off-by: Yinjun Zhang
Signed-off-by: C
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers/net/nfp/nfp_rxtx.c
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 149
drivers/net/nfp/nfp_ethdev_vf.c | 8
This set patches add support for a new type of NFP nic NFP3800 and
the firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/nics/nfp.rst | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/guides
Add support for a new type NFP NIC NFP3800 and firmware with NFDk.
Signed-off-by: Jin Liu
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
doc/guides/rel_notes/release_22_07.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/release_22_07.rst
b/doc
release notes.
- Added nfp_netvf_ethdev_ops_mount() to make code better.
- Used capability instead of version to select RSS.
- Adjusted nfp_net_txq struct,just keep one txbuf.
Jin Liu (15):
doc: update release note
doc: update nfp documentation
net/nfp: change the coding style
net/nfp
Modify RSS-related interface functions, as the NFDK firmware support
feature NFP_NET_CFG_CTRL_RSS2 rather than NFP_NET_CFG_CTRL_RSS.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp
Implement NFP3800 card packet transmit function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 3 +-
drivers/net/nfp/nfp_ethdev_vf.c | 3
Move macro __round_mask, round_up and round_down from C file to
corresponding head file, will be used by TX function of nfp net
nfdk firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers
Implement NIC stop and close function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 92 -
drivers/net/nfp
Modify nfd3 firmware net stop and close function, use helper function to
stop and close queue instead of before logic.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.c| 75
Add ethdev option for NFDK firmware, implement tx_queue setup and
release function for NFDK firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 32
Add and modify the nfp PMD struct and macro that will be used by NFDK
firmware.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_rxtx.h | 69 +++---
1
Modify nfp driver logic, add firmware version (NFD3 or NFDK) judgment, will
according to the firmware version, mount different driver functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers
Add support for a new type of NIC NFP3800 card, and update some
network card data acquisition interface functions.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_common.h
Add 'nfd3' into the nfd3 firmware eth driver function name, preparation
for the next work, as we will support another nfdk firmware version.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
d
The NFP eth driver function name start with 'nfp_net', but set_mac
function start with 'nfp' only, rename it, be consistent with others.
Signed-off-by: Jin Liu
Signed-off-by: Diana Wang
Signed-off-by: Peng Zhang
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
() has no such restrictions, so the
"NFP_QCP_MAX_ADD" test is unnecessary.
Note that trying to add more that the configured ring size
in a single add will cause a QCP overflow, caught and handled
by the QCP peripheral.
Signed-off-by: Jin Liu
Signed-off-by: Yinjun Zhang
Signed-off-by: C
From: Chaoyong He
This commit remove some unnecessary forward function
declarations.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 22 --
drivers/net/nfp/nfp_ethdev_vf.c | 12
drivers
From: Chaoyong He
Change the coding style of some logics, to make it more
compatible with the DPDK coding style.
Signed-off-by: Chaoyong He
Signed-off-by: Jin Liu
Signed-off-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c| 150
drivers/net/nfp
Jin Liu (12):
net/nfp: remove pessimistic limit
net/nfp: rename set MAC function
net/nfp: rename function and struct
net/nfp: support NFP3800 card
net/nfp: support NFDK firmware
net/nfp: structure adjustment
net/nfp: nfdk netdev option and queue function
net/nfp: add queue stop and
The help message of create meter command is incomplete,
lack of policy_id param, update help string.
Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color")
Cc: haif...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Jin liu
Signed-off-by: Chaoyong He
Signed-off-
The help message of create meter command is incomplete,
lack of policy_id param, update help string.
Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color")
Cc: haif...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Jin liu
Signed-off-by: Chaoyong He
Signed-off-
The help message of create meter command is incomplete,
lack of policy_id param, update help string.
Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color")
Cc: sta...@dpdk.org
Signed-off-by: Jin liu
Signed-off-by: Chaoyong He
Signed-off-by: Niklas Söderlund
---
ap
62 matches
Mail list logo