History log of /dpdk/drivers/net/nfp/nfp_cpp_bridge.c (Results 1 – 23 of 23)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v24.11, v24.11-rc4, v24.11-rc3, v24.11-rc2, v24.11-rc1
# b6de4353 17-Oct-2024 Zerun Fu <zerun.fu@corigine.com>

net/nfp: add missing period in logs

Unified add period at the end of the sentence in log.

Signed-off-by: Zerun Fu <zerun.fu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewe

net/nfp: add missing period in logs

Unified add period at the end of the sentence in log.

Signed-off-by: Zerun Fu <zerun.fu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# f6272c7a 17-Oct-2024 Zerun Fu <zerun.fu@corigine.com>

net/nfp: reformat header of logs

Capitalize the first letter of each sentence in the log.

Signed-off-by: Zerun Fu <zerun.fu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewe

net/nfp: reformat header of logs

Capitalize the first letter of each sentence in the log.

Signed-off-by: Zerun Fu <zerun.fu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


Revision tags: v24.07, v24.07-rc4, v24.07-rc3, v24.07-rc2, v24.07-rc1
# 929b0531 19-Jun-2024 Long Wu <long.wu@corigine.com>

net/nfp: fix disable CPP service

The CPP service is enabled in 'nfp_pf_init()', so it should be disabled
in corresponding free function 'nfp_pf_uninit()'.

Fixes: 600f6d2c7704 ("net/nfp: add service

net/nfp: fix disable CPP service

The CPP service is enabled in 'nfp_pf_init()', so it should be disabled
in corresponding free function 'nfp_pf_uninit()'.

Fixes: 600f6d2c7704 ("net/nfp: add service module")
Cc: stable@dpdk.org

Signed-off-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>

show more ...


Revision tags: v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1
# 600f6d2c 02-Feb-2024 Long Wu <long.wu@corigine.com>

net/nfp: add service module

For clearer service code structure and more convenient future
addition of service code, NFP creates new service code related
files and move service related code into new

net/nfp: add service module

For clearer service code structure and more convenient future
addition of service code, NFP creates new service code related
files and move service related code into new files.

This commit also adds service disable interface and lets CPP
service run normally if app uses several flower cards.

Signed-off-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


Revision tags: v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1
# e7978635 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: adjust logic to make it more readable

Adjust some logic to make it easier to understand.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
R

net/nfp: adjust logic to make it more readable

Adjust some logic to make it easier to understand.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# b0c496ab 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: standardize spacing

Use space character to align instead of TAB character.
There should one blank line to split the block of logic, no more no less.

Signed-off-by: Chaoyong He <chaoyong.he

net/nfp: standardize spacing

Use space character to align instead of TAB character.
There should one blank line to split the block of logic, no more no less.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# 40688372 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: standardize comment style

Follow the DPDK coding style, use the kdoc comment style.
Also delete some comment which are not valid anymore and add some
comment to help understand logic.

Sign

net/nfp: standardize comment style

Follow the DPDK coding style, use the kdoc comment style.
Also delete some comment which are not valid anymore and add some
comment to help understand logic.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# 030b2b19 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: adjust log statements

Add log statement to the important control logic, and remove verbose
info log statement.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <l

net/nfp: adjust log statements

Add log statement to the important control logic, and remove verbose
info log statement.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# 49952141 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: standardize local variable coding style

There should only declare one local variable in each line, and the local
variable should obey the unify sequence.

Signed-off-by: Chaoyong He <chaoyo

net/nfp: standardize local variable coding style

There should only declare one local variable in each line, and the local
variable should obey the unify sequence.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# f4d24fe9 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: unify indent coding style

Each parameter of function should occupy one line, and indent two TAB
character.
All the statement which span multi line should indent two TAB character.

Signed-o

net/nfp: unify indent coding style

Each parameter of function should occupy one line, and indent two TAB
character.
All the statement which span multi line should indent two TAB character.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# c01e5c0c 13-Oct-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: compare explicitly to null and 0

To compliance with the coding standard, make the pointer variable
explicitly comparing to 'NULL' and the integer variable explicitly
comparing to '0'.

Sign

net/nfp: compare explicitly to null and 0

To compliance with the coding standard, make the pointer variable
explicitly comparing to 'NULL' and the integer variable explicitly
comparing to '0'.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>

show more ...


# f1523fac 20-Sep-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: improve modularization of CPP bridge module

Try to keep the API small by move the logic which need not expose from
header file to source file verbatim.
Also remove the unneeded header file

net/nfp: improve modularization of CPP bridge module

Try to keep the API small by move the logic which need not expose from
header file to source file verbatim.
Also remove the unneeded header file include statement of source file.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>

show more ...


# ff627b74 19-Sep-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: refactor cppcore module

Modify the comment and standard the coding style.
Move the definition of data structure into the implement file to make
the API small.
Also sync the logic from kerne

net/nfp: refactor cppcore module

Modify the comment and standard the coding style.
Move the definition of data structure into the implement file to make
the API small.
Also sync the logic from kernel driver and remove the unneeded header
file include statements.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>

show more ...


Revision tags: v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2, v23.07-rc1
# bfb18d6a 19-May-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: remove unneeded comment

Remove the unneeded comment at the head and tail of
some source files.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.s

net/nfp: remove unneeded comment

Remove the unneeded comment at the head and tail of
some source files.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>

show more ...


# 8987de81 10-Apr-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: use generic macros for array size and to set bits

Instead of using NFP specific macros for array size and to set bits use
the generic ones provided by DPDK.

By moving some include directiv

net/nfp: use generic macros for array size and to set bits

Instead of using NFP specific macros for array size and to set bits use
the generic ones provided by DPDK.

By moving some include directives for system header files directly to
the source files that depend on them, the header file nfp_platform.h
defining the NFP specific macros can be removed.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>

show more ...


Revision tags: v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1
# 54fdb550 17-Feb-2023 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: get rid of the static log type

Register the own RX/TX debug log level type, and get rid of the
usage of RTE_LOGTYPE_*. Then we can control the log by a independent
switch.

Replace the usag

net/nfp: get rid of the static log type

Register the own RX/TX debug log level type, and get rid of the
usage of RTE_LOGTYPE_*. Then we can control the log by a independent
switch.

Replace the usage of RTE_LOG* macro with PMD specific logging.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>

show more ...


# cbcbfd73 06-Feb-2023 James Hershaw <james.hershaw@corigine.com>

net/nfp: compare with explicit null and 0

Removal of the '!' character when comparing variables in favour of
explicitly comparing the variable to either 'NULL' or '0', in
compliance with the standar

net/nfp: compare with explicit null and 0

Removal of the '!' character when comparing variables in favour of
explicitly comparing the variable to either 'NULL' or '0', in
compliance with the standard.

Signed-off-by: James Hershaw <james.hershaw@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>

show more ...


Revision tags: v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2
# a5b876a5 25-Oct-2022 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: fix CPP bridge service exit

The CPP (Command Pull Push) bridge service is needed for some debug
tools, but if no debug tools has ever been run, the initial logic of
CPP bridge service will

net/nfp: fix CPP bridge service exit

The CPP (Command Pull Push) bridge service is needed for some debug
tools, but if no debug tools has ever been run, the initial logic of
CPP bridge service will block in accept() function call, and the
DPDK app can't exit normally.

Fixes: bab0e6f48b6d ("net/nfp: fix infinite loop")

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>

show more ...


# bab0e6f4 21-Oct-2022 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: fix infinite loop

The services don't have a method to break the infinite loop, and
this will cause the DPDK app can't end normally.

Fixes: a36634e87e16 ("net/nfp: add flower ctrl VNIC Rx/T

net/nfp: fix infinite loop

The services don't have a method to break the infinite loop, and
this will cause the DPDK app can't end normally.

Fixes: a36634e87e16 ("net/nfp: add flower ctrl VNIC Rx/Tx")

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>

show more ...


Revision tags: v22.11-rc1
# b1880421 26-Sep-2022 Chaoyong He <chaoyong.he@corigine.com>

net/nfp: add initial flower firmware support

Adds the basic probing infrastructure to support the flower firmware
application.

Adds the cpp service, used for some user tools.

Signed-off-by: Chaoyo

net/nfp: add initial flower firmware support

Adds the basic probing infrastructure to support the flower firmware
application.

Adds the cpp service, used for some user tools.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Signed-off-by: Heinrich Kuhn <heinrich.kuhn@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>

show more ...


Revision tags: v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1, v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3
# 9465a5d5 15-Nov-2021 Conor Walsh <conor.walsh@intel.com>

net/nfp: remove unused message length

Reported by clang 13.

Bugzilla ID: 881
Fixes: 29a62d1476b6 ("net/nfp: add CPP bridge as service")
Cc: stable@dpdk.org

Reported-by: Liang Longfeng <longfengx.l

net/nfp: remove unused message length

Reported by clang 13.

Bugzilla ID: 881
Fixes: 29a62d1476b6 ("net/nfp: add CPP bridge as service")
Cc: stable@dpdk.org

Reported-by: Liang Longfeng <longfengx.liang@intel.com>
Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>

show more ...


Revision tags: v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3
# 8d7a59f1 29-Jul-2021 Heinrich Kuhn <heinrich.kuhn@netronome.com>

net/nfp: rename files for consistency

Rename the nfp_net.c file to nfp_common as it now contains functions
common to VF and PF functionality. Rename the header file too to be
consistent. Also remove

net/nfp: rename files for consistency

Rename the nfp_net.c file to nfp_common as it now contains functions
common to VF and PF functionality. Rename the header file too to be
consistent. Also remove the "net" naming from the _ctrl and _logs files
for consistency across the PMD.

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>

show more ...


# 19af5a38 29-Jul-2021 Heinrich Kuhn <heinrich.kuhn@netronome.com>

net/nfp: move CPP bridge to separate file

This commit moves the CPP bridge logic to a separate file. A new
corresponding header file is also created.

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@net

net/nfp: move CPP bridge to separate file

This commit moves the CPP bridge logic to a separate file. A new
corresponding header file is also created.

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>

show more ...