Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139805
b: refs/heads/master
c: ea4af4f
h: refs/heads/master
i:
  139803: da4bcf4
v: v3
  • Loading branch information
PJ Waskiewicz authored and David S. Miller committed Apr 2, 2009
1 parent 5c70614 commit 2195438
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c5b83230a22d0e14375e5f283b8aaf3320ebd86
refs/heads/master: ea4af4f447ecad42f8bffa4bd2278e183ba5ec9d
6 changes: 5 additions & 1 deletion trunk/drivers/net/ixgbe/ixgbe_dcb_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ int ixgbe_copy_dcb_cfg(struct ixgbe_dcb_config *src_dcb_cfg,
src_dcb_cfg->tc_config[i - DCB_PFC_UP_ATTR_0].dcb_pfc;
}

dst_dcb_cfg->pfc_mode_enable = src_dcb_cfg->pfc_mode_enable;

return 0;
}

Expand Down Expand Up @@ -298,8 +300,10 @@ static void ixgbe_dcbnl_set_pfc_cfg(struct net_device *netdev, int priority,

adapter->temp_dcb_cfg.tc_config[priority].dcb_pfc = setting;
if (adapter->temp_dcb_cfg.tc_config[priority].dcb_pfc !=
adapter->dcb_cfg.tc_config[priority].dcb_pfc)
adapter->dcb_cfg.tc_config[priority].dcb_pfc) {
adapter->dcb_set_bitmap |= BIT_PFC;
adapter->temp_dcb_cfg.pfc_mode_enable = true;
}
}

static void ixgbe_dcbnl_get_pfc_cfg(struct net_device *netdev, int priority,
Expand Down

0 comments on commit 2195438

Please sign in to comment.