Re: [PATCH 55/71] net/bnxt: replace use of fixed size rte_memcpy

2024-02-29 Thread Somnath Kotur
} > - rte_memcpy(((uint8_t *)&tenant_id_be + 1), > - nvgre_spec->tni, 3); > + memcpy(((uint8_t *)&tenant_id_be + 1), > + nvgre_spec->tni, 3); > filter->vni = > rte_be_to_cpu_32(tenant_id_be); > filter->tunnel_type = > -- > 2.43.0 > Acked-by: Somnath Kotur smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCH 05/26] net/bnxt: replace RTE_LOG_DP with rte_log_dp

2023-12-12 Thread Somnath Kotur
RTE_LOG_DP(ERR, PMD, > - "Unhandled CMP type %02x\n", > - CMP_TYPE(txcmp)); > + PMD_DRV_LOG_DP(ERR, "Unhandled CMP type %02x\n", > CMP_TYPE(txcmp)); > raw_cons = NEXT_RAW_CMP(raw_cons); > } while (nb_tx_pkts < ring_mask); > > -- > 2.42.0 > Acked-by: Somnath Kotur smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCH v5 12/19] net/bnxt: replace use of term sanity

2023-11-29 Thread Somnath Kotur
resource subtype and session id are passed in. > * An identifier (previously allocated) corresponding to all these is > - * freed, only after various sanity checks are completed. > + * freed, only after various checks are completed. > */ > /* hwrm_tfc_ident_free_input (size:192b/2

Re: [PATCH v2] examples/ptp: replace terms master and slave

2023-11-29 Thread Somnath Kotur
e_ether_addr eth_addr; > @@ -399,8 +399,8 @@ parse_fup(struct ptpv2_data_slave_ordinary *ptp_data) > eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); > ptp_hdr = (struct ptp_header *)(rte_pktmbuf_mtod(m, char *) > + sizeof(struct rte_et

Re: rte_cpu_to_le_32 nit in drivers/net/bnxt/bnxt_hwrm.c

2023-02-28 Thread Somnath Kotur
On Tue, Feb 28, 2023 at 2:30 PM Vita Batrla wrote: > > Hi all, > > I don't know where to report this nit. It's not a real bug and I don't want > to even send a patch for it. I'm looking if someone could just fix it in > the source code. Here's the problem: > > drivers/net/bnxt/bnxt_hwrm.c > >

Re: [PATCH] bnxt: fix unwanted interrupt config on link state change

2023-02-06 Thread Somnath Kotur
rte_unused) > > rte_eth_copy_pci_info(eth_dev, pci_dev); > eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS; > + eth_dev->data->dev_flags |= RTE_ETH_DEV_INTR_LSC; > > bp = eth_dev->data->dev_private; > > -- > 2.35.0.4.g44a5d4affccf > Acked-by: Somnath Kotur smime.p7s Description: S/MIME Cryptographic Signature

Re: net/bnxt: wrong link status when lsc_intr is used

2023-02-06 Thread Somnath Kotur
inimum size of RX buffer: 1 >> Maximum configurable length of RX packet: 9600 >> Maximum configurable size of LRO aggregated packet: 0 >> Maximum number of VMDq pools: 64 >> Current number of RX queues: 2 >> Max possible RX queues: 117 >> Max possible number of R

Re: net/bnxt: wrong link status when lsc_intr is used

2023-01-30 Thread Somnath Kotur
On Thu, Jan 19, 2023 at 7:07 PM Edwin Brossette wrote: > > Hello, > Hi Edwin, Thanks for reaching out, here's my attempt at answering your questions > I am trying to operate a Broadcom BCM57414 2x10G nic using dpdk bnxt pmd. I > use DPDK 22.11. > However, doing so I stumbled over a number of dif

Re: [PATCH v3] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg()

2022-08-01 Thread Somnath Kotur
led_on) > uint16_t duration = 0; > int rc, i; > > - if (!bp->leds->num_leds || BNXT_VF(bp)) > + if (BNXT_VF(bp) || !bp->leds || !bp->leds->num_leds) > return -EOPNOTSUPP; > > HWRM_PREP(&req, HWRM_PORT_LED_CFG, BNXT_USE_CHIMP_MB); > -- > 1.8.3.1 > Acked-by: Somnath Kotur smime.p7s Description: S/MIME Cryptographic Signature

Re: [PATCHv2] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg()

2022-08-01 Thread Somnath Kotur
On Tue, Aug 2, 2022 at 9:17 AM Mao YingMing wrote: > > For VFs, bp->leds is uninitialized, check bp->leds is > not null before use bp->leds->num_leds. Sorry for missing this the first time around, Rephrase it to say 'before checking for bp->leds->num_leds' > segfault backtrace in trex program when

Re: [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg()

2022-08-01 Thread Somnath Kotur
On Tue, Aug 2, 2022 at 8:33 AM Mao YingMing wrote: > Thanks for the patch > From: maoyingming > > VFs's "bp->leds" is allways null, check bp->leds is > not null before use bp->leds->num_leds. Typo in 'always' You can just say ' For VFs , bp->leds is uninitialized' > > segfault backtrace in trex p

Re: [PATCH v3] ethdev: deprecate header fields and metadata flow actions

2021-11-25 Thread Somnath Kotur
On Thu, Nov 25, 2021 at 5:23 PM Ferruh Yigit wrote: > > On 11/24/2021 3:37 PM, Viacheslav Ovsiienko wrote: > > The generic RTE_FLOW_ACTION_TYPE_MODIFY_FIELD action was > > introduced by [1]. This action provides an unified way > > to perform various arithmetic and transfer operations over > > pack

Re: [PATCH v2 2/3] fix 'the the' typo

2021-11-22 Thread Somnath Kotur
- a/lib/ip_frag/rte_ipv6_fragmentation.c > +++ b/lib/ip_frag/rte_ipv6_fragmentation.c > @@ -90,7 +90,7 @@ rte_ipv6_fragment_packet(struct rte_mbuf *pkt_in, > > /* > * Ensure the IP payload length of all fragments (except the > -* the last fragment) are a multiple of 8 bytes per RFC2460. > +* last fragment) are a multiple of 8 bytes per RFC2460. > */ > > frag_size = mtu_size - sizeof(struct rte_ipv6_hdr) - > diff --git a/lib/rawdev/rte_rawdev_pmd.h b/lib/rawdev/rte_rawdev_pmd.h > index b1bed13ee2..3b7be57d3e 100644 > --- a/lib/rawdev/rte_rawdev_pmd.h > +++ b/lib/rawdev/rte_rawdev_pmd.h > @@ -126,7 +126,7 @@ rte_rawdev_pmd_is_valid_dev(uint8_t dev_id) > } > > /** > - * Definitions of all functions exported by a driver through the > + * Definitions of all functions exported by a driver through > * the generic structure of type *rawdev_ops* supplied in the > * *rte_rawdev* structure associated with a device. > */ > -- > 2.25.1 > Acked-by: Somnath Kotur

[PATCH] net/bnxt: restore fast-path API pointers post recovery

2021-11-21 Thread Somnath Kotur
uot;) Signed-off-by: Somnath Kotur Reviewed-by: Kalesh AP --- drivers/net/bnxt/bnxt_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index c1bdf9a921..f79f33ab4e 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++

[PATCH] net/bnxt: fix crash caused by error recovery

2021-11-18 Thread Somnath Kotur
ummy ones set by bnxt_stop_rxtx() leading to crashes in the data path (e.g. dereferencing freed structures) Fix the segfault by updating the fast-path pointer as well Fixes: c87d435a4d79 ("ethdev: copy fast-path API into separate structure") Signed-off-by: Somnath Kotur Rev

[PATCH] net/bnxt: fix autoneg on PAM4 links

2021-11-17 Thread Somnath Kotur
alid settings being retrieved and configured in subsequent application loads resulting in launch failures. Fixes: c23f9ded0391 ("net/bnxt: support 200G PAM4 link") Reported-by: Charlie Brtee Reviewed-by: Ajit Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_hwrm.c |

[PATCH] net/bnxt: fix to set Rx next cons in mbuf alloc fail case

2021-11-16 Thread Somnath Kotur
testpmd Fixes: 03c8f2fe111c ("net/bnxt: detect bad opaque in Rx completion") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Signed-off-by: Ajit Khaparde Reviewed-by: Ajit Khaparde Reviewed-by: Kalesh Anakkur Purayil --- drivers/net/bnxt/bnxt_rxr.c | 2 +- 1 file changed, 1 inser

Re: [PATCH 5/7] drivers/net: fix unused but set variables

2021-11-15 Thread Somnath Kotur
/tf_ulp/ulp_utils.c > > index df3afaa6fd..c60d81d14a 100644 > > --- a/drivers/net/bnxt/tf_ulp/ulp_utils.c > > +++ b/drivers/net/bnxt/tf_ulp/ulp_utils.c > > @@ -200,7 +200,6 @@ ulp_bs_push_msb(uint8_t *bs, uint16_t pos, uint8_t len, > > uint8_t *val) > > { > > int i; > > int cnt = (len + 7) / 8; > > - int tlen = len; > > > > /* Handle any remainder bits */ > > int tmp = len % 8; > > @@ -211,12 +210,10 @@ ulp_bs_push_msb(uint8_t *bs, uint16_t pos, uint8_t > > len, uint8_t *val) > > ulp_bs_put_msb(bs, pos, tmp, val[0]); > > > > pos += tmp; > > - tlen -= tmp; > > > > for (i = 1; i < cnt; i++) { > > ulp_bs_put_msb(bs, pos, 8, val[i]); > > pos += 8; > > - tlen -= 8; > > } > > > > return len; > > Review please. Acked-by: Somnath Kotur > > > -- > David Marchand >

Re: [dpdk-dev] [PATCH v7] ethdev: add namespace

2021-10-22 Thread Somnath Kotur
; Syntax fixed on lines that this patch touches. > > > > Signed-off-by: Ferruh Yigit > > Acked-by: Tyler Retzlaff > > Acked-by: Andrew Rybchenko > > Acked-by: Ajit Khaparde > > Acked-by: Jerin Jacob > > Acked-by: Wisam Jaddo > > Acked-by: Rosen Xu > > Acked-by: Chenbo Xia > > Acked-by: Hemant Agrawal > Acked-by: Somnath Kotur somnath.ko...@broadcom.com > >

Re: [dpdk-dev] [PATCH v4 3/6] net: advertise no support for keeping flow rules

2021-10-21 Thread Somnath Kotur
> Suggested-by: Ferruh Yigit > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Ajit Khaparde > Acked-by: Somnath Kotur >

Re: [dpdk-dev] [PATCH v2 4/4] mbuf: add rte prefix to offload flags

2021-10-18 Thread Somnath Kotur
ame. The old flags remain usable, but a deprecation warning is issued > > > at compilation. > > > > > > Signed-off-by: Olivier Matz > > > > Acked-by: Andrew Rybchenko > > Acked-by: Ajit Khaparde > > Acked-by: Somnath Kotur

Re: [dpdk-dev] [PATCH v2 2/4] mbuf: mark old VLAN offload flags as deprecated

2021-10-18 Thread Somnath Kotur
ecause David pointed me that these flags are still used by > other projects. Adding an explicit RTE_DEPRECATED() would prevent this, > and... it doesn't bother to add one more year :) > > Thank you for the review. Acked-by Somnath Kotur

Re: [dpdk-dev] [PATCH v11 1/2] ethdev: add an API to get device configuration

2021-10-11 Thread Somnath Kotur
. > * > diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map > index efd729c0f2..c516837723 100644 > --- a/lib/ethdev/version.map > +++ b/lib/ethdev/version.map > @@ -245,6 +245,9 @@ EXPERIMENTAL { > rte_mtr_meter_policy_delete; > rte_mtr_meter_policy_update; > rte_mtr_meter_policy_validate; > + > + # added in 21.11 > + rte_eth_dev_conf_get; > }; > > INTERNAL { > -- Acked-by: Somnath kotur > 2.25.1 >

Re: [dpdk-dev] [PATCH] ethdev: remove deprecated shared counter attribute

2021-10-06 Thread Somnath Kotur
tnic_flow.c > b/drivers/net/softnic/rte_eth_softnic_flow.c > index 27eaf380cd..39038d26d8 100644 > --- a/drivers/net/softnic/rte_eth_softnic_flow.c > +++ b/drivers/net/softnic/rte_eth_softnic_flow.c > @@ -1448,13 +1448,6 @@ flow_rule_action_get(struct pmd_internals *softnic, > action, > "COUNT: Null configuration"); > > - if (conf->shared) > - return rte_flow_error_set(error, > - ENOTSUP, > - RTE_FLOW_ERROR_TYPE_ACTION_CONF, > - conf, > - "COUNT: Shared counters not > supported"); > - > if (n_count) > return rte_flow_error_set(error, > ENOTSUP, > diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h > index 7b1ed7f110..5306e8ca4b 100644 > --- a/lib/ethdev/rte_flow.h > +++ b/lib/ethdev/rte_flow.h > @@ -75,7 +75,7 @@ extern "C" { > * At least one direction must be specified. > * > * Specifying both directions at once for a given rule is not recommended > - * but may be valid in a few cases (e.g. shared counter). > + * but may be valid in a few cases. > */ > struct rte_flow_attr { > uint32_t group; /**< Priority group. */ > @@ -2498,24 +2498,11 @@ struct rte_flow_query_age { > * Counters can be retrieved and reset through ``rte_flow_query()``, see > * ``struct rte_flow_query_count``. > * > - * @deprecated Shared attribute is deprecated, use generic > - * RTE_FLOW_ACTION_TYPE_INDIRECT action. > - * > - * The shared flag indicates whether the counter is unique to the flow rule > the > - * action is specified with, or whether it is a shared counter. > - * > - * For a count action with the shared flag set, then then a global device > - * namespace is assumed for the counter id, so that any matched flow rules > using > - * a count action with the same counter id on the same port will contribute > to > - * that counter. > - * > * For ports within the same switch domain then the counter id namespace > extends > * to all ports within that switch domain. > */ > struct rte_flow_action_count { > - /** @deprecated Share counter ID with other flow rules. */ > - uint32_t shared:1; > - uint32_t reserved:31; /**< Reserved, must be zero. */ > + uint32_t reserved; /**< Reserved, must be zero. */ > uint32_t id; /**< Counter ID. */ > }; > > -- > 2.30.2 > Acked-by: Somnath Kotur

Re: [dpdk-dev] [PATCH 1/5] ethdev: add capability to keep flow rules on restart

2021-10-06 Thread Somnath Kotur
mandatory, because flow API does not supply users with > > capabilities, so > > this is the only way for a user to learn that configuration is invalid. For > > example, if queue count changes and the action of a flow rule specifies > > queues > > that are going away

Re: [dpdk-dev] [PATCH v4 1/6] ethdev: fix max Rx packet length

2021-10-06 Thread Somnath Kotur
Rx/Tx size limitation, > > Rx buffer is where to store Rx packets, many PMDs use mbuf data buffer > > size as Rx buffer size. > > PMDs compare MTU against Rx buffer size to decide enabling scattered Rx > > or not. If scattered Rx is not supported by device, MTU bigger than Rx > > buffer size should fail. > > > > Signed-off-by: Ferruh Yigit > > --- > > Cc: Min Hu (Connor) > > > > v2: > > * Converted to explicit checks for zero/non-zero > > * fixed hns3 checks > > * fixed some sample app rxmode.mtu value > > * fixed some sample app max-pkt-len argument and updated doc for it > > > > v3: > > * rebased > > > > v4: > > * fix typos in commit logs > > That's a lot of detail in the log. Thanks > > Acked-by: Ajit Khaparde Acked-by: Somnath Kotur

Re: [dpdk-dev] [PATCH v5 1/5] ethdev: negotiate delivery of packet metadata from HW to PMD

2021-10-06 Thread Somnath Kotur
7;s ability to deliver received metadata to the user > > by virtue of mbuf fields should be covered by mbuf library. > > It is also out of scope of the new API in question. > > > > Signed-off-by: Ivan Malov > > Reviewed-by: Andrew Rybchenko > > Reviewed-by: Andy Moreton > > Acked-by: Ray Kinsella > > Acked-by: Jerin Jacob > > Acked-by: Ajit Khaparde Acked-by: Somnath Kotur

Re: [dpdk-dev] [PATCH v3 4/6] ethdev: remove jumbo offload flag

2021-10-04 Thread Somnath Kotur
On Mon, Oct 4, 2021 at 10:42 AM Somnath Kotur wrote: > > On Fri, Oct 1, 2021 at 8:07 PM Ferruh Yigit wrote: > > > > Removing 'DEV_RX_OFFLOAD_JUMBO_FRAME' offload flag. > > > > Instead of drivers announce this capability, application can deduct

Re: [dpdk-dev] [PATCH v3 3/6] ethdev: move check to library for MTU set

2021-10-04 Thread Somnath Kotur
net/bnxt/bnxt_ethdev.c > +++ b/drivers/net/bnxt/bnxt_ethdev.c > @@ -3025,7 +3025,7 @@ int bnxt_mtu_set_op(struct rte_eth_dev *eth_dev, > uint16_t new_mtu) > uint32_t overhead = BNXT_MAX_PKT_LEN - BNXT_MAX_MTU; > struct bnxt *bp = eth_dev->data->dev_private; >

Re: [dpdk-dev] [PATCH v3 2/6] ethdev: move jumbo frame offload check to library

2021-10-04 Thread Somnath Kotur
} > > - if (new_mtu > RTE_ETHER_MTU) { > + if (new_mtu > RTE_ETHER_MTU) > bp->flags |= BNXT_FLAG_JUMBO; > - bp->eth_dev->data->dev_conf.rxmode.offloads |= > - DEV_RX_OFFLOAD_JUMBO_FRAME; > - } else { > -

[dpdk-dev] [PATCH v4] net/bnxt: fix crash after port stop/start

2021-08-23 Thread Somnath Kotur
.@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh AP Reviewed-by: Ajit Khaparde --- v4: Updated commit log as requested by Ferruh v3: Updated commit log and summary as requested by Ferruh v2: Updated commit log as requested by Ferruh drivers/net/bnxt/bnxt_rxr.c | 3 +++ 1 file changed, 3

[dpdk-dev] [PATCH v4] net/bnxt: fix crash after port stop/start

2021-08-23 Thread Somnath Kotur
.@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh AP Reviewed-by: Ajit Khaparde --- v4: Updated commit log as requested by Ferruh v3: Updated commit log and summary as requested by Ferruh v2: Updated commit log as requested by Ferruh drivers/net/bnxt/bnxt_rxr.c | 3 +++ 1 file changed, 3

[dpdk-dev] [PATCH v3] net/bnxt: fix crash after port stop/start

2021-08-23 Thread Somnath Kotur
point to a stale value. Fixes: 03c8f2fe111c ("net/bnxt: detect bad opaque in Rx completion") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh AP Reviewed-by: Ajit Khaparde --- v3: Updated commit log and summary as requested by Ferruh drivers/net/bnxt/bnxt_rxr.c

Re: [dpdk-dev] [PATCH] net/bnxt: fix to reset Rx next consumer index

2021-08-23 Thread Somnath Kotur
Thank you Ferruh, have sent V2 with updated commit log, please see if it sounds good now? -Som On Fri, Aug 20, 2021 at 6:17 PM Ferruh Yigit wrote: > On 8/10/2021 7:07 AM, Somnath Kotur wrote: > > In bnxt_init_one_rx_ring(), reset this variable internal to the driver > > rin

[dpdk-dev] [PATCH v2] net/bnxt: fix to reset Rx next consumer index

2021-08-23 Thread Somnath Kotur
variable would still point to a stale value. Fixes: 03c8f2fe111c ("net/bnxt: detect bad opaque in Rx completion") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh AP Reviewed-by: Ajit Khaparde --- v2: Updated commit log as requested by Ferruh drivers/net/bnxt/bnxt

[dpdk-dev] [PATCH] net/bnxt: fix to reset Rx next consumer index

2021-08-10 Thread Somnath Kotur
In bnxt_init_one_rx_ring(), reset this variable internal to the driver ring to 0, so that there is no mismatch with actual value in HW on traffic resumption. Fixes: 03c8f2fe111c ("net/bnxt: detect bad opaque in Rx completion") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-

[dpdk-dev] [PATCH v2 2/2] net/bnxt: workaround for spurious zero counter values in Thor

2021-05-31 Thread Somnath Kotur
post accounting for the spurious zero stat value. Signed-off-by: Somnath Kotur Reviewed-by: Lance Richardson Reviewed-by: Kalesh AP --- v2: - Sum counters across ALL rings for function stats instead of the ones reported for - Allocate/free the previous ring stats(Rx/Tx) in dev_start

Re: [dpdk-dev] [PATCH 2/2] net/bnxt: workaround for spurious zero counter values in Thor

2021-05-27 Thread Somnath Kotur
Hi Owen, Thank you for the heads up. I still could not figure out how to reproduce this though, i did not run into any issue on my end and i tried launching testpmd with similar cmdline parameters as specified here in the log(TestNicSingleCorePerf) , but no luck In any case, looks lik

[dpdk-dev] [PATCH 2/2] net/bnxt: workaround for spurious zero counter values in Thor

2021-05-27 Thread Somnath Kotur
post accounting for the spurious zero stat value. Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt.h| 45 +++ drivers/net/bnxt/bnxt_ethdev.c | 14 drivers/net/bnxt/bnxt_hwrm.c | 106 + drivers/net/bnxt/bnxt_h

[dpdk-dev] [PATCH 1/2] net/bnxt: detect bad opaque in Rx completion

2021-05-27 Thread Somnath Kotur
the next one. Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 19 +++ drivers/net/bnxt/bnxt_hwrm.h | 1 + drivers/net/bnxt/bnxt_rxq.h | 1 + drivers/net/bnxt/bnxt_rxr.c | 101 ++- drivers/net/bnxt/bnxt_rxr.h

[dpdk-dev] [PATCH 1/2] net/bnxt: refactor multi queue Rx configuration

2021-04-26 Thread Somnath Kotur
t;net/bnxt: add Rx queue create/destroy") Signed-off-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index 2b0d3d4ac7..

[dpdk-dev] [PATCH 2/2] net/bnxt: fix Rx FIFO pending bit

2021-04-26 Thread Somnath Kotur
Fix to clear the Rx FIFO while reading the timestamp. If the Rx FIFO has pending bit set, keep reading to clear it and return the last valid timestamp instead of unconditionally returning an error. Fixes: b11cceb83a34 ("net/bnxt: support timesync") Cc: sta...@dpdk.org Signed-off-b

[dpdk-dev] [PATCH] net/bnxt: fix Tx timestamp init

2021-03-16 Thread Somnath Kotur
Reviewed-by: Kalesh Anakkur Purayil Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index

[dpdk-dev] [PATCH 1/2] net/bnxt: fix to return count in xstats get op in all cases

2021-03-12 Thread Somnath Kotur
he actual stats populated by the driver. Fixes: 063e59ddd28 ("net/bnxt: fix crash in xstats get") Cc: sta...@dpdk.org Reviewed-by: Kalesh Anakkur Purayil Reviewed-by: Lance Richardson Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_stats.c | 23 +-- 1 file cha

[dpdk-dev] [PATCH 0/2] bnxt patches

2021-03-12 Thread Somnath Kotur
Please apply the following fixes Somnath Kotur (2): net/bnxt: fix to return count in xstats get op in all cases net/bnxt: fix Rx and Tx timestamp assignment drivers/net/bnxt/bnxt_ethdev.c | 4 drivers/net/bnxt/bnxt_stats.c | 23 +-- 2 files changed, 13 insertions

[dpdk-dev] [PATCH 2/2] net/bnxt: fix Rx and Tx timestamp assignment

2021-03-12 Thread Somnath Kotur
timesync adjust and write_time APIs needed to account for the Rx and Tx timestamp counters as well. Fix it since it was not done earlier. Fixes: b11cceb83a3 ("net/bnxt: support timesync") Cc: sta...@dpdk.org Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde Signed-off-b

[dpdk-dev] [PATCH] net/bnxt: refactor HWRM rings allocation routine

2021-02-19 Thread Somnath Kotur
bnxt_alloc_hwrm_rings() was duplicating a snippet of code that was already present in bnxt_alloc_hwrm_rx_ring() with just one line/function invocation missing. Add that line and replace the snippet of code with a call to bnxt_hwrm_alloc_rx_ring Signed-off-by: Somnath Kotur --- drivers/net/bnxt

[dpdk-dev] [PATCH] net/bnxt: fix to release lock in error path of stop and close op

2021-01-13 Thread Somnath Kotur
err_recovery_lock needs to be released before returning in stop and close_op if FW_RESET flag is set. Fixes: 647ca0b35830 ("net/bnxt: check chip reset in dev stop and close") Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) di

Re: [dpdk-dev] [PATCH v2 1/9] ethdev: refactor representor infrastructure

2021-01-07 Thread Somnath Kotur
On Thu, Jan 7, 2021 at 12:08 PM Xueming(Steven) Li wrote: > > > > >-Original Message- > >From: Somnath Kotur > >Sent: Thursday, January 7, 2021 2:32 PM > >To: Xueming(Steven) Li > >Cc: NBU-Contact-Thomas Monjalon ; Ferruh Yigit > >;

Re: [dpdk-dev] [PATCH v2 1/9] ethdev: refactor representor infrastructure

2021-01-07 Thread Somnath Kotur
On Wed, Jan 6, 2021 at 9:48 PM Xueming Li wrote: > > To support extended representor syntax, this patch refactor represntor Typo in 'representor' > infrastructure: > 1. introduces representor type enum > 2. devargs representor port range extraction from partial value > > Signed-off-by: Xueming Li

[dpdk-dev] [PATCH] net/bnxt: code refactoring changes

2021-01-05 Thread Somnath Kotur
confusion with some of the other bnxt_init_xxx routines. Rename bnxt_init_fw() to bnxt_get_config() as that is what that routine is doing mostly functionality wise. Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 150 +++-- 1 file c

[dpdk-dev] [PATCH 2/3] net/bnxt: fix error path handling of dev start op

2020-12-24 Thread Somnath Kotur
Call bnxt_dev_stop in error path of bnxt_dev_start_op() to keep it simple and consistent Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations") Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 144 - 1 file c

[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
adapter is in the middle of recovery when dev_stop or dev_close ops are invoked Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 5 drivers/net/bnxt/bnxt_cpr.c| 2 ++ drivers/net/bnxt/bnxt_ethdev.c | 49 +- 3 files changed, 49 insertions

[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
the driver. Fixes: 1cb3d39a48f7 ("net/bnxt: synchronize between flow related functions") Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/net/bnxt/bnxt_

[dpdk-dev] [PATCH v2 0/3] bnxt patches

2020-12-24 Thread Somnath Kotur
A couple of bnxt PMD fixes and an enhancement Somnath Kotur (3): net/bnxt: fix to init/destroy locks only once net/bnxt: fix error path handling of dev start op net/bnxt: check for chip reset in dev stop/close ops drivers/net/bnxt/bnxt.h| 5 + drivers/net/bnxt/bnxt_cpr.c

[dpdk-dev] [PATCH 2/3] net/bnxt: fix error path handling of dev start op

2020-12-24 Thread Somnath Kotur
Call bnxt_dev_stop in error path of bnxt_dev_start_op() to keep it simple and consistent Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations") Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 144 - 1 file c

[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
the driver. Fixes: 1cb3d39a48f7 ("net/bnxt: synchronize between flow related functions") Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/net/bnxt/bnxt_

[dpdk-dev] [PATCH v2 0/3] bnxt patches

2020-12-24 Thread Somnath Kotur
A couple of bnxt PMD fixes and an enhancement Somnath Kotur (3): net/bnxt: fix to init/destroy locks only once net/bnxt: fix error path handling of dev start op net/bnxt: check for chip reset in dev stop/close ops drivers/net/bnxt/bnxt.h| 5 + drivers/net/bnxt/bnxt_cpr.c

[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
adapter is in the middle of recovery when dev_stop or dev_close ops are invoked Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 5 drivers/net/bnxt/bnxt_cpr.c| 2 ++ drivers/net/bnxt/bnxt_ethdev.c | 49 +- 3 files changed, 49 insertions

[dpdk-dev] [PATCH 2/3] net/bnxt: fix error path handling of dev start op

2020-12-24 Thread Somnath Kotur
Call bnxt_dev_stop in error path of bnxt_dev_start_op() to keep it simple and consistent Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 144 ---

[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
adapter is in the middle of recovery when dev_stop or dev_close ops are invoked Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 5 drivers/net/bnxt/bnxt_cpr.c| 2 ++ drivers/net/bnxt/bnxt_ethdev.c | 49 +- 3 files changed, 49 insertions

[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
the driver. Fixes: 1cb3d39a48f7 ("net/bnxt: synchronize between flow related functions") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/driver

[dpdk-dev] [PATCH 0/3] bnxt patches

2020-12-24 Thread Somnath Kotur
Some fixes and enchancements in the core bnxt PMD Somnath Kotur (3): net/bnxt: fix to init/destroy locks only once net/bnxt: fix error path handling of dev start op net/bnxt: check for chip reset in dev stop/close ops drivers/net/bnxt/bnxt.h| 5 + drivers/net/bnxt/bnxt_cpr.c

[dpdk-dev] [PATCH] net/bnxt: use FUNC_QCFG cmd to retrieve allocated resources for PF

2020-12-04 Thread Somnath Kotur
APs or any other cmd in dev_configure_op() as that would just override the actual max values obtained above. Fixes: f8168ca0e69 ("net/bnxt: support thor controller") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 7 --- drivers/net/bnx

[dpdk-dev] [PATCH 2/2] net/bnxt: pass dev args by reference

2020-10-30 Thread Somnath Kotur
Pass 'eth_da' pointer instead of pass by value to bnxt_rep_port_probe() Coverity issue: 360841 Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh Anakkur Purayil --- drivers/net/bnx

[dpdk-dev] [PATCH 1/2] net/bnxt: log failure for switch domain free

2020-10-30 Thread Somnath Kotur
Check and log an error message if switch domain free API fails Coverity issue: 362757 Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Kalesh Anakkur Purayil --- drivers/net/bnxt/bnxt_eth

[dpdk-dev] [PATCH] net/bnxt: cleanup and fixes in Rx/Tx queue release ops

2020-10-20 Thread Somnath Kotur
() Fixes: 6133f207970c ("net/bnxt: add Rx queue create/destroy") Fixes: 51c87ebafc7d ("net/bnxt: add Tx queue create/destroy") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_rxq.c | 44 +++- drivers/net/

Re: [dpdk-dev] [PATCH v8 05/18] net/bnxt: add checks for max SIMD bitwidth

2020-10-16 Thread Somnath Kotur
On Fri, Oct 16, 2020 at 1:43 PM Ciara Power wrote: > > When choosing a vector path to take, an extra condition must be > satisfied to ensure the max SIMD bitwidth allows for the CPU enabled > path. > > Cc: Ajit Khaparde > Cc: Somnath Kotur > > Signed-off-by: Ciara P

[dpdk-dev] [PATCH 12/13] net/bnxt: add support for parent child flow create and free

2020-10-09 Thread Somnath Kotur
From: Kishore Padmanabha Added support in the ulp mapper to enable parent child flow creation and destroy. This feature enables support for the vxlan decap functionality Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom --- drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 177

[dpdk-dev] [PATCH 13/13] net/bnxt: remove parent fid validation in vnic change event processing

2020-10-09 Thread Somnath Kotur
org Signed-off-by: Venkat Duvvuru Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_cpr.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/bnxt/bnxt_cpr.c b/drivers/net/bnxt/bnxt_cpr.c index 5492394..91d1ffe 100644 --- a/drivers/net/bnxt/bnxt_cpr.c +++ b/d

[dpdk-dev] [PATCH 11/13] net/bnxt: remove flow db table type from templates

2020-10-09 Thread Somnath Kotur
From: Mike Baucom FDB type is now driven by the caller, not the template. Signed-off-by: Mike Baucom Reviewed-by: Ajit Kumar Khaparde Reviewed-by: Kishore Padmanabha --- .../net/bnxt/tf_ulp/ulp_template_db_stingray_act.c | 18 ++ .../bnxt/tf_ulp/ulp_template_db_stingray_class.c | 69 ++

[dpdk-dev] [PATCH 10/13] net/bnxt: consolidate template table processing

2020-10-09 Thread Somnath Kotur
From: Mike Baucom Name changes due to consolidating the template table processing. - chip before type in name - removal of class in key field info Signed-off-by: Mike Baucom Reviewed-by: Ajit Kumar Khaparde Reviewed-by: Kishore Padmanabha --- drivers/net/bnxt/tf_ulp/ulp_mapper.c

[dpdk-dev] [PATCH 09/13] net/bnxt: add support for parent child flow database

2020-10-09 Thread Somnath Kotur
From: Kishore Padmanabha Added support for parent child flow database apis. This feature adds support to enable vxlan decap support where flows needs to maintain parent-child flow relationship. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom --- drivers/net/bnxt/tf_ulp/ulp_flow_

[dpdk-dev] [PATCH 06/13] net/bnxt: combine default and regular flows in flow database

2020-10-09 Thread Somnath Kotur
From: Kishore Padmanabha The default and regular flows are stored in the same flow table instead of different flow tables. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 2 +- drivers/net/bnxt/tf_

[dpdk-dev] [PATCH 07/13] net/bnxt: register PF for default vnic change async event

2020-10-09 Thread Somnath Kotur
From: Venkat Duvvuru Currently, we are only registering to this event if the function is a trusted VF. This patch extends it for PFs as well. Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") Cc: sta...@dpdk.org Signed-off-by: Venkat Duvvuru Reviewed-by: Som

[dpdk-dev] [PATCH 04/13] net/bnxt: fixes for PMD PF support in SR-IOV mode

2020-10-09 Thread Somnath Kotur
Venkat Duvvuru Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 6 +- drivers/net/bnxt/bnxt_cpr.c| 6 +- drivers/net/bnxt/bnxt_ethdev.c | 40 +--- drivers/net/bnxt/bnxt_hwrm.c | 458 + drivers/net/bnxt/bnxt_hwrm.h | 12 +- 5 fil

[dpdk-dev] [PATCH 05/13] net/bnxt: consolidate template table processing

2020-10-09 Thread Somnath Kotur
From: Mike Baucom The table processing has been consolidated to be able to reuse the same code for action and classification template processing. Signed-off-by: Mike Baucom Reviewed-by: Kishore Padmanabha --- drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c| 1 + drivers/net/bnxt/tf_ulp/

[dpdk-dev] [PATCH 01/13] net/bnxt: fix the corruption of the session details

2020-10-09 Thread Somnath Kotur
From: Kishore Padmanabha The session details that is shared among multiple ports need to be outside the bnxt structure. Fixes: 70e64b27af5b ("net/bnxt: support ULP session manager cleanup") Cc: sta...@dpdk.org Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Reviewed-by: Ajit Kum

[dpdk-dev] [PATCH 00/13] bnxt patches

2020-10-09 Thread Somnath Kotur
Fixes and enchancements in the bnxt PMD, mostly in the TRUFLOW layer, including templates support for another chip Kishore Padmanabha (4): net/bnxt: fix the corruption of the session details net/bnxt: combine default and regular flows in flow database net/bnxt: add support for parent child f

Re: [dpdk-dev] [PATCH 5/8] net/bnxt: add a null ptr check in bnxt PCI probe

2020-09-25 Thread Somnath Kotur
On Fri, Sep 25, 2020 at 4:16 PM Somnath Kotur wrote: > > On Fri, Sep 25, 2020 at 2:12 PM Ferruh Yigit wrote: > > > > On 9/25/2020 3:04 AM, Somnath Kotur wrote: > > > On Thu, Sep 24, 2020 at 8:17 PM Ferruh Yigit > > > wrote: > > >> > > >&

[dpdk-dev] [PATCH v2] net/bnxt: add a check in bnxt PCI probe

2020-09-25 Thread Somnath Kotur
Check for num_rep before invoking rep port probe. Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru --- v2: Check against num_rep instead of devargs ptr drivers/net/bnxt/bnxt_ethdev.c | 4 1 file

Re: [dpdk-dev] [PATCH 5/8] net/bnxt: add a null ptr check in bnxt PCI probe

2020-09-25 Thread Somnath Kotur
On Fri, Sep 25, 2020 at 2:12 PM Ferruh Yigit wrote: > > On 9/25/2020 3:04 AM, Somnath Kotur wrote: > > On Thu, Sep 24, 2020 at 8:17 PM Ferruh Yigit wrote: > >> > >> On 9/22/2020 8:06 AM, Somnath Kotur wrote: > >>> Check for devargs before invoking rep p

[dpdk-dev] [PATCH v2] net/bnxt: add a check in bnxt PCI probe

2020-09-25 Thread Somnath Kotur
Check for num_rep before invoking rep port probe. Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru --- v2: Check against num_rep instead of devargs ptr drivers/net/bnxt/bnxt_ethdev.c | 4 1 file

Re: [dpdk-dev] [PATCH 5/8] net/bnxt: add a null ptr check in bnxt PCI probe

2020-09-24 Thread Somnath Kotur
On Thu, Sep 24, 2020 at 8:17 PM Ferruh Yigit wrote: > > On 9/22/2020 8:06 AM, Somnath Kotur wrote: > > Check for devargs before invoking rep port probe. > > > > Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") > > > > Signed-

[dpdk-dev] [PATCH 8/8] net/bnxt: fix seg fault during NAT configuration

2020-09-22 Thread Somnath Kotur
From: Kishore Padmanabha Initialize the global parms structure to avoid seg fault in the truflow global configuration set api. Fixes: 0a58be6f7c1e ("net/bnxt: add access to NAT global register") Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Reviewed-by: Ajit Kumar Khaparde --

[dpdk-dev] [PATCH 6/8] net/bnxt: support for representors on remote host domain

2020-09-22 Thread Somnath Kotur
=8, rep-is-pf=1,rep-q-r2f=1,rep-fc-r2f=0,rep-q-f2r=1,rep-fc-f2r=1 Also, Call CFA_PAIR_ALLOC only in case of Stingray instead of CFA_VFR_ALLOC Signed-off-by: Somnath Kotur Reviewed-by: Michael Baucom Reviewed-by: Venkat Duvvuru --- drivers/net/bnxt/bnxt.h | 21 +- drivers/net

[dpdk-dev] [PATCH 1/8] net/bnxt: add support for decap action for ipv6 VXLAN flows

2020-09-22 Thread Somnath Kotur
From: Kishore Padmanabha Add a template to support ipv6 VXLAN flows to enable support for vxlan decap for those flows. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom --- drivers/net/bnxt/tf_ulp/ulp_template_db_class.c | 1206 +++ drivers/net/bnxt/tf_ulp/ulp_

[dpdk-dev] [PATCH 7/8] net/bnxt: fix flow match to ignore pkt type

2020-09-22 Thread Somnath Kotur
From: Kishore Padmanabha The pkt_type field in the profile tcam table needs to be ignored and should not be set to normal packet type. The pkt_type for the packets that are segmented due to transmit segment offload feature in the driver are not marked as normal pkt_type and this shall result in p

[dpdk-dev] [PATCH 4/8] net/bnxt: fix to honor value passed for truflow devargs

2020-09-22 Thread Somnath Kotur
Set the TRUFLOW Enable bit in bp->flags only if the value passed in devargs was 1. Fixes: 313ac35ac701 ("net/bnxt: support ULP session manager init") Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru Reviewed-by: Michael Baucom Reviewed-by: Ajit Kumar Khaparde --- dri

[dpdk-dev] [PATCH 5/8] net/bnxt: add a null ptr check in bnxt PCI probe

2020-09-22 Thread Somnath Kotur
Check for devargs before invoking rep port probe. Fixes: 6dc83230b43b ("net/bnxt: support port representor data path") Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru --- drivers/net/bnxt/bnxt_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/driver

[dpdk-dev] [PATCH 2/8] net/bnxt: simplify representor Rx ring creation

2020-09-22 Thread Somnath Kotur
ring Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru --- drivers/net/bnxt/bnxt_reps.c | 33 + 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/drivers/net/bnxt/bnxt_reps.c b/drivers/net/bnxt/bnxt_reps.c index 17010f1..d4d0a9e 100644 --- a

[dpdk-dev] [PATCH 3/8] net/bnxt: fix to correct bad shift operation

2020-09-22 Thread Somnath Kotur
or to properly allocate resources for PF/VF") Cc: sta...@dpdk.org Signed-off-by: Somnath Kotur Reviewed-by: Venkat Duvvuru Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/d

[dpdk-dev] [PATCH 0/8] bnxt patches

2020-09-22 Thread Somnath Kotur
Fixes and enchancements in the bnxt PMD, mostly in the TRUFLOW layer Kishore Padmanabha (3): net/bnxt: add support for decap action for ipv6 VXLAN flows net/bnxt: fix flow match to ignore pkt type net/bnxt: fix seg fault during NAT configuration Somnath Kotur (5): net/bnxt: simplify

[dpdk-dev] [PATCH] net/bnxt: fix to not bring link down during reset recovery

2020-09-21 Thread Somnath Kotur
: df6cd7c1f73a ("net/bnxt: handle reset notify async event from FW") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/driver

Re: [dpdk-dev] [PATCH] net/bnxt: fix compilation error on Redhat 8

2020-09-18 Thread Somnath Kotur
ype > [-Werror=type-limits] > for (port_id = 0; port_id < RTE_MAX_ETHPORTS; port_id++) { > ^ > > Fixes: 769de16872ab9 ('net/bnxt: fix port default rule create/destroy') > Cc: Ajit Khaparde > Cc: Somnath Kotur > > Signed-off

[dpdk-dev] [PATCH] net/bnxt: fixes in flow counter mgr

2020-08-03 Thread Somnath Kotur
id entries instead of active entries as the active entry can be in any slot in the table. This is a critical fix for OVS-DPDK flow aging. Fixes: 306c2d28e247 ("net/bnxt: support count action in flow query") Reviewed-by: Venkat Duvvuru Signed-off-by: Somnath Kotur --- drivers/net/bnxt

[dpdk-dev] [PATCH] net/bnxt: update resource allocation settings

2020-08-03 Thread Somnath Kotur
From: Shahaji Bhosle Adjusted resource allocations for the hardware resources like TCAM entries, action records, stat counters, exact match records to scale up offload flows. Also increased ipv4 nat entries to 1023. This patch is a critical fix to enable driver load on current and all FW versions

Re: [dpdk-dev] [RFC v2 2/2] app/testpmd: support malloc and free tracking log

2020-07-30 Thread Somnath Kotur
On Thu, Jul 30, 2020 at 8:43 PM Xueming(Steven) Li wrote: > > Hi Som, > > > -Original Message- > > From: Somnath Kotur > > Sent: Thursday, July 30, 2020 11:10 PM > > To: Iremonger, Bernard > > Cc: Xueming(Steven) Li ; Burakov, Anatoly > >

Re: [dpdk-dev] [RFC v2 2/2] app/testpmd: support malloc and free tracking log

2020-07-30 Thread Somnath Kotur
On Tue, Apr 21, 2020 at 7:11 PM Iremonger, Bernard wrote: > > > -Original Message- > > From: dev On Behalf Of Xueming Li > > Sent: Friday, April 17, 2020 9:04 AM > > To: Burakov, Anatoly ; Yigit, Ferruh > > ; Stephen Hemminger > > > > Cc: dev@dpdk.org; Asaf Penso > > Subject: [dpdk-dev]

[dpdk-dev] [PATCH 4/4] net/bnxt: fix vfrep port add when it's endpoint interface is down

2020-07-29 Thread Somnath Kotur
infrastructure") Signed-off-by: Venkat Duvvuru Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 21 + drivers/net/bnxt/bnxt_cpr.c| 51 ++ drivers/net/bnxt/bnxt_ethdev.c | 12 +++- drivers/net/bnxt/bnxt_hwrm.c | 4 +++

  1   2   3   4   5   6   >