DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yong Wang <yongwang@vmware.com>
To: Mark Gillott <mgillott@vyatta.att-mail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
Date: Wed, 1 May 2019 18:02:41 +0000	[thread overview]
Message-ID: <534EFB63-EC76-4323-A530-B398B8FF5128@vmware.com> (raw)
Message-ID: <20190501180241.kM4z9WhY9xax3Oc0f6kZjS9W-dYhM3sOSczPTIrQMf4@z> (raw)
In-Reply-To: <20190501152942.6552-1-mgillott@vyatta.att-mail.com>

-----Original Message-----
From: Mark Gillott <mgillott@vyatta.att-mail.com>
Date: Wednesday, May 1, 2019 at 8:30 AM
To: Yong Wang <yongwang@vmware.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Mark Gillott <mgillott@vyatta.att-mail.com>
Subject: [PATCH] net/vmxnet3: add VLAN filter capability

    The driver supports VLAN filtering, but the option is not included in
    the advertised list of capabilities. Thus any attempt to enable VLAN
    filtering always fails. Update the list of offload capabilities to
    include DEV_RX_OFFLOAD_VLAN_FILTER.
    
    Signed-off-by: Mark Gillott <mgillott@vyatta.att-mail.com>
    ---
Acked-by: Yong Wang <yongwang@vmware.com>

     drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
    index 846d7fd7a..f54536b49 100644
    --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
    +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
    @@ -52,6 +52,7 @@
     
     #define VMXNET3_RX_OFFLOAD_CAP		\
     	(DEV_RX_OFFLOAD_VLAN_STRIP |	\
    +	 DEV_RX_OFFLOAD_VLAN_FILTER |   \
     	 DEV_RX_OFFLOAD_SCATTER |	\
     	 DEV_RX_OFFLOAD_IPV4_CKSUM |	\
     	 DEV_RX_OFFLOAD_UDP_CKSUM |	\
    -- 
    2.17.1
    
    


  parent reply	other threads:[~2019-05-01 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-01 15:29 Mark Gillott
2019-05-01 15:29 ` Mark Gillott
2019-05-01 18:02 ` Yong Wang [this message]
2019-05-01 18:02   ` Yong Wang
2019-05-02 16:43   ` Ferruh Yigit
2019-05-02 16:43     ` Ferruh Yigit

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=534EFB63-EC76-4323-A530-B398B8FF5128@vmware.com \
    --to=yongwang@vmware.com \
    --cc=dev@dpdk.org \
    --cc=mgillott@vyatta.att-mail.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).