Re: [PATCH V2 18/22] bnxt_re: Support for DCB

2016-12-13 Thread Jason Gunthorpe
On Tue, Dec 13, 2016 at 11:55:55AM +0530, Selvin Xavier wrote: > v1 eth_type is not defined. All vendor drivers have their own definition. Send a cleanup patch? Jason

Re: [PATCH V2 18/22] bnxt_re: Support for DCB

2016-12-12 Thread Selvin Xavier
On Sat, Dec 10, 2016 at 7:20 PM, Or Gerlitz wrote: > On Fri, Dec 9, 2016 at 8:48 AM, Selvin Xavier > wrote: >> This patch queries the configured RoCE APP Priority on the host >> using the dcbnl API and programs the RoCE FW with the corresponding >> Traffic Class(es) for the priority. > >> +#defin

Re: [PATCH V2 18/22] bnxt_re: Support for DCB

2016-12-10 Thread Or Gerlitz
On Fri, Dec 9, 2016 at 8:48 AM, Selvin Xavier wrote: > This patch queries the configured RoCE APP Priority on the host > using the dcbnl API and programs the RoCE FW with the corresponding > Traffic Class(es) for the priority. > +#define BNXT_RE_ROCE_V1_ETH_TYPE 0x8915 > +#define BNXT_RE_RO

[PATCH V2 18/22] bnxt_re: Support for DCB

2016-12-08 Thread Selvin Xavier
This patch queries the configured RoCE APP Priority on the host using the dcbnl API and programs the RoCE FW with the corresponding Traffic Class(es) for the priority. v2: Fixed some sparse warning and cleanup of function bnxt_re_query_hwrm_pri2cos Signed-off-by: Eddie Wai Signed-off-by: Devesh