From: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to PF mbox msg
Date: Tue, 20 Dec 2016 08:49:27 +0000 [thread overview]
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B543CA8@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <a94e0b5d-dc76-4348-6f18-2f0a6e0a0ade@intel.com>
Hi Ferruh,
> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Wednesday, December 7, 2016 8:45 PM
> To: Lu, Wenzhuo; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to
> PF mbox msg
>
> On 12/7/2016 3:31 AM, Wenzhuo Lu wrote:
> > The callback asks the user application if it is allowed to perform the
> > mailbox messages.
> >
> > If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED then
> > continue. If ACK or NACK, do nothing and send not_supported to VF.
> >
> > Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
> > ---
> > drivers/net/i40e/i40e_pf.c | 230
> ++++++++++++++++++++++++++++++++++------
> > drivers/net/i40e/rte_pmd_i40e.h | 21 ++++
> > 2 files changed, 216 insertions(+), 35 deletions(-)
> >
> > diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
> > index f70712b..8b8a14f 100644
> > --- a/drivers/net/i40e/i40e_pf.c
> > +++ b/drivers/net/i40e/i40e_pf.c
> > @@ -55,6 +55,7 @@
> > #include "i40e_ethdev.h"
> > #include "i40e_rxtx.h"
> > #include "i40e_pf.h"
> > +#include "rte_pmd_i40e.h"
> >
> > #define I40E_CFG_CRCSTRIP_DEFAULT 1
> >
> > @@ -272,14 +273,23 @@
> > }
> >
> > static void
> > -i40e_pf_host_process_cmd_version(struct i40e_pf_vf *vf)
> > +i40e_pf_host_process_cmd_version(struct i40e_pf_vf *vf, bool b_op)
> > {
> > struct i40e_virtchnl_version_info info;
> >
> > info.major = I40E_DPDK_VERSION_MAJOR;
> > info.minor = I40E_DPDK_VERSION_MINOR;
> > - i40e_pf_host_send_msg_to_vf(vf, I40E_VIRTCHNL_OP_VERSION,
> > - I40E_SUCCESS, (uint8_t *)&info, sizeof(info));
> > +
> > + if (b_op)
> > + i40e_pf_host_send_msg_to_vf(vf,
> I40E_VIRTCHNL_OP_VERSION,
> > + I40E_SUCCESS,
> > + (uint8_t *)&info,
> > + sizeof(info));
> > + else
> > + i40e_pf_host_send_msg_to_vf(vf,
> I40E_VIRTCHNL_OP_VERSION,
> > + I40E_NOT_SUPPORTED,
> > + (uint8_t *)&info,
> > + sizeof(info));
>
> Even I40E_NOT_SUPPORTED returned to the VF, it seems VF is ignoring this
> value, is it something should be fixed as part of this patch?
>
> This path is a little complex, I may be missing something but stack trace is:
>
> VF:
> i40evf_check_api_version()
> i40evf_execute_vf_cmd(vfd_cmd_info arg)
> i40e_aq_send_msg_to_pf(arg->op, retval, arg->in_msg)
> desc <- op, retval
> msg_in <- arg_in_msg
> i40e_asq_send_command(desc, msg_in)
>
> PF:
> i40e_pf_host_handle_vf_msg(op, msg_in)
> i40e_pf_host_process_cmd_version()
> i40e_pf_host_send_msg_to_vf(op, retval, msg_out)
> i40e_aq_send_msg_to_vf(op, retval, msg_out)
> desc <- op, retval
> i40e_asq_send_command(desc, msg_out)
>
> VF:
> data <- arg->out_xxx
> i40evf_read_pfmsg(data)
> event <- data->out_msg
> op <-
> retval <-
> i40e_clean_arq_element(event)
> event->desc <- desc
> event->msg <- msg_out
> data->result = retval <----------------
> return 0;
> ver = arg->out_msg
> return 0;
>
>
> So, as far as I can see I40E_NOT_SUPPORTED is somewhere in the stack but not
> reached to the final VF function, is this OK?
I think it's a bug in the existing code. It's forgotten to check the ' data->result ' . I will send a separate patch to fix it.
>
>
> > }
> >
> > static int
> > @@ -292,13 +302,20 @@
> > }
> >
> > static int
> > -i40e_pf_host_process_cmd_get_vf_resource(struct i40e_pf_vf *vf)
> > +i40e_pf_host_process_cmd_get_vf_resource(struct i40e_pf_vf *vf, bool
> > +b_op)
> > {
> > struct i40e_virtchnl_vf_resource *vf_res = NULL;
> > struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf);
> > uint32_t len = 0;
> > int ret = I40E_SUCCESS;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(vf,
> > +
> I40E_VIRTCHNL_OP_GET_VF_RESOURCES,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > /* only have 1 VSI by default */
> > len = sizeof(struct i40e_virtchnl_vf_resource) +
> > I40E_DEFAULT_VF_VSI_NUM *
> > @@ -423,7 +440,8 @@
> > static int
> > i40e_pf_host_process_cmd_config_vsi_queues(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf);
> > struct i40e_vsi *vsi = vf->vsi;
> > @@ -432,6 +450,13 @@
> > struct i40e_virtchnl_queue_pair_info *vc_qpi;
> > int i, ret = I40E_SUCCESS;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(vf,
> > +
> I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (!msg || vc_vqci->num_queue_pairs > vsi->nb_qps ||
> > vc_vqci->num_queue_pairs > I40E_MAX_VSI_QP ||
> > msglen < I40E_VIRTCHNL_CONFIG_VSI_QUEUES_SIZE(vc_vqci,
> > @@ -482,7 +507,8 @@
> > static int
> > i40e_pf_host_process_cmd_config_vsi_queues_ext(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf);
> > struct i40e_vsi *vsi = vf->vsi;
> > @@ -491,6 +517,14 @@
> > struct i40e_virtchnl_queue_pair_ext_info *vc_qpei;
> > int i, ret = I40E_SUCCESS;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES_EXT,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (!msg || vc_vqcei->num_queue_pairs > vsi->nb_qps ||
> > vc_vqcei->num_queue_pairs > I40E_MAX_VSI_QP ||
> > msglen < I40E_VIRTCHNL_CONFIG_VSI_QUEUES_SIZE(vc_vqcei,
> > @@ -539,12 +573,21 @@
> >
> > static int
> > i40e_pf_host_process_cmd_config_irq_map(struct i40e_pf_vf *vf,
> > - uint8_t *msg, uint16_t msglen)
> > + uint8_t *msg, uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_irq_map_info *irqmap =
> > (struct i40e_virtchnl_irq_map_info *)msg;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_CONFIG_IRQ_MAP,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen < sizeof(struct i40e_virtchnl_irq_map_info)) {
> > PMD_DRV_LOG(ERR, "buffer too short");
> > ret = I40E_ERR_PARAM;
> > @@ -646,12 +689,21 @@
> > static int
> > i40e_pf_host_process_cmd_disable_queues(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_queue_select *q_sel =
> > (struct i40e_virtchnl_queue_select *)msg;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_DISABLE_QUEUES,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen != sizeof(*q_sel)) {
> > ret = I40E_ERR_PARAM;
> > goto send_msg;
> > @@ -669,7 +721,8 @@
> > static int
> > i40e_pf_host_process_cmd_add_ether_address(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_ether_addr_list *addr_list = @@ -678,6 +731,14
> > @@
> > int i;
> > struct ether_addr *mac;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_ADD_ETHER_ADDRESS,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > memset(&filter, 0 , sizeof(struct i40e_mac_filter_info));
> >
> > if (msg == NULL || msglen <= sizeof(*addr_list)) { @@ -707,7 +768,8
> > @@ static int i40e_pf_host_process_cmd_del_ether_address(struct
> > i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_ether_addr_list *addr_list = @@ -715,6 +777,14
> > @@
> > int i;
> > struct ether_addr *mac;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_DEL_ETHER_ADDRESS,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen <= sizeof(*addr_list)) {
> > PMD_DRV_LOG(ERR, "delete_ether_address argument too
> short");
> > ret = I40E_ERR_PARAM;
> > @@ -739,7 +809,8 @@
> >
> > static int
> > i40e_pf_host_process_cmd_add_vlan(struct i40e_pf_vf *vf,
> > - uint8_t *msg, uint16_t msglen)
> > + uint8_t *msg, uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_vlan_filter_list *vlan_filter_list = @@ -747,6
> > +818,14 @@
> > int i;
> > uint16_t *vid;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_ADD_VLAN,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen <= sizeof(*vlan_filter_list)) {
> > PMD_DRV_LOG(ERR, "add_vlan argument too short");
> > ret = I40E_ERR_PARAM;
> > @@ -771,7 +850,8 @@
> > static int
> > i40e_pf_host_process_cmd_del_vlan(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_vlan_filter_list *vlan_filter_list = @@ -779,6
> > +859,14 @@
> > int i;
> > uint16_t *vid;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_DEL_VLAN,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen <= sizeof(*vlan_filter_list)) {
> > PMD_DRV_LOG(ERR, "delete_vlan argument too short");
> > ret = I40E_ERR_PARAM;
> > @@ -803,7 +891,8 @@
> > i40e_pf_host_process_cmd_config_promisc_mode(
> > struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_promisc_info *promisc = @@ -811,6 +900,14 @@
> > struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf);
> > bool unicast = FALSE, multicast = FALSE;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen != sizeof(*promisc)) {
> > ret = I40E_ERR_PARAM;
> > goto send_msg;
> > @@ -836,13 +933,20 @@
> > }
> >
> > static int
> > -i40e_pf_host_process_cmd_get_stats(struct i40e_pf_vf *vf)
> > +i40e_pf_host_process_cmd_get_stats(struct i40e_pf_vf *vf, bool b_op)
> > {
> > i40e_update_vsi_stats(vf->vsi);
> >
> > - i40e_pf_host_send_msg_to_vf(vf, I40E_VIRTCHNL_OP_GET_STATS,
> > - I40E_SUCCESS, (uint8_t *)&vf->vsi->eth_stats,
> > - sizeof(vf->vsi->eth_stats));
> > + if (b_op)
> > + i40e_pf_host_send_msg_to_vf(vf,
> I40E_VIRTCHNL_OP_GET_STATS,
> > + I40E_SUCCESS,
> > + (uint8_t *)&vf->vsi->eth_stats,
> > + sizeof(vf->vsi->eth_stats));
> > + else
> > + i40e_pf_host_send_msg_to_vf(vf,
> I40E_VIRTCHNL_OP_GET_STATS,
> > + I40E_NOT_SUPPORTED,
> > + (uint8_t *)&vf->vsi->eth_stats,
> > + sizeof(vf->vsi->eth_stats));
> >
> > return I40E_SUCCESS;
> > }
> > @@ -851,12 +955,21 @@
> > i40e_pf_host_process_cmd_cfg_vlan_offload(
> > struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_vlan_offload_info *offload =
> > (struct i40e_virtchnl_vlan_offload_info *)msg;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_CFG_VLAN_OFFLOAD,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen != sizeof(*offload)) {
> > ret = I40E_ERR_PARAM;
> > goto send_msg;
> > @@ -877,12 +990,21 @@
> > static int
> > i40e_pf_host_process_cmd_cfg_pvid(struct i40e_pf_vf *vf,
> > uint8_t *msg,
> > - uint16_t msglen)
> > + uint16_t msglen,
> > + bool b_op)
> > {
> > int ret = I40E_SUCCESS;
> > struct i40e_virtchnl_pvid_info *tpid_info =
> > (struct i40e_virtchnl_pvid_info *)msg;
> >
> > + if (!b_op) {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf,
> > + I40E_VIRTCHNL_OP_CFG_VLAN_PVID,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + return ret;
> > + }
> > +
> > if (msg == NULL || msglen != sizeof(*tpid_info)) {
> > ret = I40E_ERR_PARAM;
> > goto send_msg;
> > @@ -923,6 +1045,8 @@
> > struct i40e_pf_vf *vf;
> > /* AdminQ will pass absolute VF id, transfer to internal vf id */
> > uint16_t vf_id = abs_vf_id - hw->func_caps.vf_base_id;
> > + struct rte_pmd_i40e_mb_event_param cb_param;
> > + bool b_op = TRUE;
> >
> > if (vf_id > pf->vf_num - 1 || !pf->vfs) {
> > PMD_DRV_LOG(ERR, "invalid argument"); @@ -937,10
> +1061,35 @@
> > return;
> > }
> >
> > + /**
> > + * initialise structure to send to user application
> > + * will return response from user in retval field
> > + */
> > + cb_param.retval = RTE_PMD_I40E_MB_EVENT_PROCEED;
> > + cb_param.vfid = vf_id;
> > + cb_param.msg_type = opcode;
> > + cb_param.msg = (void *)msg;
> > + cb_param.msglen = msglen;
> > +
> > + /**
> > + * Ask user application if we're allowed to perform those functions.
> > + * If we get cb_param.retval == RTE_PMD_I40E_MB_EVENT_PROCEED,
> > + * then business as usual.
> > + * If RTE_PMD_I40E_MB_EVENT_NOOP_ACK or
> RTE_PMD_I40E_MB_EVENT_NOOP_NACK,
> > + * do nothing and send not_supported to VF. As PF must send a response
> > + * to VF and ACK/NACK is not defined.
> > + */
> > + _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_VF_MBOX,
> &cb_param);
> > + if (cb_param.retval != RTE_PMD_I40E_MB_EVENT_PROCEED) {
> > + PMD_DRV_LOG(WARNING, "VF to PF message(%d) is not
> permitted!",
> > + opcode);
> > + b_op = FALSE;
> > + }
> > +
>
> Is the reason you just not do [1], because final function requires valid buffers?
> Can it be an option to fix them?
I thought about doing [1], but the problem is we cannot use NULL for all kinds of messages. For some messages NULL will break them, so have to handle them case by case.
>
> [1]
> if (!b_op) {
> i40e_pf_host_send_msg_to_vf(vf, opcode, I40E_NOT_SUPPORTED,
> NULL, 0); }
>
> > switch (opcode) {
> > case I40E_VIRTCHNL_OP_VERSION :
> > PMD_DRV_LOG(INFO, "OP_VERSION received");
> > - i40e_pf_host_process_cmd_version(vf);
> > + i40e_pf_host_process_cmd_version(vf, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_RESET_VF :
> > PMD_DRV_LOG(INFO, "OP_RESET_VF received"); @@ -948,61
> +1097,72 @@
> > break;
> > case I40E_VIRTCHNL_OP_GET_VF_RESOURCES:
> > PMD_DRV_LOG(INFO, "OP_GET_VF_RESOURCES received");
> > - i40e_pf_host_process_cmd_get_vf_resource(vf);
> > + i40e_pf_host_process_cmd_get_vf_resource(vf, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES:
> > PMD_DRV_LOG(INFO, "OP_CONFIG_VSI_QUEUES received");
> > - i40e_pf_host_process_cmd_config_vsi_queues(vf, msg,
> msglen);
> > + i40e_pf_host_process_cmd_config_vsi_queues(vf, msg,
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES_EXT:
> > PMD_DRV_LOG(INFO, "OP_CONFIG_VSI_QUEUES_EXT
> received");
> > i40e_pf_host_process_cmd_config_vsi_queues_ext(vf, msg,
> > - msglen);
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CONFIG_IRQ_MAP:
> > PMD_DRV_LOG(INFO, "OP_CONFIG_IRQ_MAP received");
> > - i40e_pf_host_process_cmd_config_irq_map(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_config_irq_map(vf, msg, msglen,
> b_op);
> > break;
> > case I40E_VIRTCHNL_OP_ENABLE_QUEUES:
> > PMD_DRV_LOG(INFO, "OP_ENABLE_QUEUES received");
> > - i40e_pf_host_process_cmd_enable_queues(vf, msg, msglen);
> > - i40e_notify_vf_link_status(dev, vf);
> > + if (b_op) {
> > + i40e_pf_host_process_cmd_enable_queues(vf, msg,
> msglen);
> > + i40e_notify_vf_link_status(dev, vf);
> > + } else {
> > + i40e_pf_host_send_msg_to_vf(
> > + vf, I40E_VIRTCHNL_OP_ENABLE_QUEUES,
> > + I40E_NOT_SUPPORTED, NULL, 0);
> > + }
> > break;
> > case I40E_VIRTCHNL_OP_DISABLE_QUEUES:
> > PMD_DRV_LOG(INFO, "OP_DISABLE_QUEUE received");
> > - i40e_pf_host_process_cmd_disable_queues(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_disable_queues(vf, msg, msglen,
> b_op);
> > break;
> > case I40E_VIRTCHNL_OP_ADD_ETHER_ADDRESS:
> > PMD_DRV_LOG(INFO, "OP_ADD_ETHER_ADDRESS received");
> > - i40e_pf_host_process_cmd_add_ether_address(vf, msg,
> msglen);
> > + i40e_pf_host_process_cmd_add_ether_address(vf, msg,
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_DEL_ETHER_ADDRESS:
> > PMD_DRV_LOG(INFO, "OP_DEL_ETHER_ADDRESS received");
> > - i40e_pf_host_process_cmd_del_ether_address(vf, msg,
> msglen);
> > + i40e_pf_host_process_cmd_del_ether_address(vf, msg,
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_ADD_VLAN:
> > PMD_DRV_LOG(INFO, "OP_ADD_VLAN received");
> > - i40e_pf_host_process_cmd_add_vlan(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_add_vlan(vf, msg, msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_DEL_VLAN:
> > PMD_DRV_LOG(INFO, "OP_DEL_VLAN received");
> > - i40e_pf_host_process_cmd_del_vlan(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_del_vlan(vf, msg, msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE:
> > PMD_DRV_LOG(INFO, "OP_CONFIG_PROMISCUOUS_MODE
> received");
> > - i40e_pf_host_process_cmd_config_promisc_mode(vf, msg,
> msglen);
> > + i40e_pf_host_process_cmd_config_promisc_mode(vf, msg,
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_GET_STATS:
> > PMD_DRV_LOG(INFO, "OP_GET_STATS received");
> > - i40e_pf_host_process_cmd_get_stats(vf);
> > + i40e_pf_host_process_cmd_get_stats(vf, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CFG_VLAN_OFFLOAD:
> > PMD_DRV_LOG(INFO, "OP_CFG_VLAN_OFFLOAD received");
> > - i40e_pf_host_process_cmd_cfg_vlan_offload(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_cfg_vlan_offload(vf, msg,
> > + msglen, b_op);
> > break;
> > case I40E_VIRTCHNL_OP_CFG_VLAN_PVID:
> > PMD_DRV_LOG(INFO, "OP_CFG_VLAN_PVID received");
> > - i40e_pf_host_process_cmd_cfg_pvid(vf, msg, msglen);
> > + i40e_pf_host_process_cmd_cfg_pvid(vf, msg, msglen, b_op);
> > break;
> > /* Don't add command supported below, which will
> > * return an error code.
> > diff --git a/drivers/net/i40e/rte_pmd_i40e.h
> > b/drivers/net/i40e/rte_pmd_i40e.h index 14852f2..eb7a72b 100644
> > --- a/drivers/net/i40e/rte_pmd_i40e.h
> > +++ b/drivers/net/i40e/rte_pmd_i40e.h
> > @@ -42,6 +42,27 @@
> > #include <rte_ethdev.h>
> >
> > /**
> > + * Response sent back to i40e driver from user app after callback */
> > +enum rte_pmd_i40e_mb_event_rsp {
> > + RTE_PMD_I40E_MB_EVENT_NOOP_ACK, /**< skip mbox request and
> ACK */
> > + RTE_PMD_I40E_MB_EVENT_NOOP_NACK, /**< skip mbox request and
> NACK */
> > + RTE_PMD_I40E_MB_EVENT_PROCEED, /**< proceed with mbox
> request */
> > + RTE_PMD_I40E_MB_EVENT_MAX /**< max value of this enum */
> > +};
> > +
> > +/**
> > + * Data sent to the user application when the callback is executed.
> > + */
> > +struct rte_pmd_i40e_mb_event_param {
> > + uint16_t vfid; /**< Virtual Function number */
> > + uint16_t msg_type; /**< VF to PF message type, see i40e_virtchnl_ops
> */
> > + uint16_t retval; /**< return value */
> > + void *msg; /**< pointer to message */
> > + uint16_t msglen; /**< length of the message */
> > +};
> > +
> > +/**
> > * Notify VF when PF link status changes.
> > *
> > * @param port
> >
next prev parent reply other threads:[~2016-12-20 8:49 UTC|newest]
Thread overview: 367+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 0:11 [dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 01/31] net/i40e: support link status notification Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 02/31] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 03/31] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 04/31] net/i40e: set VF VLAN " Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 05/31] net/i40e: set TX loopback " Wenzhuo Lu
2016-12-02 11:22 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 06/31] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2016-12-02 11:24 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 07/31] net/i40e: set VF multicast " Wenzhuo Lu
2016-12-02 11:24 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 08/31] net/i40e: enable VF MTU change Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 09/31] rte: add APIs for VF stats get/reset Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 10/31] net/i40e: implement ops " Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 11/31] net/i40e: fix VF reset flow Wenzhuo Lu
2016-12-02 11:24 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 12/31] net/i40e: set VF MAC from PF support Wenzhuo Lu
2016-12-02 11:23 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 13/31] net/i40e: set VF MAC from VF support Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 14/31] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2016-12-02 11:24 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 15/31] net/i40e: add VF vlan strip func Wenzhuo Lu
2016-12-02 11:25 ` Ferruh Yigit
2016-12-02 0:11 ` [dpdk-dev] [PATCH 16/31] net/i40e: add set VF VLAN insert function Wenzhuo Lu
2016-12-02 0:11 ` [dpdk-dev] [PATCH 17/31] net/i40e: set VF broadcast mode from PF Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 18/31] net/i40e: set VF VLAN tag " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 19/31] net/i40e: set VF VLAN filter " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 20/31] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2016-12-02 11:22 ` Ferruh Yigit
2016-12-13 16:57 ` Ferruh Yigit
2016-12-14 0:44 ` Lu, Wenzhuo
2016-12-02 0:12 ` [dpdk-dev] [PATCH 21/31] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 22/31] app/testpmd: use multicast " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 23/31] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 24/31] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 25/31] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 26/31] app/testpmd: initialize receive mode for VMDq Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 27/31] net/i40e: change version number to support Linux VF Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 28/31] net/i40e: return correct vsi_id Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 29/31] net/i40e: parse more VF parameter and configure Wenzhuo Lu
2016-12-02 0:12 ` [dpdk-dev] [PATCH 30/31] net/i40e: support Linux VF to configure IRQ link list Wenzhuo Lu
2016-12-02 11:25 ` Ferruh Yigit
2016-12-05 3:02 ` Lu, Wenzhuo
2016-12-02 0:12 ` [dpdk-dev] [PATCH 31/31] i40e: enhance in sanity check of mac Wenzhuo Lu
2016-12-02 11:23 ` Ferruh Yigit
2016-12-02 8:59 ` [dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e Andrew Rybchenko
2016-12-02 10:58 ` Iremonger, Bernard
2016-12-02 11:28 ` Iremonger, Bernard
2016-12-02 12:09 ` Andrew Rybchenko
2016-12-02 14:16 ` Thomas Monjalon
2016-12-02 14:25 ` Iremonger, Bernard
2016-12-02 14:33 ` Thomas Monjalon
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 00/32] " Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 01/32] net/i40e: support link status notification Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 02/32] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2016-12-07 12:44 ` Ferruh Yigit
2016-12-20 8:49 ` Lu, Wenzhuo [this message]
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 03/32] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 04/32] net/i40e: set VF VLAN " Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 05/32] net/i40e: set TX loopback " Wenzhuo Lu
2016-12-07 13:04 ` Ferruh Yigit
2016-12-20 8:16 ` Lu, Wenzhuo
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 06/32] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 07/32] net/i40e: set VF multicast " Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 08/32] net/i40e: enable VF MTU change Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 09/32] rte: add APIs for VF stats get/reset Wenzhuo Lu
2016-12-07 13:52 ` Ferruh Yigit
2016-12-08 3:23 ` Zhang, Qi Z
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 10/32] net/i40e: implement ops " Wenzhuo Lu
2016-12-07 13:59 ` Ferruh Yigit
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 11/32] net/i40e: fix VF reset flow Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 12/32] net/i40e: set VF MAC from PF support Wenzhuo Lu
2016-12-07 14:29 ` Ferruh Yigit
2016-12-08 1:01 ` Lu, Wenzhuo
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 13/32] net/i40e: set VF MAC from VF support Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 14/32] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 15/32] net/i40e: add VF vlan strip func Wenzhuo Lu
2016-12-07 14:18 ` Ferruh Yigit
2016-12-08 9:10 ` Chen, Jing D
2016-12-08 10:43 ` Ferruh Yigit
2016-12-09 3:07 ` Chen, Jing D
2016-12-07 3:31 ` [dpdk-dev] [PATCH v2 16/32] net/i40e: add set VF VLAN insert function Wenzhuo Lu
2016-12-07 14:26 ` Ferruh Yigit
2016-12-07 14:42 ` Ferruh Yigit
2016-12-07 17:36 ` Iremonger, Bernard
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 17/32] net/i40e: set VF broadcast mode from PF Wenzhuo Lu
2016-12-07 14:32 ` Ferruh Yigit
2016-12-13 14:35 ` Iremonger, Bernard
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 18/32] net/i40e: set VF VLAN tag " Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 19/32] net/i40e: set VF VLAN filter " Wenzhuo Lu
2016-12-07 14:46 ` Ferruh Yigit
2016-12-07 17:41 ` Iremonger, Bernard
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 20/32] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 21/32] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2016-12-07 14:59 ` Ferruh Yigit
2016-12-13 1:49 ` Lu, Wenzhuo
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 22/32] app/testpmd: use multicast " Wenzhuo Lu
2016-12-07 15:01 ` Ferruh Yigit
2016-12-13 1:45 ` Lu, Wenzhuo
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 23/32] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 24/32] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 25/32] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2016-12-13 13:40 ` Ferruh Yigit
2016-12-14 0:42 ` Lu, Wenzhuo
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 26/32] app/testpmd: initialize receive mode for VMDq Wenzhuo Lu
2016-12-07 15:06 ` Ferruh Yigit
2016-12-07 17:00 ` Iremonger, Bernard
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 27/32] net/i40e: change version number to support Linux VF Wenzhuo Lu
2016-12-07 15:13 ` Ferruh Yigit
2016-12-08 9:14 ` Chen, Jing D
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 28/32] net/i40e: return correct vsi_id Wenzhuo Lu
2016-12-07 15:16 ` Ferruh Yigit
2016-12-07 15:34 ` Chen, Jing D
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 29/32] net/i40e: parse more VF parameter and configure Wenzhuo Lu
2016-12-07 15:18 ` Ferruh Yigit
2016-12-07 15:32 ` Chen, Jing D
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 30/32] net/i40e: support Linux VF to configure IRQ link list Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 31/32] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2016-12-07 3:32 ` [dpdk-dev] [PATCH v2 32/32] app/testpmd: fix invalid port ID Wenzhuo Lu
2016-12-07 15:48 ` Ferruh Yigit
2016-12-08 0:49 ` Lu, Wenzhuo
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 00/25] Support VFD on i40e Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 01/25] net/i40e: support link status notification Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 02/25] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 03/25] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 04/25] net/i40e: set VF VLAN " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 05/25] net/i40e: set Tx loopback " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 06/25] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 07/25] net/i40e: set VF multicast " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 08/25] net/i40e: enable VF MTU change Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 09/25] net/i40e: fix VF reset flow Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 10/25] net/i40e: set VF MAC from PF support Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 11/25] net/i40e: set VF MAC from VF support Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 12/25] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 13/25] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 14/25] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 15/25] net/i40e: set VF broadcast mode " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 16/25] net/i40e: set VF VLAN tag " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 17/25] net/i40e: set VF VLAN filter " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 18/25] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 19/25] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 20/25] app/testpmd: use multicast " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 21/25] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 22/25] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 23/25] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2016-12-22 10:57 ` Ferruh Yigit
2016-12-22 14:47 ` Iremonger, Bernard
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 24/25] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2016-12-21 6:34 ` [dpdk-dev] [PATCH v6 25/25] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 00/27] Support VFD on i40e Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 01/27] net/i40e: support link status notification Wenzhuo Lu
2017-01-05 5:58 ` Wu, Jingjing
2017-01-05 6:23 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 02/27] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-05 6:18 ` Wu, Jingjing
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 03/27] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-05 6:42 ` Wu, Jingjing
2017-01-05 6:46 ` Lu, Wenzhuo
2017-01-06 0:33 ` Wu, Jingjing
2017-01-06 8:54 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 04/27] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-05 8:52 ` Wu, Jingjing
2017-01-06 3:00 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 05/27] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-06 0:32 ` Wu, Jingjing
2017-01-06 3:25 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 06/27] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-06 0:32 ` Wu, Jingjing
2017-01-06 5:01 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 07/27] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 08/27] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 09/27] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 10/27] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-06 0:32 ` Wu, Jingjing
2017-01-06 12:07 ` Ferruh Yigit
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 11/27] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 12/27] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 13/27] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 14/27] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-06 0:33 ` Wu, Jingjing
2017-01-06 8:20 ` Lu, Wenzhuo
2017-01-06 11:28 ` Iremonger, Bernard
2017-01-09 0:32 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 15/27] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 16/27] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 17/27] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-06 0:36 ` Wu, Jingjing
2017-01-06 11:38 ` Iremonger, Bernard
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 18/27] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-06 1:16 ` Wu, Jingjing
2017-01-06 7:23 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 19/27] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-06 1:21 ` Wu, Jingjing
2017-01-06 7:25 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 20/27] app/testpmd: use multicast " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 21/27] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 22/27] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 23/27] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 24/27] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 25/27] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-06 1:25 ` Wu, Jingjing
2017-01-06 8:01 ` Lu, Wenzhuo
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 26/27] net/i40e: fix segmentation fault in close Wenzhuo Lu
2017-01-06 1:29 ` Wu, Jingjing
2017-01-06 12:00 ` Iremonger, Bernard
2017-01-09 9:44 ` Wu, Jingjing
2017-01-09 9:50 ` Iremonger, Bernard
2017-01-03 6:54 ` [dpdk-dev] [PATCH v7 27/27] app/testpmd: add command to configure VMDq Wenzhuo Lu
2017-01-10 7:15 ` [dpdk-dev] [PATCH v8 00/25] Support VFD on i40e Wenzhuo Lu
2017-01-10 7:15 ` [dpdk-dev] [PATCH v8 01/25] net/i40e: support link status notification Wenzhuo Lu
2017-01-10 7:15 ` [dpdk-dev] [PATCH v8 02/25] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-10 7:15 ` [dpdk-dev] [PATCH v8 03/25] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-10 7:15 ` [dpdk-dev] [PATCH v8 04/25] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 05/25] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 06/25] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 07/25] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 08/25] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 09/25] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 10/25] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 11/25] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 12/25] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 13/25] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 14/25] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 15/25] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 16/25] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 17/25] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 18/25] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-10 11:29 ` Ferruh Yigit
2017-01-10 20:08 ` Ferruh Yigit
2017-01-11 1:27 ` Lu, Wenzhuo
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 19/25] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 20/25] app/testpmd: use multicast " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 21/25] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 22/25] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 23/25] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 24/25] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-10 7:16 ` [dpdk-dev] [PATCH v8 25/25] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-10 13:24 ` [dpdk-dev] [PATCH v8 00/25] Support VFD on i40e Zhang, Helin
2017-01-10 20:23 ` Vincent Jardin
2017-01-10 21:32 ` Ferruh Yigit
2017-01-11 13:14 ` Vincent JARDIN
2017-01-11 14:53 ` Ferruh Yigit
2017-01-11 15:19 ` Wu, Jingjing
2017-01-12 3:21 ` Lu, Wenzhuo
2017-01-11 2:59 ` JOSHI, KAUSTUBH (KAUSTUBH)
2017-01-11 11:03 ` Vincent Jardin
2017-01-11 14:32 ` Zhang, Helin
2017-01-11 14:49 ` JOSHI, KAUSTUBH (KAUSTUBH)
2017-01-11 14:51 ` JOSHI, KAUSTUBH (KAUSTUBH)
2017-01-13 23:10 ` John Fastabend
2017-01-13 6:52 ` [dpdk-dev] [PATCH v9 00/26] Support VFD on i40e - EXPERIMENTAL Wenzhuo Lu
2017-01-13 6:52 ` [dpdk-dev] [PATCH v9 01/26] net/i40e: support link status notification Wenzhuo Lu
2017-01-15 23:35 ` Vincent JARDIN
2017-01-16 0:42 ` Lu, Wenzhuo
2017-01-13 6:52 ` [dpdk-dev] [PATCH v9 02/26] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-13 6:52 ` [dpdk-dev] [PATCH v9 03/26] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-13 6:52 ` [dpdk-dev] [PATCH v9 04/26] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 05/26] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 06/26] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 07/26] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 08/26] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 09/26] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 10/26] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 11/26] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 12/26] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 13/26] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 14/26] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 15/26] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 16/26] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 17/26] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 18/26] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 19/26] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 20/26] app/testpmd: use multicast " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 21/26] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 22/26] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 23/26] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 24/26] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 25/26] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-13 6:53 ` [dpdk-dev] [PATCH v9 26/26] doc: update doc for VFD Wenzhuo Lu
2017-01-13 18:32 ` [dpdk-dev] [PATCH v9 00/26] Support VFD on i40e - EXPERIMENTAL Ferruh Yigit
2017-01-15 23:52 ` Vincent JARDIN
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 01/26] net/i40e: support link status notification Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 02/26] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 03/26] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 04/26] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 05/26] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 06/26] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 07/26] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 08/26] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 09/26] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 10/26] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 11/26] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 12/26] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 13/26] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 14/26] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 15/26] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 16/26] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 17/26] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 18/26] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 19/26] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 20/26] app/testpmd: use multicast " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 21/26] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 22/26] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 23/26] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 24/26] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 25/26] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-16 5:51 ` [dpdk-dev] [PATCH v10 26/26] doc: update doc for VFD Wenzhuo Lu
2017-01-16 7:36 ` Vincent JARDIN
2017-01-16 10:05 ` Thomas Monjalon
2017-01-17 0:35 ` Lu, Wenzhuo
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 00/26] Support VFD on i40e - EXPERIMENTAL Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 01/26] net/i40e: support link status notification Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 02/26] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 03/26] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 04/26] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 05/26] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 06/26] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 07/26] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 08/26] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 09/26] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 10/26] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 11/26] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 12/26] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 13/26] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 14/26] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 15/26] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 16/26] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 17/26] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 18/26] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 19/26] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 20/26] app/testpmd: use multicast " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 21/26] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 22/26] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 23/26] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 24/26] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 25/26] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-17 2:28 ` [dpdk-dev] [PATCH v11 26/26] doc: update doc for VFD Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 00/26] Support VFD on i40e - EXPERIMENTAL Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 01/26] net/i40e: support link status notification Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 02/26] net/i40e: add callback to user on VF to PF mbox msg Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 03/26] net/i40e: set VF MAC anti-spoofing from PF Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 04/26] net/i40e: set VF VLAN " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 05/26] net/i40e: set Tx loopback " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 06/26] net/i40e: set VF unicast promisc mode " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 07/26] net/i40e: set VF multicast " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 08/26] net/i40e: enable VF MTU change Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 09/26] net/i40e: fix VF reset flow Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 10/26] net/i40e: set VF MAC from PF support Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 11/26] net/i40e: set VF MAC from VF support Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 12/26] net/i40e: fix VF MAC address assignment Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 13/26] net/i40e: set VF VLAN strip from PF Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 14/26] net/i40e: set VF VLAN insertion " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 15/26] net/i40e: set VF broadcast mode " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 16/26] net/i40e: set VF VLAN tag " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 17/26] net/i40e: set VF VLAN filter " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 18/26] app/testpmd: use VFD APIs on i40e Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 19/26] app/testpmd: use unicast promiscuous mode " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 20/26] app/testpmd: use multicast " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 21/26] app/testpmd: add command to test VF broadcast " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 22/26] app/testpmd: add command to test VF VLAN tag " Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 23/26] app/testpmd: handle i40e in VF VLAN filter command Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 24/26] net/i40e: enhance in sanity check of MAC Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 25/26] net/i40e: set/clear VF stats from PF Wenzhuo Lu
2017-01-17 8:45 ` [dpdk-dev] [PATCH v12 26/26] doc: update doc for VFD Wenzhuo Lu
2017-01-17 13:10 ` [dpdk-dev] [PATCH v12 00/26] Support VFD on i40e - EXPERIMENTAL Ferruh Yigit
2017-01-18 0:59 ` Lu, Wenzhuo
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=6A0DE07E22DDAD4C9103DF62FEBC09093B543CA8@shsmsx102.ccr.corp.intel.com \
--to=wenzhuo.lu@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
/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 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).