commit | 66367dab30c7040e638e5496a47184cfc8ba39a4 | [log] [tgz] |
---|---|---|
author | sudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com> | Wed Apr 19 03:19:52 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 20 16:29:39 2017 -0400 |
tree | 699d6d62125446b4ba29b10f7ab2dfb00da2a8cd | |
parent | e9156cd26a495a18706e796f02a81fee41ec14f4 [diff] |
qed: Fix possible error in populating max_tc field. Some adapters may not publish the max_tc value. Populate the default value for max_tc field in case the mfw didn't provide one. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>