All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Qiu, Michael" <michael.qiu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "Chen,
	Jing D" <jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH 05/18] fm10k: Add code to register fm10k pmd PF driver
Date: Mon, 2 Feb 2015 09:10:19 +0000	[thread overview]
Message-ID: <533710CFB86FA344BFBF2D6802E60286CD36A6@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: 1422594454-11045-6-git-send-email-jing.d.chen@intel.com

On 1/30/2015 1:08 PM, Chen, Jing D wrote:
> From: Jeff Shaw <jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>
> 1. Add function to scan and initialize fm10k PF device.
> 2. Add implementation to register fm10k pmd PF driver.
> 3. Add 3 functions fm10k_dev_configure, fm10k_stats_get and
>    fm10k_stats_get.
>
> Signed-off-by: Jeff Shaw <jeffrey.b.shaw-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Chen Jing D(Mark) <jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
>  lib/librte_pmd_fm10k/fm10k_ethdev.c |  339 +++++++++++++++++++++++++++++++++++
>  1 files changed, 339 insertions(+), 0 deletions(-)
>
> diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c b/lib/librte_pmd_fm10k/fm10k_ethdev.c
> index e69de29..400d841 100644
> --- a/lib/librte_pmd_fm10k/fm10k_ethdev.c
> +++ b/lib/librte_pmd_fm10k/fm10k_ethdev.c
> @@ -0,0 +1,339 @@
> +/*-
> + *   BSD LICENSE
> + *
> + *   Copyright(c) 2013-2014 Intel Corporation. All rights reserved.
> + *   All rights reserved.
> + *
> + *   Redistribution and use in source and binary forms, with or without
> + *   modification, are permitted provided that the following conditions
> + *   are met:
> + *
> + *     * Redistributions of source code must retain the above copyright
> + *       notice, this list of conditions and the following disclaimer.
> + *     * Redistributions in binary form must reproduce the above copyright
> + *       notice, this list of conditions and the following disclaimer in
> + *       the documentation and/or other materials provided with the
> + *       distribution.
> + *     * Neither the name of Intel Corporation nor the names of its
> + *       contributors may be used to endorse or promote products derived
> + *       from this software without specific prior written permission.
> + *
> + *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> + *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> + *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> + *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> + *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> + *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> + *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#include <rte_ethdev.h>
> +#include <rte_malloc.h>
> +#include <rte_memzone.h>
> +#include <rte_string_fns.h>
> +#include <rte_dev.h>
> +#include <rte_spinlock.h>
> +
> +#include "fm10k.h"
> +#include "SHARED/fm10k_api.h"
> +
> +/* Default delay to acquire mailbox lock */
> +#define FM10K_MBXLOCK_DELAY_US 20
> +
> +static void
> +fm10k_mbx_initlock(struct fm10k_hw *hw)
> +{
> +	rte_spinlock_init(FM10K_DEV_PRIVATE_TO_MBXLOCK(hw->back));
> +}
> +
> +static void
> +fm10k_mbx_lock(struct fm10k_hw *hw)
> +{
> +	while (!rte_spinlock_trylock(FM10K_DEV_PRIVATE_TO_MBXLOCK(hw->back)))
> +		rte_delay_us(FM10K_MBXLOCK_DELAY_US);
> +}
> +
> +static void
> +fm10k_mbx_unlock(struct fm10k_hw *hw)
> +{
> +	rte_spinlock_unlock(FM10K_DEV_PRIVATE_TO_MBXLOCK(hw->back));
> +}
> +
> +static int
> +fm10k_dev_configure(struct rte_eth_dev *dev)
> +{
> +	PMD_FUNC_TRACE();
> +
> +	if (dev->data->dev_conf.rxmode.hw_strip_crc == 0)
> +		PMD_LOG(WARNING, "fm10k always strip CRC");
> +
> +	return 0;
> +}
> +
> +static void
> +fm10k_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
> +{
> +	uint64_t ipackets, opackets, ibytes, obytes;
> +	struct fm10k_hw *hw =
> +		FM10K_DEV_PRIVATE_TO_HW(dev->data->dev_private);
> +	struct fm10k_hw_stats *hw_stats =
> +		FM10K_DEV_PRIVATE_TO_STATS(dev->data->dev_private);
> +	int i;
> +	PMD_FUNC_TRACE();
> +
> +	fm10k_update_hw_stats(hw, hw_stats);
> +
> +	ipackets = opackets = ibytes = obytes = 0;
> +	for (i = 0; (i < RTE_ETHDEV_QUEUE_STAT_CNTRS) &&
> +		(i < FM10K_MAX_QUEUES_PF); ++i) {
> +		stats->q_ipackets[i] = hw_stats->q[i].rx_packets.count;
> +		stats->q_opackets[i] = hw_stats->q[i].tx_packets.count;
> +		stats->q_ibytes[i]   = hw_stats->q[i].rx_bytes.count;
> +		stats->q_obytes[i]   = hw_stats->q[i].tx_bytes.count;
> +		ipackets += stats->q_ipackets[i];
> +		opackets += stats->q_opackets[i];
> +		ibytes   += stats->q_ibytes[i];
> +		obytes   += stats->q_obytes[i];
> +	}
> +	stats->ipackets = ipackets;
> +	stats->opackets = opackets;
> +	stats->ibytes = ibytes;
> +	stats->obytes = obytes;
> +}
> +
> +static void
> +fm10k_stats_reset(struct rte_eth_dev *dev)
> +{
> +	struct fm10k_hw *hw = FM10K_DEV_PRIVATE_TO_HW(dev->data->dev_private);
> +	struct fm10k_hw_stats *hw_stats =
> +		FM10K_DEV_PRIVATE_TO_STATS(dev->data->dev_private);
> +	PMD_FUNC_TRACE();
> +
> +	memset(hw_stats, 0, sizeof(*hw_stats));
> +	fm10k_rebind_hw_stats(hw, hw_stats);
> +}
> +
> +/* Mailbox message handler in VF */
> +static const struct fm10k_msg_data fm10k_msgdata_vf[] = {
> +	FM10K_TLV_MSG_TEST_HANDLER(fm10k_tlv_msg_test),
> +	FM10K_VF_MSG_MAC_VLAN_HANDLER(fm10k_msg_mac_vlan_vf),
> +	FM10K_VF_MSG_LPORT_STATE_HANDLER(fm10k_msg_lport_state_vf),
> +	FM10K_TLV_MSG_ERROR_HANDLER(fm10k_tlv_msg_error),
> +};
> +
> +/* Mailbox message handler in PF */
> +static const struct fm10k_msg_data fm10k_msgdata_pf[] = {
> +	FM10K_PF_MSG_ERR_HANDLER(XCAST_MODES, fm10k_msg_err_pf),
> +	FM10K_PF_MSG_ERR_HANDLER(UPDATE_MAC_FWD_RULE, fm10k_msg_err_pf),
> +	FM10K_PF_MSG_LPORT_MAP_HANDLER(fm10k_msg_lport_map_pf),
> +	FM10K_PF_MSG_ERR_HANDLER(LPORT_CREATE, fm10k_msg_err_pf),
> +	FM10K_PF_MSG_ERR_HANDLER(LPORT_DELETE, fm10k_msg_err_pf),
> +	FM10K_PF_MSG_UPDATE_PVID_HANDLER(fm10k_msg_update_pvid_pf),
> +	FM10K_TLV_MSG_ERROR_HANDLER(fm10k_tlv_msg_error),
> +};
> +
> +static int
> +fm10k_setup_mbx_service(struct fm10k_hw *hw)
> +{
> +	int err;
> +
> +	/* Initialize mailbox lock */
> +	fm10k_mbx_initlock(hw);
> +
> +	/* Replace default message handler with new ones */
> +	if (hw->mac.type == fm10k_mac_pf)
> +		err = hw->mbx.ops.register_handlers(&hw->mbx, fm10k_msgdata_pf);
> +	else
> +		err = hw->mbx.ops.register_handlers(&hw->mbx, fm10k_msgdata_vf);
> +
> +	if (err) {
> +		PMD_LOG(ERR, "Failed to register mailbox handler.err:%d", err);
> +		return err;
> +	}
> +	/* Connect to SM for PF device or PF for VF device */
> +	return hw->mbx.ops.connect(hw, &hw->mbx);
> +}
> +
> +static struct eth_dev_ops fm10k_eth_dev_ops = {
> +	.dev_configure           = fm10k_dev_configure,
> +	.stats_get               = fm10k_stats_get,
> +	.stats_reset             = fm10k_stats_reset,
> +};
> +
> +static int
> +eth_fm10k_dev_init(__rte_unused struct eth_driver *eth_drv,
> +	struct rte_eth_dev *dev)
> +{
> +	struct fm10k_hw *hw = FM10K_DEV_PRIVATE_TO_HW(dev->data->dev_private);
> +	int diag;
> +	PMD_FUNC_TRACE();
> +
> +	dev->dev_ops = &fm10k_eth_dev_ops;
> +
> +	/* only initialize in the primary process */
> +	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
> +		return 0;
> +
> +	/* Vendor and Device ID need to be set before init of shared code */
> +	memset(hw, 0, sizeof(*hw));
> +	hw->device_id = dev->pci_dev->id.device_id;
> +	hw->vendor_id = dev->pci_dev->id.vendor_id;
> +	hw->subsystem_device_id = dev->pci_dev->id.subsystem_device_id;
> +	hw->subsystem_vendor_id = dev->pci_dev->id.subsystem_vendor_id;
> +	hw->revision_id = 0;
> +	hw->hw_addr = (void *)dev->pci_dev->mem_resource[0].addr;
> +	if (hw->hw_addr == NULL) {
> +		PMD_LOG(ERR, "Bad mem resource."
> +			" Try to blacklist unused devices.\n");

Here no need "\n", after that,

Acked-by: Michael Qiu <michael.qiu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Thanks,
Michael
> +		return -EIO;
> +	}
> +
> +	/* Store fm10k_adapter pointer */
> +	hw->back = dev->data->dev_private;
> +
> +	/* Initialize the shared code */
> +	diag = fm10k_init_shared_code(hw);
> +	if (diag != FM10K_SUCCESS) {
> +		PMD_LOG(ERR, "Shared code init failed: %d", diag);
> +		return -EIO;
> +	}
> +
> +	/*
> +	 * Inialize bus info. Normally we would call fm10k_get_bus_info(), but
> +	 * there is no way to get link status without reading BAR4.  Until this
> +	 * works, assume we have maximum bandwidth.
> +	 * @todo - fix bus info
> +	 */
> +	hw->bus_caps.speed = fm10k_bus_speed_8000;
> +	hw->bus_caps.width = fm10k_bus_width_pcie_x8;
> +	hw->bus_caps.payload = fm10k_bus_payload_512;
> +	hw->bus.speed = fm10k_bus_speed_8000;
> +	hw->bus.width = fm10k_bus_width_pcie_x8;
> +	hw->bus.payload = fm10k_bus_payload_256;
> +
> +	/* Initialize the hw */
> +	diag = fm10k_init_hw(hw);
> +	if (diag != FM10K_SUCCESS) {
> +		PMD_LOG(ERR, "Hardware init failed: %d", diag);
> +		return -EIO;
> +	}
> +
> +	/* Initialize MAC address(es) */
> +	dev->data->mac_addrs = rte_zmalloc("fm10k", ETHER_ADDR_LEN, 0);
> +	if (dev->data->mac_addrs == NULL) {
> +		PMD_LOG(ERR, "Cannot allocate memory for MAC addresses");
> +		return -ENOMEM;
> +	}
> +
> +	diag = fm10k_read_mac_addr(hw);
> +	if (diag != FM10K_SUCCESS) {
> +		/*
> +		 * TODO: remove special handling on VF. Need shared code to
> +		 * fix first.
> +		 */
> +		if (hw->mac.type == fm10k_mac_pf) {
> +			PMD_LOG(ERR, "Read MAC addr failed: %d", diag);
> +			return -EIO;
> +		} else {
> +			/* Generate a random addr */
> +			eth_random_addr(hw->mac.addr);
> +			memcpy(hw->mac.perm_addr, hw->mac.addr, ETH_ALEN);
> +		}
> +	}
> +
> +	ether_addr_copy((const struct ether_addr *)hw->mac.addr,
> +			&dev->data->mac_addrs[0]);
> +
> +	/* Reset the hw statistics */
> +	fm10k_stats_reset(dev);
> +
> +	/* Reset the hw */
> +	diag = fm10k_reset_hw(hw);
> +	if (diag != FM10K_SUCCESS) {
> +		PMD_LOG(ERR, "Hardware reset failed: %d", diag);
> +		return -EIO;
> +	}
> +
> +	/* Setup mailbox service */
> +	diag = fm10k_setup_mbx_service(hw);
> +	if (diag != FM10K_SUCCESS) {
> +		PMD_LOG(ERR, "Failed to setup mailbox: %d", diag);
> +		return -EIO;
> +	}
> +
> +	/*
> +	 * Below function will trigger operations on mailbox, acquire lock to
> +	 * avoid race condition from interrupt handler. Operations on mailbox
> +	 * FIFO will trigger interrupt to PF/SM, in which interrupt handler
> +	 * will handle and generate an interrupt to our side. Then,  FIFO in
> +	 * mailbox will be touched.
> +	 */
> +	fm10k_mbx_lock(hw);
> +	/* Enable port first */
> +	hw->mac.ops.update_lport_state(hw, 0, 0, 1);
> +
> +	/* Update default vlan */
> +	hw->mac.ops.update_vlan(hw, hw->mac.default_vid, 0, true);
> +
> +	/*
> +	 * Add default mac/vlan filter. glort is assigned by SM for PF, while is
> +	 * unused for VF. PF will assign correct glort for VF.
> +	 */
> +	hw->mac.ops.update_uc_addr(hw, hw->mac.dglort_map, hw->mac.addr,
> +			      hw->mac.default_vid, 1, 0);
> +
> +	/* Set unicast mode by default. App can change to other mode in other
> +	 * API func.
> +	 */
> +	hw->mac.ops.update_xcast_mode(hw, hw->mac.dglort_map,
> +					FM10K_XCAST_MODE_MULTI);
> +
> +	fm10k_mbx_unlock(hw);
> +
> +	return 0;
> +}
> +
> +/*
> + * The set of PCI devices this driver supports. This driver will enable both PF
> + * and SRIOV-VF devices.
> + */
> +static struct rte_pci_id pci_id_fm10k_map[] = {
> +#define RTE_PCI_DEV_ID_DECL_FM10K(vend, dev) { RTE_PCI_DEVICE(vend, dev) },
> +#include "rte_pci_dev_ids.h"
> +	{ .vendor_id = 0, /* sentinel */ },
> +};
> +
> +static struct eth_driver rte_pmd_fm10k = {
> +	{
> +		.name = "rte_pmd_fm10k",
> +		.id_table = pci_id_fm10k_map,
> +		.drv_flags = RTE_PCI_DRV_NEED_MAPPING,
> +	},
> +	.eth_dev_init = eth_fm10k_dev_init,
> +	.dev_private_size = sizeof(struct fm10k_adapter),
> +};
> +
> +/*
> + * Driver initialization routine.
> + * Invoked once at EAL init time.
> + * Register itself as the [Poll Mode] Driver of PCI FM10K devices.
> + */
> +static int
> +rte_pmd_fm10k_init(__rte_unused const char *name,
> +	__rte_unused const char *params)
> +{
> +	PMD_FUNC_TRACE();
> +	rte_eth_driver_register(&rte_pmd_fm10k);
> +	return 0;
> +}
> +
> +static struct rte_driver rte_fm10k_driver = {
> +	.type = PMD_PDEV,
> +	.init = rte_pmd_fm10k_init,
> +};
> +
> +PMD_REGISTER_DRIVER(rte_fm10k_driver);


  reply	other threads:[~2015-02-02  9:10 UTC|newest]

Thread overview: 155+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30  5:07 [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found] ` <1422594454-11045-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-30  5:07   ` [PATCH 01/18] fm10k: add base driver Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-2-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-04 10:40       ` [PATCH v2 00/15] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found]         ` <1423046460-21141-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-04 10:40           ` [PATCH v2 01/15] fm10k: add base driver Chen Jing D(Mark)
     [not found]             ` <1423046460-21141-2-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-10  7:02               ` [PATCH v3 00/15] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found]                 ` <1423551775-3604-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-10  7:02                   ` [PATCH v3 01/15] fm10k: add base driver Chen Jing D(Mark)
     [not found]                     ` <1423551775-3604-2-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-11  1:31                       ` [PATCH v4 00/15] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found]                         ` <1423618298-2933-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-11  1:31                           ` [PATCH v4 01/15] fm10k: add base driver Chen Jing D(Mark)
     [not found]                             ` <1423618298-2933-2-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13  8:19                               ` [PATCH v5 00/17] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found]                                 ` <1423815597-17819-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13  8:19                                   ` [PATCH v5 01/17] fm10k: add base driver Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-2-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-17 14:18                                       ` [PATCH v6 00/16] lib/librte_pmd_fm10k : fm10k pmd driver Chen Jing D(Mark)
     [not found]                                         ` <1424182739-11058-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-17 14:18                                           ` [PATCH v6 01/16] fm10k: add base driver Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 02/16] eal: add fm10k device id Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 03/16] fm10k: register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 04/16] config: change config files to add fm10k into compile Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 05/16] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 06/16] fm10k: add Rx queue setup/release function Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 07/16] fm10k: add Tx " Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 08/16] fm10k: add Rx/Tx single queue start/stop function Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 09/16] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 10/16] fm10k: add receive and tranmit function Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 11/16] fm10k: add PF RSS support Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 12/16] fm10k: add scatter receive function Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 13/16] fm10k: add function to set vlan Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 14/16] fm10k: add SRIOV-VF support Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 15/16] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
2015-02-17 14:18                                           ` [PATCH v6 16/16] maintainers: claim for fm10k review Chen Jing D(Mark)
2015-02-18  0:13                                           ` [PATCH v6 00/16] lib/librte_pmd_fm10k : fm10k pmd driver Thomas Monjalon
2015-02-13  8:19                                   ` [PATCH v5 02/17] eal: add fm10k device id Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 03/17] fm10k: register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 04/17] Change config files to add fm10k into compile Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 05/17] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 06/17] fm10k: add rx_queue_setup/release function Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-7-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 11:08                                       ` David Marchand
     [not found]                                         ` <CALwxeUvHAQFswoWy6wNQLjbrSuXO7=uMn=GZn2ByK2g9iRdfeg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-17 13:01                                           ` Chen, Jing D
2015-02-13  8:19                                   ` [PATCH v5 07/17] fm10k: add tx_queue_setup/release function Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 08/17] fm10k: add RX/TX single queue start/stop function Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-9-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 11:31                                       ` David Marchand
     [not found]                                         ` <CALwxeUshpFKc--RpnqML4HVdp_q2j70OHPgnbVHwm6pMU-4+AQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-13 16:45                                           ` Jeff Shaw
2015-02-13  8:19                                   ` [PATCH v5 09/17] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 10/17] fm10k: add receive and tranmit function Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-11-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 11:42                                       ` David Marchand
     [not found]                                         ` <CALwxeUsoCej556m2dvxu6w2xtf3Sc-f4PEorVzki1aLDGs41Dg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-17 13:07                                           ` Chen, Jing D
2015-02-13 11:53                                       ` David Marchand
     [not found]                                         ` <CALwxeUs-++1dFtA1rhFKVXEg35Fahh=VjdM4wPwQJqgjdL6XmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-17 13:10                                           ` Chen, Jing D
2015-02-13  8:19                                   ` [PATCH v5 11/17] fm10k: add PF RSS support Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 12/17] fm10k: Add scatter receive function Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-13-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 11:55                                       ` David Marchand
     [not found]                                         ` <CALwxeUv+RfT+Nvu0pG5Zx-yc=25f2qC1YsGCaRvdcBUw8curkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-17 13:11                                           ` Chen, Jing D
2015-02-13  8:19                                   ` [PATCH v5 13/17] fm10k: add function to set vlan Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 14/17] fm10k: Add SRIOV-VF support Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 15/17] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
     [not found]                                     ` <1423815597-17819-16-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-13 11:42                                       ` David Marchand
     [not found]                                         ` <CALwxeUsoqaYfVfTDZm=O1NOUh2vZbRDM90rMQJZ6kiB3d3tbvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-17 13:12                                           ` Chen, Jing D
2015-02-13  8:19                                   ` [PATCH v5 16/17] maintainers: claim for fm10k review Chen Jing D(Mark)
2015-02-13  8:19                                   ` [PATCH v5 17/17] fm10k: Add ABI version of librte_pmd_fm10k Chen Jing D(Mark)
2015-02-13  8:37                                   ` [PATCH v5 00/17] lib/librte_pmd_fm10k : fm10k pmd driver Zhang, Helin
2015-02-15  5:07                                 ` Qiu, Michael
2015-02-11  1:31                           ` [PATCH v4 02/15] eal: add fm10k device id Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 03/15] fm10k: register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 04/15] Change config files to add fm10k into compile Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 05/15] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 06/15] fm10k: add rx_queue_setup/release function Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 07/15] fm10k: add tx_queue_setup/release function Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 08/15] fm10k: add RX/TX single queue start/stop function Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 09/15] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 10/15] fm10k: add receive and tranmit function Chen Jing D(Mark)
     [not found]                             ` <1423618298-2933-11-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-11 17:28                               ` Jeff Shaw
     [not found]                                 ` <20150211172847.GA2984-xsuQPsiAMSxDtcM2BRa8+1DQ4js95KgL@public.gmane.org>
2015-02-12  4:04                                   ` Chen, Jing D
2015-02-11  1:31                           ` [PATCH v4 11/15] fm10k: add PF RSS support Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 12/15] fm10k: Add scatter receive function Chen Jing D(Mark)
     [not found]                             ` <1423618298-2933-13-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-11 17:32                               ` Jeff Shaw
     [not found]                                 ` <20150211173238.GB2984-xsuQPsiAMSxDtcM2BRa8+1DQ4js95KgL@public.gmane.org>
2015-02-12  4:04                                   ` Chen, Jing D
2015-02-11  1:31                           ` [PATCH v4 13/15] fm10k: add function to set vlan Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 14/15] fm10k: Add SRIOV-VF support Chen Jing D(Mark)
2015-02-11  1:31                           ` [PATCH v4 15/15] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
2015-02-11  1:50                         ` [PATCH v4 00/15] lib/librte_pmd_fm10k : fm10k pmd driver Qiu, Michael
2015-02-10  7:02                   ` [PATCH v3 02/15] eal: add fm10k device id Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 03/15] fm10k: register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 04/15] Change config files to add fm10k into compile Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 05/15] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 06/15] fm10k: add rx_queue_setup/release function Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 07/15] fm10k: add tx_queue_setup/release function Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 08/15] fm10k: add RX/TX single queue start/stop function Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 09/15] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 10/15] fm10k: add receive and tranmit function Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 11/15] fm10k: add PF RSS support Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 12/15] fm10k: Add scatter receive function Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 13/15] fm10k: add function to set vlan Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 14/15] fm10k: Add SRIOV-VF support Chen Jing D(Mark)
2015-02-10  7:02                   ` [PATCH v3 15/15] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 02/15] fm10k: add fm10k device id Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 03/15] fm10k: register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 04/15] Change config files to add fm10k into compile Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 05/15] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 06/15] fm10k: add rx_queue_setup/release function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 07/15] fm10k: add tx_queue_setup/release function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 08/15] fm10k: add RX/TX single queue start/stop function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 09/15] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 10/15] fm10k: add receive and tranmit function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 11/15] fm10k: add PF RSS support Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 12/15] fm10k: Add scatter receive function Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 13/15] fm10k: add function to set vlan Chen Jing D(Mark)
2015-02-04 10:40           ` [PATCH v2 14/15] fm10k: Add SRIOV-VF support Chen Jing D(Mark)
2015-02-04 10:41           ` [PATCH v2 15/15] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 02/18] Change config/ files to add macros for fm10k Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 03/18] fm10k: Add empty fm10k files Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-4-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-31 14:02       ` Neil Horman
     [not found]         ` <20150131140200.GA22012-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-02-02  5:34           ` Chen, Jing D
     [not found]             ` <4341B239C0EFF9468EE453F9E9F4604D01661FA5-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02 13:38               ` Neil Horman
     [not found]                 ` <20150202133848.GA21700-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-02-03  6:47                   ` Chen, Jing D
2015-02-01 13:01       ` David Marchand
     [not found]         ` <CALwxeUuzS5ns7buzXp2phvMZJ4Nckkf32GQWJ6oPcu=kzZDU5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-02  9:25           ` Chen, Jing D
2015-01-30  5:07   ` [PATCH 04/18] fm10k: add fm10k device id Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-5-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-01-31 14:19       ` Neil Horman
     [not found]         ` <20150131141935.GB22012-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-01-31 16:07           ` David Marchand
     [not found]             ` <CALwxeUsVNxZ4-dGSr-oyL2BdPjvgKgF0Yn9N1kBUreC6RBfXcg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-31 16:32               ` Neil Horman
     [not found]                 ` <20150131163227.GA23878-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-01-31 16:55                   ` David Marchand
     [not found]                     ` <CALwxeUtkfPnh9aAzoL-t6r65nhcqnH7_oC8KMjMf8Ao_+QizKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-31 18:35                       ` Neil Horman
     [not found]                         ` <20150131183535.GA24821-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-05-07 11:06                           ` David Marchand
     [not found]                             ` <CALwxeUujPcm1o_7N90MP08A33QbHCEaitM0Qnmtpes9RH=t3fQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-07 13:36                               ` Neil Horman
     [not found]                                 ` <20150507133614.GB336-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-05-07 13:39                                   ` David Marchand
2015-02-02  7:54           ` Chen, Jing D
2015-01-30  5:07   ` [PATCH 05/18] fm10k: Add code to register fm10k pmd PF driver Chen Jing D(Mark)
2015-02-02  9:10     ` Qiu, Michael [this message]
     [not found]       ` <533710CFB86FA344BFBF2D6802E60286CD36A6-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02  9:21         ` Chen, Jing D
2015-01-30  5:07   ` [PATCH 06/18] fm10k: add reta update/requery functions Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 07/18] fm10k: add rx_queue_setup/release function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 08/18] fm10k: add tx_queue_setup/release function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 09/18] fm10k: add RX/TX single queue start/stop function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 10/18] fm10k: add dev start/stop functions Chen Jing D(Mark)
2015-02-04  2:36     ` Qiu, Michael
     [not found]       ` <533710CFB86FA344BFBF2D6802E60286CD4285-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-04  9:55         ` Chen, Jing D
2015-01-30  5:07   ` [PATCH 11/18] fm10k: add receive and tranmit function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 12/18] fm10k: add PF RSS support Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-13-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-01  0:38       ` Neil Horman
2015-01-30  5:07   ` [PATCH 13/18] fm10k: Add scatter receive function Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 14/18] fm10k: add function to set vlan Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 15/18] fm10k: Add SRIOV-VF support Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 16/18] fm10k: add PF and VF interrupt handling function Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-17-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-01  0:42       ` Neil Horman
     [not found]         ` <20150201004259.GB31443-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-02-02  7:59           ` Chen, Jing D
2015-01-30  5:07   ` [PATCH 17/18] Change lib/Makefile to add fm10k driver into compile list Chen Jing D(Mark)
2015-01-30  5:07   ` [PATCH 18/18] Change mk/rte.app.mk to add fm10k lib into link Chen Jing D(Mark)
     [not found]     ` <1422594454-11045-19-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-01  0:50       ` Neil Horman
     [not found]         ` <20150201005059.GC31443-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-02-02  8:10           ` Chen, Jing D
     [not found]             ` <4341B239C0EFF9468EE453F9E9F4604D016631DC-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02  8:39               ` Thomas Monjalon
2015-02-02  8:59                 ` Chen, Jing D
2015-02-02 13:46               ` Neil Horman
2015-01-30 21:26   ` [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver Neil Horman
     [not found]     ` <20150130212633.GD2664-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-01-30 21:46       ` Jeff Shaw
     [not found]         ` <20150130214622.GA21286-P+9LSW+heshDtcM2BRa8+1DQ4js95KgL@public.gmane.org>
2015-01-30 22:19           ` Thomas Monjalon
2015-02-02  2:59             ` Chen, Jing D
     [not found]               ` <4341B239C0EFF9468EE453F9E9F4604D01661ED1-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02  8:19                 ` Thomas Monjalon
2015-02-02  8:55                   ` Chen, Jing D

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533710CFB86FA344BFBF2D6802E60286CD36A6@SHSMSX101.ccr.corp.intel.com \
    --to=michael.qiu-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.