cxgb4: Fix incorrect PFVF CMASK
authorVipul Pandya <vipul@chelsio.com>
Wed, 9 Jan 2013 07:42:49 +0000 (07:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jan 2013 08:06:17 +0000 (00:06 -0800)
With Hard-Wired firmware configuration it was incorrectly provisioning the VFs
Channel Access Rights Mask.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

index aa63b66..424f8ed 100644 (file)
@@ -4016,8 +4016,7 @@ static int adap_init0_no_config(struct adapter *adapter, int reset)
                                                  VFRES_NEQ, VFRES_NETHCTRL,
                                                  VFRES_NIQFLINT, VFRES_NIQ,
                                                  VFRES_TC, VFRES_NVI,
-                                                 FW_PFVF_CMD_CMASK_GET(
-                                                 FW_PFVF_CMD_CMASK_MASK),
+                                                 FW_PFVF_CMD_CMASK_MASK,
                                                  pfvfres_pmask(
                                                  adapter, pf, vf),
                                                  VFRES_NEXACTF,