Re: [dpdk-dev] [PATCH] net/ena: Fix admin cq polling for 32-bit apps

2019-06-28 Thread David Harton (dharton)
> -Original Message- > From: Michał Krawczyk > Sent: Friday, June 28, 2019 11:03 AM > To: David Harton (dharton) > Cc: dev@dpdk.org; Marcin Wojtas ; Tzalik, Guy > ; Schmeilin, Evgeny > Subject: Re: [PATCH] net/ena: Fix admin cq polling for 32-bit apps > >

Re: [dpdk-dev] [PATCH] net/ena: Fix admin cq polling for 32-bit apps

2019-07-01 Thread David Harton (dharton)
> -Original Message- > From: Michał Krawczyk > Sent: Monday, July 01, 2019 3:24 AM > To: David Harton (dharton) > Cc: dev@dpdk.org; Marcin Wojtas ; Tzalik, Guy > ; Schmeilin, Evgeny ; Belgazal, > Netanel ; Kiyanovski, Arthur ; > Chauskin, Igor ; Matushe

Re: [dpdk-dev] [PATCH v2] net/i40e: Eliminate weak symbols in i40e_rxtx.c

2019-06-04 Thread David Harton (dharton)
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, June 04, 2019 12:00 PM > To: Bruce Richardson ; David Harton (dharton) > > Cc: dev@dpdk.org; beilei.x...@intel.com; qi.z.zh...@intel.com > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: Eliminate weak sym

[dpdk-dev] Future Direction for rte_eth_stats_get()

2016-02-01 Thread David Harton (dharton)
wards. Thanks, Dave > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Harton (dharton) > Sent: Friday, January 22, 2016 2:26 PM > To: Van Haaren, Harry ; Thomas Monjalon > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] Future Direction for

[dpdk-dev] Future Direction for rte_eth_stats_get()

2016-02-05 Thread David Harton (dharton)
> From: Van Haaren, Harry [mailto:harry.van.haaren at intel.com] > > > From: David Harton > > Subject: RE: [dpdk-dev] Future Direction for rte_eth_stats_get() > > > > Hi folks, > > > > I didn't see any follow up to this response. > >

[dpdk-dev] [RFC PATCH v2 1/3] rte: change xstats to use integer keys

2016-05-09 Thread David Harton (dharton)
> + * Retrieve names of extended statistics of an Ethernet device. > + * > + * Names within ptr_strings will be aligned to RTE_ETH_XSTATS_NAME_SIZE > +and > + * will be listed in ascending mapping order. > + * > + * @param port_id > + * The port identifier of the Ethernet device. > + * @param ptr_names > + * Block of memory to insert names into. Must be at least limit in size. > + * @param limit > + * Capacity of ptr_strings (number of names). > + * @return > + * If successful, number of statistics; negative on error. > + */ > +int rte_eth_xstats_names(uint8_t port_id, struct rte_eth_xstats_name > *ptr_names, > + unsigned limit); > + > +/** > + * Retrieve number of extended statistics of an Ethernet device. > + * > + * Names within ptr_strings will be aligned to RTE_ETH_XSTATS_NAME_SIZE > +and > + * will be listed in ascending mapping order. > + * > + * @param port_id > + * The port identifier of the Ethernet device. > + * @return > + * If successful, number of statistics; negative on error. > + */ > +int rte_eth_xstats_count(uint8_t port_id); > + > +/** > * Retrieve extended statistics of an Ethernet device. > * > * @param port_id > -- > 2.5.5 Acked-by: David Harton

[dpdk-dev] [RFC PATCH v2 3/3] examples/ethtool: add xstats display command

2016-05-09 Thread David Harton (dharton)
" Print port eth xstats", > + .tokens = { > + (void *)&pcmd_xstats_token_cmd, > + (void *)&pcmd_int_token_port, > + NULL > + }, > +}; > cmdline_parse_inst_t pcmd_ringparam = { > .f = pcmd_ringparam_callback, > .data = NULL, > @@ -858,6 +914,7 @@ cmdline_parse_ctx_t list_prompt_commands[] = { > (cmdline_parse_inst_t *)&pcmd_stop, > (cmdline_parse_inst_t *)&pcmd_validate, > (cmdline_parse_inst_t *)&pcmd_vlan, > + (cmdline_parse_inst_t *)&pcmd_xstats, > (cmdline_parse_inst_t *)&pcmd_quit, > NULL > }; > -- > 2.5.5 Acked-by: David Harton

[dpdk-dev] [RFC PATCH v2 2/3] drivers/net/ixgbe: change xstats to use integer id

2016-05-09 Thread David Harton (dharton)
_xstats_get(struct rte_eth_dev *dev, > struct rte_eth_xstats *xstats, > > /* TX Priority Stats */ > for (stat = 0; stat < IXGBE_NB_TXQ_PRIO_STATS; stat++) { > - for (i = 0; i < 8; i++) { > - snprintf(xstats[count].name, sizeof(xstats[count].name), > - "tx_priority%u_%s", i, > - rte_ixgbe_txq_strings[stat].name); > + for (i = 0; i < IXGBE_NB_TXQ_PRIO_VALUES; i++) { > + xstats[count].id = count; > + xstats[count].name[0] = '\0'; > xstats[count].value = *(uint64_t *)(((char *)hw_stats) + > rte_ixgbe_txq_strings[stat].offset + > (sizeof(uint64_t) * i)); > count++; > } > } > - > return count; > } > > -- > 2.5.5 Acked-by: David Harton

[dpdk-dev] Eliminate config/rte_config.h?

2020-11-12 Thread David Harton (dharton)
Hi folks, Been experimenting with DPDK 20.11 and the loss of the old "config" hierarchy. I wonder if anyone considered eliminating config/rte_config.h in favor of a config/dpdk_conf that can contain the default values at the start of the file but can be overridden with values later in the f

Re: [dpdk-dev] Eliminate config/rte_config.h?

2020-11-12 Thread David Harton (dharton)
> -Original Message- > From: Bruce Richardson > Sent: Thursday, November 12, 2020 11:33 AM > To: David Harton (dharton) > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] Eliminate config/rte_config.h? > > On Thu, Nov 12, 2020 at 03:48:20PM +, Bruce Richardson w

Re: [dpdk-dev] [RFC PATCH] build: allow passing extra config header to build

2020-11-17 Thread David Harton (dharton)
> -Original Message- > From: dev On Behalf Of Bruce Richardson > Sent: Thursday, November 12, 2020 11:32 AM > To: dev@dpdk.org > Cc: Bruce Richardson > Subject: [dpdk-dev] [RFC PATCH] build: allow passing extra config header > to build > > To allow per-build override of some settings,

[dpdk-dev] [PATCH v4 1/4] ethdev: add apis to support access device info

2015-06-10 Thread David Harton (dharton)
Sorry for spam and providing feedback here again. > -Original Message- > From: Liang-Min Larry Wang [mailto:liang-min.wang at intel.com] > Sent: Wednesday, June 10, 2015 11:10 AM > To: dev at dpdk.org > Cc: Andrew Harvey (agh); Roger Melton (rmelton); David Harton (dharto

[dpdk-dev] [PATCH v6 1/4] ethdev: add apis to support access device info

2015-06-13 Thread David Harton (dharton)
> -Original Message- > From: Liang-Min Larry Wang [mailto:liang-min.wang at intel.com] > Sent: Friday, June 12, 2015 6:03 PM > To: dev at dpdk.org > Cc: Andrew Harvey (agh); David Harton (dharton); Roger Melton (rmelton); > Liang-Min Larry Wang > Subject: [PATCH v6

[dpdk-dev] [PATCH v4 1/4] ethdev: add apis to support access device info

2015-06-15 Thread David Harton (dharton)
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Monday, June 15, 2015 9:46 AM > To: Wang, Liang-min; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 1/4] ethdev: add apis to support access > device info > > > > > -Origi

[dpdk-dev] [PATCHv2 0/5] ethdev: add new API to retrieve RX/TX queue information

2015-06-23 Thread David Harton (dharton)
Acked-by: David Harton > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Konstantin Ananyev > Sent: Thursday, June 18, 2015 9:19 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCHv2 0/5] ethdev: add new API to retrieve RX/TX > queue in

[dpdk-dev] [PATCH v7 0/4] User-space Ethtool

2015-06-24 Thread David Harton (dharton)
Acked-by: David Harton > -Original Message- > From: Liang-Min Larry Wang [mailto:liang-min.wang at intel.com] > Sent: Wednesday, June 17, 2015 6:22 PM > To: dev at dpdk.org > Cc: Andrew Harvey (agh); David Harton (dharton); Roger Melton (rmelton); > Liang-Min Larry Wang

<    1   2