cxgb4: advertise support for FR_NSMR_TPTE_WR
authorSteve Wise <swise@opengridcomputing.com>
Fri, 16 Sep 2016 14:54:49 +0000 (07:54 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:40 +0000 (16:54 -0400)
commit086de575c14239f77ea0dbf2370738a105c753ea
treed4e27b419e101d774251e23d6b78db950259f4f4
parentb6bc1c731f0b985e91f618561fc82c6e252dfaf4
cxgb4: advertise support for FR_NSMR_TPTE_WR

Query firmware for the FW_PARAMS_PARAM_DEV_RI_FR_NSMR_TPTE_WR parameter.
If it exists and is 1, then advertise support for FR_NSMR_TPTE_WR to
the ULDs.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h