[Bug 2066897] Re: IFLA_DPLL_PIN is not aligned with upstream value

2024-06-08 Thread Tony Duan
** Tags removed: verification-needed-jammy-linux-bluefield
** Tags added: verification-done-jammy-linux-bluefield

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066897

Title:
  IFLA_DPLL_PIN is not aligned with upstream value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2066897/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2066897] Re: IFLA_DPLL_PIN is not aligned with upstream value

2024-06-04 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
bluefield/5.15.0-1044.46 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-jammy-linux-bluefield' to
'verification-done-jammy-linux-bluefield'. If the problem still exists,
change the tag 'verification-needed-jammy-linux-bluefield' to
'verification-failed-jammy-linux-bluefield'.


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: kernel-spammed-jammy-linux-bluefield-v2 
verification-needed-jammy-linux-bluefield

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066897

Title:
  IFLA_DPLL_PIN is not aligned with upstream value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2066897/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2066897] Re: IFLA_DPLL_PIN is not aligned with upstream value

2024-06-03 Thread Bartlomiej Zolnierkiewicz
** Changed in: linux-bluefield (Ubuntu Jammy)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066897

Title:
  IFLA_DPLL_PIN is not aligned with upstream value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2066897/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2066897] Re: IFLA_DPLL_PIN is not aligned with upstream value

2024-06-03 Thread Bartlomiej Zolnierkiewicz
** Also affects: linux-bluefield (Ubuntu Jammy)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066897

Title:
  IFLA_DPLL_PIN is not aligned with upstream value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2066897/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2066897] Re: IFLA_DPLL_PIN is not aligned with upstream value

2024-05-23 Thread Tony Duan
** Description changed:

  * Introduction
- DPLL pin was exposed in upstream and backed into Bluefield kernel. But since 
there are some other value was not needed in Bluefield kernel, they are not in 
current Bluefield kernel. This may cause the value of IFLA_DPLL_PIN value be 
not same as upstream and break user application.
+ DPLL pin was exposed in upstream and backported into Bluefield 5.15 kernel 
(Jammy). But since there are some other value was not needed in Bluefield 
kernel, they are not in current Bluefield kernel. This may cause the value of 
IFLA_DPLL_PIN value be not same as upstream and break user application.
  
  * Explain the bug(s)
  IFLA_DPLL_PIN is defined in if_link.h as an enum element. The following 
elements before IFLA_DPLL_PIN are not needed by Bluefield kernel.
- IFLA_GRO_MAX_SIZE,
- IFLA_TSO_MAX_SIZE,
- IFLA_TSO_MAX_SEGS,
- IFLA_ALLMULTI,  /* Allmulti count: > 0 means acts ALLMULTI */
- IFLA_DEVLINK_PORT,
- IFLA_GSO_IPV4_MAX_SIZE,
- IFLA_GRO_IPV4_MAX_SIZE,
+ IFLA_GRO_MAX_SIZE,
+ IFLA_TSO_MAX_SIZE,
+ IFLA_TSO_MAX_SEGS,
+ IFLA_ALLMULTI,  /* Allmulti count: > 0 means acts ALLMULTI */
+ IFLA_DEVLINK_PORT,
+ IFLA_GSO_IPV4_MAX_SIZE,
+ IFLA_GRO_IPV4_MAX_SIZE,
  These missing elements will cause the value of IFLA_DPLL_PIN to be 58 in 
Bluefield kernel while it is 65 in upstream. This inconsistent value may break 
userspace applications.
  
  ~/synced/build# ./synced -i p0 -t 2 -v
  Config file does not exist at default path (/etc/synced/synced.conf), using 
default values.
  --
  SyncED v1.1.20.g0c2006cfeba5-1
-  
+ 
  Config file: /etc/synced/synced.conf
  Log file: /var/log/synced.log
  Log file size limit: 500 MB
  Wait to restore time: 2 seconds
  --
  NOTICE   [18/05/2024 00:19:15.078629]:
  NOTICE   [18/05/2024 00:19:15.078717]: SyncED is initializing...
  NOTICE   [18/05/2024 00:19:15.078728]:
  NOTICE   [18/05/2024 00:19:15.078739]: Adding Provider:
  NOTICE   [18/05/2024 00:19:15.078745]:  Name: 'p0'
  NOTICE   [18/05/2024 00:19:15.078751]:  Priority: 1
  NOTICE   [18/05/2024 00:19:15.078757]:  Backend: DPLL
  no IFLA_DPLL_PIN
  
  * Brief explanation of fixes
  
  Becasue these missing elements are not needed in Bluefield kernel. A
  possible fix is to set the IFLA_DPLL_PIN to 65.
  
  * How to test
  ~/synced/build# ./synced -i p0 -t 2 -v
  Config file does not exist at default path (/etc/synced/synced.conf), using 
default values.
  --
  SyncED v1.1.20.g0c2006cfeba5-1
-  
+ 
  Config file: /etc/synced/synced.conf
  Log file: /var/log/synced.log
  Log file size limit: 500 MB
  Wait to restore time: 2 seconds
  --
  NOTICE   [21/05/2024 10:07:29.097788]:
  NOTICE   [21/05/2024 10:07:29.098014]: SyncED is initializing...
  NOTICE   [21/05/2024 10:07:29.098036]:
  NOTICE   [21/05/2024 10:07:29.098050]: Adding Provider:
  NOTICE   [21/05/2024 10:07:29.098068]:  Name: 'p0'
  NOTICE   [21/05/2024 10:07:29.098076]:  Priority: 1
  NOTICE   [21/05/2024 10:07:29.098082]:  Backend: DPLL
  NOTICE   [21/05/2024 10:07:29.098236]:  DPLL pin ID: 0
  NOTICE   [21/05/2024 10:07:29.098375]:  DPLL device ID: 0
  NOTICE   [21/05/2024 10:07:29.138093]:  network_option: 1
  NOTICE   [21/05/2024 10:07:29.138139]:  local_clock_QL: QL_EEC1 [1]
  NOTICE   [21/05/2024 10:07:29.138149]:  local_ssm_code: 0xb
  NOTICE   [21/05/2024 10:07:29.138156]:  local_enhanced_ssm_code: 0xff
  NOTICE   [21/05/2024 10:07:29.138162]:  local_clock_ID: 0x48b02dfffea60fdc
  NOTICE   [21/05/2024 10:07:29.138343]:  DPLL pin ID: 0
  NOTICE   [21/05/2024 10:07:29.138495]:  DPLL device ID: 0
  NOTICE   [21/05/2024 10:07:29.138585]:  Adding it to Group #0
  NOTICE   [21/05/2024 10:07:29.138809]:
  NOTICE   [21/05/2024 10:07:29.138833]: Active groups:
  NOTICE   [21/05/2024 10:07:29.138840]:  SyncE Group #0:
  NOTICE   [21/05/2024 10:07:29.138847]:  network_option = 1
  NOTICE   [21/05/2024 10:07:29.138854]:  local_clock_QL = QL_EEC1 [1]
  NOTICE   [21/05/2024 10:07:29.138861]:  local_clock_ID = 
0x48b02dfffea60fdc
  NOTICE   [21/05/2024 10:07:29.138867]:  local_clock_interface = p0
  NOTICE   [21/05/2024 10:07:29.138873]:  SyncE Provider Interfaces =
  NOTICE   [21/05/2024 10:07:29.138879]:  p0 [Priority 1]
  NOTICE   [21/05/2024 10:07:29.138885]:
  NOTICE   [21/05/2024 10:07:29.138977]: Group #0: The device is in 
FREE_RUNNING mode.
  INFO [21/05/2024 10:07:29.139384]: SyncE Group #0: is in FREE_RUNNING 
mode.
  INFO [21/05/2024 10:07:30.139749]: SyncE Group #0: is in FREE_RUNNING 
mode.
  INFO [21/05/2024 10:07:31.140004]: SyncE Group #0: is in FREE_RUNNING 
mode.
  INFO [21/05/2024 10:07:32.140266]: SyncE Group #0: is in FREE_RUNNING 
mode.
  INFO