net/qede: fix CFLAGS for base files
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 25 Apr 2017 07:28:46 +0000 (00:28 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:18 +0000 (14:46 +0200)
commitaf785e475cfaef30e525e48e242946529b237b7a
tree2cedb4dc7b24c35f96cfd73dcd02d0a4160632a0
parent9a671097bc537cd830f6c9a68de68573ed5522f2
net/qede: fix CFLAGS for base files

Changes included in this fix
 - limit CFLAGS to base files
 - fix to remove/mark unused members
 - add checks for debug config option
 - make qede_set_mtu() and qede_udp_dst_port_del() static and others
   non-static as appropriate
 - move local APIs qede_vlan_offload_set() and qede_rx_cqe_to_pkt_type()
 - initialize variables as required

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/Makefile
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_int_api.h
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h
drivers/net/qede/qede_fdir.c
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c
drivers/net/qede/qede_rxtx.c