On Sat, Dec 10, 2016 at 7:20 PM, Or Gerlitz <gerlitz...@gmail.com> wrote: > On Fri, Dec 9, 2016 at 8:48 AM, Selvin Xavier > <selvin.xav...@broadcom.com> 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_ROCE_V2_PORT_NO 4791 > > I believe these two are defined already, try # git grep on each under include
Thanks Or for your comments. V2 port number is defined in ib_verbs.h. i will include this in the next patch set. v1 eth_type is not defined. All vendor drivers have their own definition. Thanks, Selvin