diff options
author | Cristian Bercaru <cristian.bercaru@freescale.com> | 2013-05-14 14:46:05 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-05-14 23:13:39 (GMT) |
commit | 0a6c1da79a0a81a3e955b56c0080e76c9d98c3b2 (patch) | |
tree | 3f0cde536172c89e35610e8fc9a33cd74f08b4f9 /drivers/net/ethernet/freescale/dpa/mac.h | |
parent | 20ed6abedbf74706d8681455ae42787d45ac85a5 (diff) | |
download | linux-fsl-qoriq-0a6c1da79a0a81a3e955b56c0080e76c9d98c3b2.tar.xz |
dpaa_eth: fix ethtool pause frame issue on tx
Fixed issue introduced in
"dpaa_eth: add ethtool PAUSE frame support"
Passing proper 'priority' value to 'FM_MAC_SetTxPauseFrames'.
Signed-off-by: Cristian Bercaru <cristian.bercaru@freescale.com>
Change-Id: Ib4f67e4147c410cafdb26b8e741c0f15af51a08a
Reviewed-on: http://git.am.freescale.net:8181/2483
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/mac.h')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/mac.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/mac.h b/drivers/net/ethernet/freescale/dpa/mac.h index 87c21c4..7025ea7 100644 --- a/drivers/net/ethernet/freescale/dpa/mac.h +++ b/drivers/net/ethernet/freescale/dpa/mac.h @@ -113,8 +113,7 @@ extern const char *mac_driver_description; extern const size_t mac_sizeof_priv[]; extern void (*const mac_setup[])(struct mac_device *mac_dev); -#define TX_PAUSE_PRIO_ENABLE 0 -#define TX_PAUSE_PRIO_DISABLE 0xff +#define TX_PAUSE_PRIO_DEFAULT 0xff #define TX_PAUSE_TIME_ENABLE 0xf000 #define TX_PAUSE_TIME_DISABLE 0 #define TX_PAUSE_THRESH_DEFAULT 0 |