DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
@ 2019-05-01 15:29 Mark Gillott
  2019-05-01 15:29 ` Mark Gillott
  2019-05-01 18:02 ` Yong Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Gillott @ 2019-05-01 15:29 UTC (permalink / raw)
  To: yongwang; +Cc: dev, Mark Gillott

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

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

* [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
  2019-05-01 15:29 [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability Mark Gillott
@ 2019-05-01 15:29 ` Mark Gillott
  2019-05-01 18:02 ` Yong Wang
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Gillott @ 2019-05-01 15:29 UTC (permalink / raw)
  To: yongwang; +Cc: dev, Mark Gillott

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


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

* Re: [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
  2019-05-01 15:29 [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability Mark Gillott
  2019-05-01 15:29 ` Mark Gillott
@ 2019-05-01 18:02 ` Yong Wang
  2019-05-01 18:02   ` Yong Wang
  2019-05-02 16:43   ` Ferruh Yigit
  1 sibling, 2 replies; 6+ messages in thread
From: Yong Wang @ 2019-05-01 18:02 UTC (permalink / raw)
  To: Mark Gillott; +Cc: dev

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


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

* Re: [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
  2019-05-01 18:02 ` Yong Wang
@ 2019-05-01 18:02   ` Yong Wang
  2019-05-02 16:43   ` Ferruh Yigit
  1 sibling, 0 replies; 6+ messages in thread
From: Yong Wang @ 2019-05-01 18:02 UTC (permalink / raw)
  To: Mark Gillott; +Cc: dev

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


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

* Re: [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
  2019-05-01 18:02 ` Yong Wang
  2019-05-01 18:02   ` Yong Wang
@ 2019-05-02 16:43   ` Ferruh Yigit
  2019-05-02 16:43     ` Ferruh Yigit
  1 sibling, 1 reply; 6+ messages in thread
From: Ferruh Yigit @ 2019-05-02 16:43 UTC (permalink / raw)
  To: Yong Wang, Mark Gillott; +Cc: dev

On 5/1/2019 7:02 PM, Yong Wang wrote:
> -----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>

Applied to dpdk-next-net/master, thanks.

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

* Re: [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability
  2019-05-02 16:43   ` Ferruh Yigit
@ 2019-05-02 16:43     ` Ferruh Yigit
  0 siblings, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2019-05-02 16:43 UTC (permalink / raw)
  To: Yong Wang, Mark Gillott; +Cc: dev

On 5/1/2019 7:02 PM, Yong Wang wrote:
> -----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>

Applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2019-05-02 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 15:29 [dpdk-dev] [PATCH] net/vmxnet3: add VLAN filter capability Mark Gillott
2019-05-01 15:29 ` Mark Gillott
2019-05-01 18:02 ` Yong Wang
2019-05-01 18:02   ` Yong Wang
2019-05-02 16:43   ` Ferruh Yigit
2019-05-02 16:43     ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).