[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-20 Thread Thomas Monjalon
2016-04-20 01:09, Rasesh Mody: > Hi Thomas, > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Tuesday, April 19, 2016 5:59 AM > > > > 2016-03-31 19:15, Rasesh Mody: > > > +ifeq ($(OS_TYPE),Linux) > > > +CFLAGS_ECORE_DRIVER += -Wno-shift-negative-value endif > > > > I se

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-20 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, April 19, 2016 6:18 AM > > 2016-03-31 19:15, Rasesh Mody: > > The Qlogic Everest Driver for Ethernet(QEDE) Poll Mode Driver(PMD) is > > the DPDK specific module for QLogic FastLinQ QL4 25G/40G CNA > > family of adap

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-20 Thread Rasesh Mody
Hi Thomas, > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, April 19, 2016 5:59 AM > > 2016-03-31 19:15, Rasesh Mody: > > +ifeq ($(OS_TYPE),Linux) > > +CFLAGS_ECORE_DRIVER += -Wno-shift-negative-value endif > > I see an error with clang: > fatal error: unknown warni

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-19 Thread Thomas Monjalon
2016-03-31 19:15, Rasesh Mody: > The Qlogic Everest Driver for Ethernet(QEDE) Poll Mode Driver(PMD) is > the DPDK specific module for QLogic FastLinQ QL4 25G/40G CNA family > of adapters as well as their virtual functions (VF) in SR-IOV context. > > This patch adds QEDE PMD, which interacts wi

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-19 Thread Thomas Monjalon
2016-03-31 19:15, Rasesh Mody: > +ifeq ($(OS_TYPE),Linux) > +CFLAGS_ECORE_DRIVER += -Wno-shift-negative-value > +endif I see an error with clang: fatal error: unknown warning option '-Wno-shift-negative-value'; did you mean '-Wno-shift-sign-overflow'?

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-19 Thread Thomas Monjalon
2016-03-31 19:15, Rasesh Mody: > +# > +# CFLAGS > +# > +CFLAGS_ECORE_DRIVER = -Wno-unused-parameter > +CFLAGS_ECORE_DRIVER += -Wno-unused-value > +CFLAGS_ECORE_DRIVER += -Wno-sign-compare > +CFLAGS_ECORE_DRIVER += -Wno-missing-prototypes > +CFLAGS_ECORE_DRIVER += -Wno-cast-qual > +CFLAGS_ECORE_DRIV

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-01 Thread Stephen Hemminger
On Thu, 31 Mar 2016 19:15:22 -0700 Rasesh Mody wrote: > +struct qed_filter_mcast_params { > + enum qed_filter_xcast_params_type type; > + uint8_t num; > + unsigned char mac[64][ETHER_ADDR_LEN]; > +}; Would prefer a #define constant for the maximum number of multicast addresses rather

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-04-01 Thread Stephen Hemminger
On Thu, 31 Mar 2016 19:15:22 -0700 Rasesh Mody wrote: > +struct qed_filter_ucast_params { > + enum qed_filter_xcast_params_type type; > + uint8_t vlan_valid; > + uint16_t vlan; > + uint8_t mac_valid; > + unsigned char mac[ETHER_ADDR_LEN]; > +} __attribute__ ((__packed__)); Wh

[dpdk-dev] [PATCH v5 05/10] qede: Add core driver

2016-03-31 Thread Rasesh Mody
The Qlogic Everest Driver for Ethernet(QEDE) Poll Mode Driver(PMD) is the DPDK specific module for QLogic FastLinQ QL4 25G/40G CNA family of adapters as well as their virtual functions (VF) in SR-IOV context. This patch adds QEDE PMD, which interacts with base driver and initialises the HW. T