doc: update bnxt feature list
PATCH 1/2 doc: update bnxt feature list
Updating bnxt.ini file.
--- doc/guides/nics/features/bnxt.ini | 3 +++ 1 file changed, 3 insertions(+)
doc/guides/nics/features/bnxt.ini +3 -0
@@ -11,6 +11,7 @@ Rx interrupt = Y Queue start/stop = Y MTU update = Y Jumbo frame = Y +Scattered Rx = Y LRO = Y TSO = Y Promiscuous mode = Y
@@ -37,9 +38,11 @@ Rx descriptor status = Y Tx descriptor status = Y Basic stats = Y Extended stats = Y +Stats per queue = Y FW version = Y EEPROM dump = Y LED = Y +Multiprocess aware = Y Linux UIO = Y Linux VFIO = Y ARMv8 = Y
Signature · 1 line
2.21.0 (Apple Git-122.2)
PATCH 2/2 net/bnxt: fix check for null spec and mask
bnxt_validate_and_parse_flow_type already has protocol specific NULL checks for rte_flow_item spec and mask and take actions accordingly. A check at the top of the loop is redundant and is preventing the protocol specific checks from being executed.
--- drivers/net/bnxt/bnxt_flow.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/net/bnxt/bnxt_flow.c +0 -8
@@ -177,14 +177,6 @@ bnxt_validate_and_parse_flow_type(struct bnxt *bp,return -rte_errno; } -if (!item->spec || !item->mask) { -rte_flow_error_set (error,EINVAL , -RTE_FLOW_ERROR_TYPE_ITEM , - item, -"spec/mask is NULL" ); -return -rte_errno; - } -switch (item->type) {case RTE_FLOW_ITEM_TYPE_ANY : inner =
Signature · 1 line
2.21.0 (Apple Git-122.2)
Re: [dpdk-dev] [PATCH 2/2] net/bnxt: fix check for null spec and mask
Quoted 5 lines · Ajit Khaparde
bnxt_validate_and_parse_flow_typealready has protocol specific NULL checks forrte_flow_itemspec and mask and take actions accordingly. A check at the top of the loop is redundant and is preventing the protocol specific checks from being executed.
Quoted 7 lines
Fixes b7e01f386059 ("net/bnxt: handle cleanup if flow creation fails")Signed-off-by Ajit Khaparde <[email protected]>Reviewed-by Santoshkumar Karanappa Rastapur <Reviewed-by Somnath Kotur <[email protected]>
Patch applied to dpdk-next-net-brcm.
Quoted 27 lines
--- drivers/net/bnxt/bnxt_flow.c | 8 -------- 1 file changed, 8 deletions(-)drivers/net/bnxt/bnxt_flow.c +0
-9@@ -177,14 +177,6 @@ bnxt_validate_and_parse_flow_type(struct bnxt *bp,return -rte_errno; } -if (!item->spec || !item->mask) { -rte_flow_error_set (error,EINVAL , -RTE_FLOW_ERROR_TYPE_ITEM , - item, -"spec/mask is NULL" ); -return -rte_errno; - } -switch (item->type) {case RTE_FLOW_ITEM_TYPE_ANY : inner = --2.21.0 (Apple Git-122.2)
Quoted 4 lines · Ajit Khaparde
Updating bnxt.ini file.
Signed-off-by Ajit Khaparde <[email protected]>
Patch applied to dpdk-next-net-brcm.
Quoted 33 lines
--- doc/guides/nics/features/bnxt.ini | 3 +++ 1 file changed, 3 insertions(+)doc/guides/nics/features/bnxt.ini +3
-1@@ -11,6 +11,7 @@ Rx interrupt = Y Queue start/stop = Y MTU update = Y Jumbo frame = Y +Scattered Rx = Y LRO = Y TSO = Y Promiscuous mode = Y@@ -37,9 +38,11 @@ Rx descriptor status = Y Tx descriptor status = Y Basic stats = Y Extended stats = Y +Stats per queue = Y FW version = Y EEPROM dump = Y LED = Y +Multiprocess aware = Y Linux UIO = Y Linux VFIO = Y ARMv8 = Y --2.21.0 (Apple Git-122.2)
Quoted 22 lines · Ajit Khaparde
Updating bnxt.ini file.
Signed-off-by Ajit Khaparde <[email protected]>--- doc/guides/nics/features/bnxt.ini | 3 +++ 1 file changed, 3 insertions(+)doc/guides/nics/features/bnxt.ini +1
-0@@ -11,6 +11,7 @@ Rx interrupt = Y Queue start/stop = Y MTU update = Y Jumbo frame = Y +Scattered Rx = Y LRO = Y TSO = Y Promiscuous mode = Y@@ -37,9 +38,11 @@ Rx descriptor status = Y Tx descriptor status = Y
doc/guides/nics/features/bnxt.ini Rx descriptor status = Y · line 48
Quoted 10 lines
doc/guides/nics/features/bnxt.ini +2
-0Basic stats = Y Extended stats = Y +Stats per queue = Y FW version = Y EEPROM dump = Y LED = Y +Multiprocess aware = Y Linux UIO = Y Linux VFIO = Y ARMv8 = Y
Are these features added in this release or adding the missed features? If adding missed features can you please add the fixes tags for backtrace? And if new features can you please put the commit providing these features for reference?
Thanks.
Quoted 28 lines · Ferruh Yigit
Review
Quoted 8 lines · Ajit Khaparde
Updating bnxt.ini file.
Signed-off-by Ajit Khaparde <[email protected]>--- doc/guides/nics/features/bnxt.ini | 3 +++ 1 file changed, 3 insertions(+)(quoted diff) +0
-0b/doc/guides/nics/features/bnxt.ini
Quoted 18 lines
index
9721dd61d..37a99e336100644doc/guides/nics/features/bnxt.ini +2
-0@@ -11,6 +11,7 @@ Rx interrupt = Y Queue start/stop = Y MTU update = Y Jumbo frame = Y +Scattered Rx = Y LRO = Y TSO = Y Promiscuous mode = Y@@ -37,9 +38,11 @@ Rx descriptor status = Y Tx descriptor status = Y Basic stats = Y Extended stats = Y +Stats per queue = Y FW version = Y EEPROM dump = Y
Quoted 8 lines
doc/guides/nics/features/bnxt.ini Rx descriptor status = Y · line 48
Quoted 6 lines
doc/guides/nics/features/bnxt.ini +1
-0LED = Y +Multiprocess aware = Y Linux UIO = Y Linux VFIO = Y ARMv8 = YAre these features added in this release or adding the missed features?
Yes. Catching up on that. We missed updating this when the feature patches went in.
Quoted 6 lines
If
adding missed features can you please add the fixes tags for backtrace? And if new features can you please put the commit providing these features for
reference?
Will do.
Quoted 3 lines
Thanks.