[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-24 Thread Andrew Cloke
** Changed in: kunpeng920/ubuntu-20.04
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-09 Thread Taihsiang Ho
** Tags removed: tairadar

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-06 Thread Andrew Cloke
** Also affects: kunpeng920/ubuntu-19.10
   Importance: Undecided
   Status: New

** Changed in: kunpeng920/ubuntu-19.10
   Status: New => Fix Released

** Changed in: kunpeng920/ubuntu-19.10
Milestone: None => ubuntu-18.04.4

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: ubuntu-18.04.5 => ubuntu-18.04.4

** Changed in: kunpeng920/ubuntu-19.10
Milestone: ubuntu-18.04.4 => ubuntu-19.10-sru-7

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920/ubuntu-18.04
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920/ubuntu-18.04
Milestone: None => ubuntu-18.04.4-sru-4

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-06 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-96.97

---
linux (4.15.0-96.97) bionic; urgency=medium

  * CVE-2020-8834
- KVM: PPC: Book3S HV: Factor fake-suspend handling out of
  kvmppc_save/restore_tm
- KVM: PPC: Book3S PR: Move kvmppc_save_tm/kvmppc_restore_tm to separate 
file
- KVM: PPC: Book3S PR: Add guest MSR parameter for
  kvmppc_save_tm()/kvmppc_restore_tm()

linux (4.15.0-94.95) bionic; urgency=medium

  * bionic/linux: 4.15.0-94.95 -proposed tracker (LP: #1868984)

  * Missing wireless network interface after kernel 5.3.0-43 upgrade with eoan
(LP: #1868442)
- iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices

linux (4.15.0-93.94) bionic; urgency=medium

  * bionic/linux: 4.15.0-93.94 -proposed tracker (LP: #1868764)

  * quotactl04 from ubuntu_ltp_syscalls failed with B (LP: #1868665)
- ext4: fix mount failure with quota configured as module

linux (4.15.0-92.93) bionic; urgency=medium

  * bionic/linux: 4.15.0-92.93 -proposed tracker (LP: #1867272)

  * Packaging resync (LP: #1786013)
- [Packaging] resync getabis
- [Packaging] update helper scripts

  * Introduce the new NVIDIA 440 series, and add 5.4 Linux compatibility to the
340 and 390 series (LP: #1854485)
- [Packaging] NVIDIA -- add support for the 435 and the 440 series

  * Stop using get_scalar_status command in Dell AIO uart backlight driver
(LP: #1865402)
- SAUCE: platform/x86: dell-uart-backlight: add get_display_mode command

  * Bionic update: upstream stable patchset 2020-03-12 (LP: #1867194)
- RDMA/core: Fix locking in ib_uverbs_event_read
- gpio: zynq: Report gpio direction at boot
- arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
- KVM: arm: Fix DFSR setting for non-LPAE aarch32 guests
- KVM: arm: Make inject_abt32() inject an external abort instead
- mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock
- mtd: sharpslpart: Fix unsigned comparison to zero
- padata: fix null pointer deref of pd->pinst
- Input: synaptics - switch T470s to RMI4 by default
- Input: synaptics - enable SMBus on ThinkPad L470
- Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
- ALSA: hda/realtek - Fix silent output on MSI-GL73
- ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
- arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
- ALSA: usb-audio: sound: usb: usb true/false for bool return type
- ext4: don't assume that mmp_nodename/bdevname have NUL
- ext4: fix support for inode sizes > 1024 bytes
- ext4: fix checksum errors with indexed dirs
- ext4: add cond_resched() to ext4_protect_reserved_inode
- ext4: improve explanation of a mount failure caused by a misconfigured
  kernel
- Btrfs: fix race between using extent maps and merging them
- btrfs: ref-verify: fix memory leaks
- btrfs: print message when tree-log replay starts
- btrfs: log message when rw remount is attempted with unclean tree-log
- arm64: ssbs: Fix context-switch when SSBS is present on all CPUs
- perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event 
map
- IB/hfi1: Close window for pq and request coliding
- IB/rdmavt: Reset all QPs when the device is shut down
- RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq
- RDMA/core: Fix protection fault in get_pkey_idx_qp_list
- s390/time: Fix clk type in get_tod_clock
- perf/x86/intel: Fix inaccurate period in context switch for auto-reload
- hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
- jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
- jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
- KVM: x86/mmu: Fix struct guest_walker arrays for 5-level paging

  * Bionic update: upstream stable patchset 2020-03-09 (LP: #1866678)
- kernel/module: Fix memleak in module_add_modinfo_attrs()
- media: iguanair: fix endpoint sanity check
- x86/cpu: Update cached HLE state on write to TSX_CTRL_CPUID_CLEAR
- iwlwifi: mvm: fix NVM check for 3168 devices
- sparc32: fix struct ipc64_perm type definition
- cls_rsvp: fix rsvp_policy
- gtp: use __GFP_NOWARN to avoid memalloc warning
- l2tp: Allow duplicate session creation with UDP
- net: hsr: fix possible NULL deref in hsr_handle_frame()
- net_sched: fix an OOB access in cls_tcindex
- bnxt_en: Fix TC queue mapping.
- tcp: clear tp->total_retrans in tcp_disconnect()
- tcp: clear tp->delivered in tcp_disconnect()
- tcp: clear tp->data_segs{in|out} in tcp_disconnect()
- tcp: clear tp->segs_{in|out} in tcp_disconnect()
- rxrpc: Fix insufficient receive notification generation
- rxrpc: Fix NULL pointer deref due to call->conn being cleared on 
disconnect
- media: uvcvideo: Avoid cyclic entity chains due to malformed USB 
descriptors
- mfd: 

[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-18 Thread Taihsiang Ho
Verified via

1. ping and is accessible externally via eth

2. checked the loaded kernel modules and enablement log of dmesg

3. checkbox-cli

$ checkbox-cli run com.canonical.certification::ethernet/detect
com.canonical.certification::ethernet/info_automated
com.canonical.certification::ethernet/info_automated_server

Finalizing session that hasn't been submitted anywhere: 
checkbox-run-2020-03-18T18.30.47
==[ Results ]===
 ☑ : Hardware Manifest
 ☑ : Detect if at least one ethernet device is detected
 ☑ : Enumerate available system executables
 ☑ : Collect information about hardware devices (udev)
 ☑ : Gather info on current state of network devices
 ☑ : Provide information about detected ethernet devices
ubuntu@scobee:~$ uname -a
Linux scobee 4.15.0-92-generic #93-Ubuntu SMP Mon Mar 16 15:40:04 UTC 2020 
aarch64 aarch64 aarch64 GNU/Linux

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-18 Thread Andrew Cloke
** Changed in: kunpeng920
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-17 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-12 Thread Andrew Cloke
** Changed in: kunpeng920/ubuntu-18.04
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-11 Thread Khaled El Mously
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-10 Thread Taihsiang Ho
This patch https://lists.ubuntu.com/archives/kernel-
team/2020-March/108124.html has been tested on bionic to look for
regression:


1. ping and is accessible externally via eth

2. checked the loaded kernel modules and enablement log of dmesg

3. checkbox-cli

ubuntu@scobee:~$ checkbox-cli run
com.canonical.certification::ethernet/detect
com.canonical.certification::ethernet/info_automated
com.canonical.certification::ethernet/info_automated_server

Finalizing session that hasn't been submitted anywhere: 
checkbox-run-2020-03-10T13.13.52
==[ Results ]===
 ☑ : Hardware Manifest
 ☑ : Detect if at least one ethernet device is detected
 ☑ : Enumerate available system executables
 ☑ : Collect information about hardware devices (udev)
 ☑ : Gather info on current state of network devices
 ☑ : Provide information about detected ethernet devices
ubuntu@scobee:~$

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-10 Thread Ike Panhc
** Changed in: linux (Ubuntu Eoan)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-10 Thread Ike Panhc
** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
   Status: Incomplete

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Focal)
   Status: Incomplete => Fix Released

** Changed in: linux (Ubuntu Bionic)
   Status: New => Incomplete

** Changed in: linux (Ubuntu Bionic)
   Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Eoan:
  New
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-03-09 Thread Taihsiang Ho
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  New

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp