From: Bynoe, Ronald J <ronald.j.bynoe@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH] i40e: Fix configure TCs after initial DCB disable
Date: Wed, 21 Sep 2016 19:28:46 +0000 [thread overview]
Message-ID: <1474486126.2485.10.camel@intel.com> (raw)
In-Reply-To: <1474380650-8771-1-git-send-email-david.m.ertman@intel.com>
On Tue, 2016-09-20 at 07:10 -0700, Dave Ertman wrote:
> in commit a036244c068612a43fa8c0f33a0eb4daa4d8dba0 a fix
> was put into place to avoid a kernel panic when a non-
> supported traffic class configuration was put into place
> and then lldp was enabled/disabled on the link partner
> switch.??This fix caused it to be necessary to
> unload/reload the driver to reenable DCB once a supported
> TC config was in place.
>
> The root cause of the original panic was that the function
> i40e_pf_get_default_tc was allowing for a default TC other
> than TC 0, and only TC 0 is supported as a default.
>
> This patch removes the get_default_tc function and replaces
> it with a #define since there is only one TC supported as
> a default.
>
> Change-Id: I448371974e946386d0a7718d73668b450b7c72ef
> Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
> ---
> ?drivers/net/ethernet/intel/i40e/i40e.h??????|??1 +
> ?drivers/net/ethernet/intel/i40e/i40e_main.c | 31 ++++---------------
> ----------
> ?2 files changed, 5 insertions(+), 27 deletions(-)
Tested-by: Ronald Bynoe <ronald.j.bynoe@intel.com>
prev parent reply other threads:[~2016-09-21 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 14:10 [Intel-wired-lan] [PATCH] i40e: Fix configure TCs after initial DCB disable Dave Ertman
2016-09-21 19:28 ` Bynoe, Ronald J [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1474486126.2485.10.camel@intel.com \
--to=ronald.j.bynoe@intel.com \
--cc=intel-wired-lan@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.