DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/7] bnxt patchset
@ 2018-05-18 14:39 Ajit Khaparde
  2018-05-18 14:39 ` [dpdk-dev] [PATCH 1/7] net/bnxt: add fallthrough comments for cascading switch cases Ajit Khaparde
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Ajit Khaparde @ 2018-05-18 14:39 UTC (permalink / raw)
  To: dev

Patchset against dpdk-next.
Contains fixes mostly. Please apply.

Ajit Khaparde (7):
  net/bnxt: add fallthrough comments for cascading switch cases
  net/bnxt: fix to initialize tx and rx burst for secondary processes
  net/bnxt: fix rss hash configuration
  net/bnxt: fix to use 1st completion ring for forwarding and async
    events
  net/bnxt: fix VF resource allocation
  net/bnxt: fix xstats support for VF
  net/bnxt: fix Rx checksum flags

 drivers/net/bnxt/bnxt.h        |   1 +
 drivers/net/bnxt/bnxt_cpr.c    |  85 ++++++++++------------------------
 drivers/net/bnxt/bnxt_cpr.h    |   5 +-
 drivers/net/bnxt/bnxt_ethdev.c |  54 +++++++++++-----------
 drivers/net/bnxt/bnxt_hwrm.c   | 102 +++++++++++++++++++++++++++++++++++++----
 drivers/net/bnxt/bnxt_hwrm.h   |   3 ++
 drivers/net/bnxt/bnxt_irq.c    |  28 ++---------
 drivers/net/bnxt/bnxt_ring.c   |  45 ++++++++++++------
 drivers/net/bnxt/bnxt_ring.h   |   1 +
 drivers/net/bnxt/bnxt_rxq.c    |   1 +
 drivers/net/bnxt/bnxt_rxr.c    |  21 +++++++--
 drivers/net/bnxt/bnxt_rxr.h    |   6 +++
 drivers/net/bnxt/bnxt_stats.c  |   5 --
 drivers/net/bnxt/bnxt_vnic.c   |   2 +
 drivers/net/bnxt/bnxt_vnic.h   |   1 +
 15 files changed, 215 insertions(+), 145 deletions(-)

-- 
2.15.1 (Apple Git-101)

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [dpdk-dev] [PATCH 2/5] net/bnxt: use driver specific dynamic log type
@ 2018-01-22 12:23 Ferruh Yigit
  2018-01-25 22:47 ` [dpdk-dev] [PATCH v2 0/7] bnxt patchset Ajit Khaparde
  0 siblings, 1 reply; 21+ messages in thread
From: Ferruh Yigit @ 2018-01-22 12:23 UTC (permalink / raw)
  To: Ajit Khaparde, dev

On 1/22/2018 6:20 AM, Ajit Khaparde wrote:
> This patch implements driver specific log type doing away with
> usage of RTE_LOG() for logging.
> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

<...>

> @@ -3433,6 +3434,16 @@ bool is_bnxt_supported(struct rte_eth_dev *dev)
>  	return is_device_supported(dev, &bnxt_rte_pmd);
>  }
>  
> +static void
> +bnxt_init_log(void)
> +{
> +	bnxt_logtype_driver = rte_log_register("pmd.bnxt.driver");
> +	if (bnxt_logtype_driver >= 0)
> +		rte_log_set_level(bnxt_logtype_driver, RTE_LOG_NOTICE);
> +}
> +
>  RTE_PMD_REGISTER_PCI(net_bnxt, bnxt_rte_pmd);
>  RTE_PMD_REGISTER_PCI_TABLE(net_bnxt, bnxt_pci_id_map);
>  RTE_PMD_REGISTER_KMOD_DEP(net_bnxt, "* igb_uio | uio_pci_generic | vfio-pci");
> +
> +RTE_INIT(bnxt_init_log);

Compiler giving warning for this [1], briefly asks putting this line above
"bnxt_init_log":

[1]
...dpdk/drivers/net/bnxt/bnxt_ethdev.c:3518:1: error: attribute declaration must
precede definition [-Werror,-Wignored-attributes]


RTE_INIT(bnxt_init_log);
^


<...>

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

end of thread, other threads:[~2018-05-22 20:42 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 14:39 [dpdk-dev] [PATCH 0/7] bnxt patchset Ajit Khaparde
2018-05-18 14:39 ` [dpdk-dev] [PATCH 1/7] net/bnxt: add fallthrough comments for cascading switch cases Ajit Khaparde
2018-05-18 14:39 ` [dpdk-dev] [PATCH 2/7] net/bnxt: fix to initialize tx and rx burst for secondary processes Ajit Khaparde
2018-05-18 14:39 ` [dpdk-dev] [PATCH 3/7] net/bnxt: fix rss hash configuration Ajit Khaparde
2018-05-18 14:39 ` [dpdk-dev] [PATCH 4/7] net/bnxt: fix to use 1st completion ring for forwarding and async events Ajit Khaparde
2018-05-18 14:39 ` [dpdk-dev] [PATCH 5/7] net/bnxt: fix VF resource allocation Ajit Khaparde
2018-05-18 14:40 ` [dpdk-dev] [PATCH 6/7] net/bnxt: fix xstats support for VF Ajit Khaparde
2018-05-18 14:40 ` [dpdk-dev] [PATCH 7/7] net/bnxt: fix Rx checksum flags Ajit Khaparde
2018-05-18 17:01 ` [dpdk-dev] [PATCH 0/7] bnxt patchset Ferruh Yigit
2018-05-22 18:13   ` [dpdk-dev] [PATCH v2 " Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 1/7] net/bnxt: add fallthrough comment Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 2/7] net/bnxt: fix Tx and Rx burst for secondary processes Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 3/7] net/bnxt: fix RSS hash configuration Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 4/7] net/bnxt: fix to use 1st cmpl ring for fwd and async event Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 5/7] net/bnxt: fix VF resource allocation Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 6/7] net/bnxt: fix xstats support for VF Ajit Khaparde
2018-05-22 18:13     ` [dpdk-dev] [PATCH v2 7/7] net/bnxt: fix Rx checksum flags Ajit Khaparde
2018-05-22 20:42     ` [dpdk-dev] [PATCH v2 0/7] bnxt patchset Ferruh Yigit
  -- strict thread matches above, loose matches on Subject: below --
2018-01-22 12:23 [dpdk-dev] [PATCH 2/5] net/bnxt: use driver specific dynamic log type Ferruh Yigit
2018-01-25 22:47 ` [dpdk-dev] [PATCH v2 0/7] bnxt patchset Ajit Khaparde
2018-01-26 17:35   ` Ferruh Yigit
2018-01-26 17:37     ` Ferruh Yigit

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