[dpdk-dev] [PATCH 1/3] net/qede: fix supported packet types

Ferruh Yigit ferruh.yigit at intel.com
Mon Oct 23 20:35:51 CEST 2017


On 10/18/2017 6:13 PM, Rasesh Mody wrote:
> From: Harish Patil <harish.patil at cavium.com>
> 
> Update/fix supported ptypes to return both inner and outer headers,
> tunnel_type, fragmented and VLAN packet types.
> 
> Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling")
> Fixes: 2ea6f76aff40 ("qede: add core driver")
> 
> Signed-off-by: Harish Patil <harish.patil at cavium.com>
> Signed-off-by: Rasesh Mody <rasesh.mody at cavium.com>

Series applied to dpdk-next-net/master, thanks.


(There was a build error [1], fixed while applying, please check it.)

[1]
.../dpdk/drivers/net/qede/qede_ethdev.c: In function ‘qede_vxlan_tunn_config’:
.../dpdk/drivers/net/qede/qede_ethdev.c:684:13: error: ‘ucast.vlan’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
        ucast->vlan == tmp->vlan   &&
        ~~~~~^~~~~~
.../dpdk/drivers/net/qede/qede_ethdev.c:685:13: error: ‘ucast.vni’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
        ucast->vni == tmp->vni)
        ~~~~~^~~~~

Fixed in patch 2/3, by providing initial value of "0" to ucast.


More information about the dev mailing list