DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/8] bnxt patches
@ 2020-09-22  7:06 Somnath Kotur
  2020-09-22  7:06 ` [dpdk-dev] [PATCH 1/8] net/bnxt: add support for decap action for ipv6 VXLAN flows Somnath Kotur
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Somnath Kotur @ 2020-09-22  7:06 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, 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 representor Rx ring creation
  net/bnxt: fix to correct bad shift operation
  net/bnxt: fix to honor value passed for truflow devargs
  net/bnxt: add a null ptr check in bnxt PCI probe
  net/bnxt: support for representors on remote host domain

 drivers/net/bnxt/bnxt.h                         |   21 +-
 drivers/net/bnxt/bnxt_cpr.c                     |    4 +-
 drivers/net/bnxt/bnxt_ethdev.c                  |  361 +++++-
 drivers/net/bnxt/bnxt_hwrm.c                    |   97 +-
 drivers/net/bnxt/bnxt_hwrm.h                    |    4 +
 drivers/net/bnxt/bnxt_reps.c                    |  223 ++--
 drivers/net/bnxt/bnxt_reps.h                    |   30 +-
 drivers/net/bnxt/hsi_struct_def_dpdk.h          |  248 ++++
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c              |    6 +-
 drivers/net/bnxt/tf_ulp/ulp_def_rules.c         |    4 +-
 drivers/net/bnxt/tf_ulp/ulp_template_db_class.c | 1512 +++++++++++++++--------
 drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h  |   40 +-
 drivers/net/bnxt/tf_ulp/ulp_template_db_field.h |  118 +-
 13 files changed, 1924 insertions(+), 744 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [dpdk-dev] [PATCH v2] net/bnxt: add a check in bnxt PCI probe
@ 2020-09-25 10:38 Somnath Kotur
  0 siblings, 0 replies; 18+ messages in thread
From: Somnath Kotur @ 2020-09-25 10:38 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, Somnath Kotur, Venkat Duvvuru

Check for num_rep before invoking rep port probe.

Fixes: 6dc83230b43b ("net/bnxt: support port representor data path")

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
---
v2: Check against num_rep instead of devargs ptr
 drivers/net/bnxt/bnxt_ethdev.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index db2f0dde4..ab25dd1b1 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -6147,6 +6147,10 @@ static int bnxt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
 	}
 	PMD_DRV_LOG(DEBUG, "BNXT Port:%d pci probe\n",
 		    backing_eth_dev->data->port_id);
+
+	if (!num_rep)
+		return ret;
+
 	/* probe representor ports now */
 	ret = bnxt_rep_port_probe(pci_dev, eth_da, backing_eth_dev);
 
-- 
2.28.0.497.g54e85e7


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-09-25 11:56 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22  7:06 [dpdk-dev] [PATCH 0/8] bnxt patches Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 1/8] net/bnxt: add support for decap action for ipv6 VXLAN flows Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 2/8] net/bnxt: simplify representor Rx ring creation Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 3/8] net/bnxt: fix to correct bad shift operation Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 4/8] net/bnxt: fix to honor value passed for truflow devargs Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 5/8] net/bnxt: add a null ptr check in bnxt PCI probe Somnath Kotur
2020-09-24 14:47   ` Ferruh Yigit
2020-09-25  2:04     ` Somnath Kotur
2020-09-25  8:42       ` Ferruh Yigit
2020-09-25 10:46         ` Somnath Kotur
2020-09-25 10:49           ` Somnath Kotur
2020-09-25 10:40   ` [dpdk-dev] [PATCH v2] net/bnxt: add a " Somnath Kotur
2020-09-25 11:56     ` Ferruh Yigit
2020-09-22  7:06 ` [dpdk-dev] [PATCH 6/8] net/bnxt: support for representors on remote host domain Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 7/8] net/bnxt: fix flow match to ignore pkt type Somnath Kotur
2020-09-22  7:06 ` [dpdk-dev] [PATCH 8/8] net/bnxt: fix seg fault during NAT configuration Somnath Kotur
2020-09-23 23:50 ` [dpdk-dev] [PATCH 0/8] bnxt patches Ajit Khaparde
2020-09-25 10:38 [dpdk-dev] [PATCH v2] net/bnxt: add a check in bnxt PCI probe Somnath Kotur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).