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: 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: [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

[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 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..

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 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 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 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 > >

[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-

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 >

[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

[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 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: 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 +++

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

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

[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

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 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 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: [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: [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 { > -

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 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 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 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 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] 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 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 >

[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

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 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

[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 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 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 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] 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

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: [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 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

[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 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

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 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

[dpdk-dev] [PATCH 5/7] pci: support multiple PCI regions per device

2013-06-18 Thread somnath kotur
Hi Any idea on the ETA for this patch? I'm presuming it's all good to be pulled into the mainline otherwise? Thanks Som On Thu, Jun 6, 2013 at 3:03 AM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Wed, 05 Jun 2013 20:05:15 +0200 > Damien Millescamps wrote: > > > On 06/05/201

[dpdk-dev] using pci_alloc_consistent/dma_alloc_coherent in the PMD driver

2013-06-25 Thread somnath kotur
Hi, What's the best approach to go about this ? Try and roll out user space equivalents of the above calls (to issue mailbox commands to configure the H/W- another 10G NIC ) OR Use kernel memory allocated in the UIO Driver and mmap it in the PMD/usermode driver ? Pls advise or offer any sugges

[dpdk-dev] plumbing say test-pmd for non-Intel NICs(drivers)

2013-05-29 Thread somnath kotur
Hi, Pls pardon me if this has been asked/addressed in another thread. Just wanted to know what i need to do if i wanted to plumb my non-Intel 10G NIC into the DPDK , For instance just into the test-pmd framework would also be fine ? Any pointers /tips welcome? Thanks Som -- next part

[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] Question about rte_manage_timer() and eal_intr_handle_interrupts

2018-11-01 Thread Somnath Kotur
Hello, I'm trying to launch a thread - lcore_mainloop( from examples/timer/main.c ) that runs rte_manage_timer() every 2s from testpmd to ensure the timers i've registered in my driver are checked for expiry ( i even tried putting this thread in my driver as well, no difference in results

[dpdk-dev] Question about rte_manage_timer() and eal_intr_handle_interrupts

2018-11-01 Thread Somnath Kotur
On Fri, Nov 2, 2018 at 9:30 AM Somnath Kotur wrote: > Hello, >I'm trying to launch a thread - lcore_mainloop( from > examples/timer/main.c ) that runs rte_manage_timer() every 2s from testpmd > to ensure the timers i've registered in my driver are checked for ex

Re: [dpdk-dev] Question about rte_manage_timer() and eal_intr_handle_interrupts

2018-11-02 Thread Somnath Kotur
Thank you Anatoly and keith for your replies. What i still don't get is why the two cannot seem to co-exist? That is , whenever this while loop was running in the EAL thread that i showed in the code, my driver would stop receiving interrupts/async events ...Do we understand that? But you are righ

Re: [dpdk-dev] Question about rte_manage_timer() and eal_intr_handle_interrupts

2018-11-02 Thread Somnath Kotur
t was before with rte_timer_manage() as well. What is going wrong here ? Something we are missing ? Thanks Som On Sat, Nov 3, 2018 at 8:06 AM Somnath Kotur wrote: > Thank you Anatoly and keith for your replies. What i still don't get is > why the two cannot seem to co-exist? > That

Re: [dpdk-dev] Question about rte_manage_timer() and eal_intr_handle_interrupts

2018-11-03 Thread Somnath Kotur
/interrupts arriving on my driver Thanks Som On Sat, Nov 3, 2018 at 9:58 AM Somnath Kotur wrote: > Hi Anatoly/keith, > I just tried using rte_eal_alarm_set() in the driver > like so: > > rte_eal_alarm_set(US_PER_S * 2, timer0_cb, (void *)data); > > Th

Re: [dpdk-dev] [RFC v2] ethdev: support metadata as flow rule criteria

2018-08-29 Thread Somnath Kotur
Hi Dekel, Could you please show with an example i.e how the corresponding 'flow create' cmd will look like in testpmd? Also I'm guessing you would need to change the cmdline_parser logic in testpmd application as well to recognize this new rte_flow_item? Thanks Som On Wed, Aug 29, 2018 at

Re: [dpdk-dev] [PATCH] net/bnxt: Fix bug with duplicate filter pattern for flow director

2018-03-22 Thread Somnath Kotur
Hi Ferruh, On Fri, Mar 23, 2018 at 12:16 AM, Ferruh Yigit wrote: > On 2/22/2018 2:58 AM, Somnath Kotur wrote: > > Please start with lowercase after "net/bnxt: fix" > > > When user reissues same flow director cmd with a different queue > > update the existing

Re: [dpdk-dev] [PATCH] net/bnxt: Fix bug with duplicate filter pattern for flow director

2018-03-23 Thread Somnath Kotur
On Fri, Mar 23, 2018 at 4:11 PM, Ferruh Yigit wrote: > On 3/23/2018 3:34 AM, Somnath Kotur wrote: > > Hi Ferruh, > > > > > > On Fri, Mar 23, 2018 at 12:16 AM, Ferruh Yigit > <mailto:ferruh.yi...@intel.com>> wrote: > > > > On 2/22/2018 2:5

[dpdk-dev] [PATCH] net/bnxt: fix flow director with same cmd different queue

2018-03-23 Thread Somnath Kotur
Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 46 -- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 21c46f8..0b21653 100644 --- a/drivers/net/bnxt/bnx

[dpdk-dev] [PATCH v2] net/bnxt: fix flow director with same cmd different queue

2018-03-25 Thread Somnath Kotur
Signed-off-by: Somnath Kotur --- v2: * Trimmed the subject line. * Removed some redundant comments in the code drivers/net/bnxt/bnxt_ethdev.c | 46 -- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/driver

[dpdk-dev] [PATCH] net/bnxt: Support time_sync related APIs

2017-11-30 Thread Somnath Kotur
Implemented the 'time_sync' related APIs for supporting PTP. Defined new FW structs, opcodes and cmds for the same. Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 49 +++ drivers/net/bnxt/bnxt_ethdev.c | 245 - d

[dpdk-dev] [PATCH v2] bnxt: Support time_sync related APIs

2017-12-04 Thread Somnath Kotur
Implemented the 'time_sync' related APIs for supporting the PTP protocol. Signed-off-by: Somnath Kotur --- v2 Changes - Updated bnxt.ini to announce 'timesync' feature - Added code to correctly detect PTP in the pkt and set corresponding ol_flags for PTP in Rx path doc/

Re: [dpdk-dev] [PATCH] net/bnxt: Support time_sync related APIs

2017-12-04 Thread Somnath Kotur
Thank you for your comments Ferruh! Hope i got it right this time Thanks Som On Tue, Dec 5, 2017 at 5:35 AM, Ferruh Yigit wrote: > On 12/4/2017 4:03 PM, Ferruh Yigit wrote: >> On 11/30/2017 12:13 AM, Somnath Kotur wrote: >>> Implemented the 'time_sync' rel

[dpdk-dev] [PATCH v3] bnxt: Support time_sync related APIs

2017-12-04 Thread Somnath Kotur
Implemented the 'time_sync' related APIs for supporting the PTP protocol. Signed-off-by: Somnath Kotur --- v3 Changes - Initialize the time counters correctly during timesync_enable - Use correct flag to check for PTP in Rx completion v2 Changes - Updated bnxt.ini to announce 'ti

[dpdk-dev] [PATCH] bnxt: Fix to set timestamp flag as well in the offload flags for the recieved pkt in case of PTP offload

2018-01-31 Thread Somnath Kotur
Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_rxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c index 82c93d6..430990d 100644 --- a/drivers/net/bnxt/bnxt_rxr.c +++ b/drivers/net/bnxt/bnxt_rxr.c @@ -459,7

Re: [dpdk-dev] [PATCH] bnxt: Fix to set timestamp flag as well in the offload flags for the recieved pkt in case of PTP offload

2018-02-01 Thread Somnath Kotur
Sure , will do a response Thanks Som On Feb 1, 2018 8:54 PM, "Ferruh Yigit" wrote: > On 2/1/2018 5:09 AM, Somnath Kotur wrote: > > Hi Somnath, > > Can you please keep patch title brief (around 50 characters) and put more > content in commit log? > &

[dpdk-dev] [PATCH v2] net/bnxt: Fix to set timestamp flag

2018-02-01 Thread Somnath Kotur
The timestamp flag needed to be set in the offload flags for the recieved pkt in case of PTP offload Signed-off-by: Somnath Kotur --- v1->v2: Trimmed subject line and added content in commit log drivers/net/bnxt/bnxt_rxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[dpdk-dev] [PATCH v2] net/bnxt: Fix to set timestamp flag

2018-02-01 Thread Somnath Kotur
The timestamp flag needed to be set in the offload flags for the received pkt in case of PTP offload Signed-off-by: Somnath Kotur --- v1->v2: Trimmed subject line and added content in commit log drivers/net/bnxt/bnxt_rxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[dpdk-dev] [PATCH v3] net/bnxt: Fix to set timestamp flag

2018-02-05 Thread Somnath Kotur
The timestamp flag needs to be set in the offload flags for the received pkt in case of PTP offload. Fixes: b11cceb83a34 ("net/bnxt: support timesync") Cc: somnath.ko...@broadcom.com Signed-off-by: Somnath Kotur --- v2->v3: Added the 'fixes commit line' v1->v2: Trim

[dpdk-dev] [PATCH] bnxt: Fix bug with duplicate pattern for 5tuple filter

2018-02-21 Thread Somnath Kotur
the filter in the scenario where there is a pattern match and only the destination queue varies. Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/d

Re: [dpdk-dev] [PATCH] bnxt: Fix bug with duplicate pattern for 5tuple filter

2018-02-21 Thread Somnath Kotur
Ferruh, Sorry, please ignore this patch, think i re-sent an old one by mistake, sent out the new one now Thanks Som On Wed, Feb 21, 2018 at 4:09 PM, Somnath Kotur wrote: > When user re-issues same 5 tuple filter pattern cmd with different > destination queue, it would flag

[dpdk-dev] [PATCH] net/bnxt: Fix bug with duplicate filter pattern for flow director

2018-02-21 Thread Somnath Kotur
When user reissues same flow director cmd with a different queue update the existing filter to redirect flow to the new desired queue as destination just like the other filters like 5 tuple and generic flow. Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 45

Re: [dpdk-dev] [PATCH 2/2] net/bnxt: suppress supprious error log

2019-03-14 Thread Somnath Kotur
PMD_DRV_LOG(DEBUG, "pools = %u nb_q_per_grp = %u\n", > + pools, nb_q_per_grp); > start_grp_id = 0; > end_grp_id = nb_q_per_grp; > > -- > 2.17.1 > Acked-by: Somnath Kotur (somnath.ko...@broadcom.com

[dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2019-12-15 Thread Somnath Kotur
in mbuf->vlan_tci_outer. Only When both PKT_RX_QINQ_STRIPPED and PKT_RX_VLAN_STRIPPED are set, the 2 vlans have been stripped by the hardware and their tci are saved in mbuf->vlan_tci (inner) and mbuf->vlan_tci_outer (outer). Signed-off-by: Somnath Kotur Signed-off-by: JP Lee

Re: [dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2019-12-16 Thread Somnath Kotur
On Mon, Dec 16, 2019 at 12:01 PM Andrew Rybchenko wrote: > > On 12/16/19 6:16 AM, Somnath Kotur wrote: > > Certain hardware may be able to strip and/or save only the outermost > > VLAN instead of both the VLANs in the mbuf in a QinQ scenario. > > To handle such case

[dpdk-dev] [PATCH 2/6] net/bnxt: fix to use first valid profile if lossy profile not found

2019-12-16 Thread Somnath Kotur
is better to fallback to using the first valid profile. Fixes: 698aa7e95 ("net/bnxt: add code to determine the Tx COS queue") Signed-off-by: Somnath Kotur Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 44 driver

[dpdk-dev] [PATCH 0/6] bnxt patchset

2019-12-16 Thread Somnath Kotur
Please apply. Santoshkumar Karanappa Rastapur (2): net/bnxt: fix link failure during port toggle by increasing link wait time net/bnxt: fix non matching flow hitting filter rule Somnath Kotur (4): net/bnxt: fix to use first valid profile if lossy profile not found net/bnxt: fix flow

[dpdk-dev] [PATCH 1/6] net/bnxt: fix link failure during port toggle by increasing link wait time

2019-12-16 Thread Somnath Kotur
: Somnath Kotur Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt.h| 10 ++ drivers/net/bnxt/bnxt_cpr.c| 2 +- drivers/net/bnxt/bnxt_ethdev.c | 18 +- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net

[dpdk-dev] [PATCH 4/6] net/bnxt: fix non matching flow hitting filter rule

2019-12-16 Thread Somnath Kotur
will be set while creating the ntuple filter in hardware. Signed-off-by: Santoshkumar Karanappa Rastapur Reviewed-by: Somnath Kotur Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_flow.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt

[dpdk-dev] [PATCH 3/6] net/bnxt: fix flow flush to sync with flow destroy routine

2019-12-16 Thread Somnath Kotur
filter that would have been created as part of an n-tuple filter. Also, decrement the l2_ref_cnt for a filter in the case of a filter update as it would've bumped up previously in validate_and_parse_flow() Fixes: a0800839 ("net/bnxt: handle flow flush handling") Signed-off-by: Somnath

[dpdk-dev] [PATCH 5/6] net/bnxt: fix to keep the L2 filter intact so it can be reused

2019-12-16 Thread Somnath Kotur
y references") Signed-off-by: Somnath Kotur Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_filter.h | 4 drivers/net/bnxt/bnxt_flow.c | 20 +--- drivers/net/bnxt/bnxt_hwrm.c | 14 +- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git

[dpdk-dev] [PATCH 6/6] net/bnxt: fix to free l2 filters while clearing vnic flows/filters

2019-12-16 Thread Somnath Kotur
Now that L2 filters can be re-used for an n-tuple filter(s), delete L2 filter as well so the reference count of an L2 filter (if reused) can be decremented appropriately. Fixes: 0ba82dee ("net/bnxt: fix to check for L2 filters that doesn't have any references") Signed-off-by

Re: [dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2019-12-23 Thread Somnath Kotur
Given that we haven't heard any objection from anyone in a while on this ...can we get this in please? Thanks On Mon, Dec 16, 2019 at 2:43 PM Andrew Rybchenko wrote: > > On 12/16/19 11:47 AM, Somnath Kotur wrote: > > On Mon, Dec 16, 2019 at 12:01 PM Andrew Rybchenko > >

Re: [dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2019-12-30 Thread Somnath Kotur
On Fri, Dec 27, 2019 at 8:20 PM Olivier Matz wrote: > > Hi, > > On Tue, Dec 24, 2019 at 12:53:21PM +0300, Andrew Rybchenko wrote: > > On 12/24/19 6:16 AM, Somnath Kotur wrote: > > > Given that we haven't heard any objection from anyone in a while on > &g

Re: [dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2019-12-30 Thread Somnath Kotur
Andrew, On Tue, Dec 24, 2019 at 3:23 PM Andrew Rybchenko wrote: > > On 12/24/19 6:16 AM, Somnath Kotur wrote: > > Given that we haven't heard any objection from anyone in a while on > > this ...can we get this in please? > > I'm sorry, but ha

[dpdk-dev] [PATCH] mbuf: fix to update documentation of QinQ stripped bit interpretation

2020-01-06 Thread Somnath Kotur
->vlan_tci_outer. Only When both PKT_RX_QINQ_STRIPPED and PKT_RX_VLAN_STRIPPED are set, the 2 VLANs have been stripped by the hardware and their TCI are saved in mbuf->vlan_tci (inner) and mbuf->vlan_tci_outer (outer). Signed-off-by: Somnath Kotur --- lib/librte_mbuf/rte_mbuf_co

Re: [dpdk-dev] [RFC PATCH] mbuf: fix to update documentation of PKT_RX_QINQ_STRIPPED

2020-01-06 Thread Somnath Kotur
On Thu, Jan 2, 2020 at 6:35 PM Andrew Rybchenko wrote: > > Somnath, > > On 12/31/19 5:15 AM, Somnath Kotur wrote: > > Andrew, > > > > On Tue, Dec 24, 2019 at 3:23 PM Andrew Rybchenko > > wrote: > >> On 12/24/19 6:16 AM, Somnath Kotur wrote: > &g

Re: [dpdk-dev] [PATCH v3 09/10] net/bnxt: release port upon close

2020-01-14 Thread Somnath Kotur
Ferruh, Will recheck and revert on Thanks Som On Tue, 14 Jan 2020, 18:26 Ferruh Yigit, wrote: > On 1/14/2020 5:14 AM, Ajit Khaparde wrote: > > From: Somnath Kotur > > > > Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources > > for the port can be

Re: [dpdk-dev] [PATCH v3 09/10] net/bnxt: release port upon close

2020-01-16 Thread Somnath Kotur
Ferruh, On Thu, 16 Jan 2020, 16:50 Ferruh Yigit, wrote: > On 1/14/2020 2:49 PM, Somnath Kotur wrote: > > Ferruh, > > Will recheck and revert on > > Hi Ajit, > > this is blocking the next-net-brcm tree to be pulled. Would you want to > drop > this patch from

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

2020-07-06 Thread Somnath Kotur
action items net/bnxt: use VF vnic when port action is for a VF rep port Somnath Kotur (2): net/bnxt: enable flow ctrl ops for the VF-rep device net/bnxt: use byte/pkt count shift/masks from the device template drivers/net/bnxt/bnxt.h|5 + drivers/net/bnxt

[dpdk-dev] [PATCH 01/20] net/bnxt: vxlan encap and decap with src property enabled

2020-07-06 Thread Somnath Kotur
From: Kishore Padmanabha The vxlan encap and decap flows need to allocate the source record property and populate the action fields during the flow parsing. Signed-off-by: Kishore Padmanabha Reviewed-by: Ajit Kumar Khaparde Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru

[dpdk-dev] [PATCH 05/20] net/bnxt: add support for index opcode constant

2020-07-06 Thread Somnath Kotur
From: Kishore Padmanabha Add support for index opcode constant so that parif configuration could be constant value. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp/ulp_def_rules.c

[dpdk-dev] [PATCH 02/20] net/bnxt: add support vlan header bitmap

2020-07-06 Thread Somnath Kotur
From: Kishore Padmanabha Add support for the vlan headers in the matching of the flow patterns. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 20 +++--- drivers

[dpdk-dev] [PATCH 07/20] nxt/bnxt: added HWRM support for global cfg

2020-07-06 Thread Somnath Kotur
From: Jay Ding Change global cfg from tunneled to non-tunneled HWRM cmds. Signed-off-by: Jay Ding Reviewed-by: Michael Wildt Reviewed-by: Peter Spreadborough Reviewed-by: Randy Schacher Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_core/tf_msg.c | 43

[dpdk-dev] [PATCH 04/20] net/bnxt: add validations to dpdk port id and phy port parsing

2020-07-06 Thread Somnath Kotur
From: Kishore Padmanabha Added validations to the ulp parser to validate the dpdk port id and phy port index during the flow creation. Signed-off-by: Kishore Padmanabha Reviewed-by: Michael Baucom Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp

[dpdk-dev] [PATCH 03/20] net/bnxt: add support for negative conditional opcodes

2020-07-06 Thread Somnath Kotur
From: Kishore Padmanabha Added support for negative conditional opcodes in the mapper processing. Signed-off-by: Kishore Padmanabha Reviewed-by: Ajit Kumar Khaparde Reviewed-by: Michael Baucom Signed-off-by: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp

[dpdk-dev] [PATCH 08/20] net/bnxt: cleanup and refactoring

2020-07-06 Thread Somnath Kotur
Reviewed-by: Ajit Kumar Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/tf_core/tf_em_host.c | 2 +- drivers/net/bnxt/tf_core/tf_msg.c | 75 +-- drivers/net/bnxt/tf_core/tf_session.c | 8 drivers/net/bnxt/tf_ulp/bnxt_ulp.c| 2 +- drivers/net

[dpdk-dev] [PATCH 11/20] net/bnxt: fix vxlan outer ip protocol id encapsulation

2020-07-06 Thread Somnath Kotur
: Somnath Kotur Signed-off-by: Venkat Duvvuru --- drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c b/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c index b4bf431..2e310e0 100644 --- a/drivers

  1   2   3   4   5   6   >