kernel 4.18 supports Coalesce adaptive TX
====================================================================
uname -a
Linux xgene3 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:39 UTC 
2019 aarch64 aarch64 aarch64 GNU/Linux

lspci -vvv
0000:01:00.0 Ethernet controller: Mellanox Technologies MT27710 Family 
[ConnectX-4 Lx]
        Subsystem: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]

ethtool -i enp1s0
driver: mlx5_core
version: 5.0-0
firmware-version: 14.24.1000 (MT_2430110032)
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

ethtool -c enp1s0
Coalesce parameters for enp1s0:
Adaptive RX: on  TX: on
stats-block-usecs: 0
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0

rx-usecs: 8
rx-frames: 128
rx-usecs-irq: 0
rx-frames-irq: 0

tx-usecs: 8
tx-frames: 128
tx-usecs-irq: 0
tx-frames-irq: 0

rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0

rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0

lsmod
Module                  Size  Used by
nls_iso8859_1          16384  1
rndis_wlan             57344  0
rndis_host             16384  1 rndis_wlan
cdc_ether              16384  1 rndis_host
usbnet                 49152  3 rndis_wlan,rndis_host,cdc_ether
cfg80211              733184  1 rndis_wlan
joydev                 28672  0
input_leds             16384  0
ipmi_ssif              28672  0
ipmi_devintf           20480  0
ipmi_msghandler        57344  2 ipmi_devintf,ipmi_ssif
xgene_hwmon            20480  0
cppc_cpufreq           16384  0
sch_fq_codel           20480  33
ib_iser                49152  0
rdma_cm                65536  1 ib_iser
iw_cm                  40960  1 rdma_cm
ib_cm                  61440  1 rdma_cm
iscsi_tcp              20480  0
libiscsi_tcp           28672  1 iscsi_tcp
libiscsi               53248  3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi   110592  3 iscsi_tcp,ib_iser,libiscsi
ip_tables              28672  0
x_tables               45056  1 ip_tables
autofs4                53248  2
hid_generic            16384  0
usbhid                 61440  0
hid                   131072  2 usbhid,hid_generic
btrfs                1273856  0
zstd_compress         159744  1 btrfs
raid10                 57344  0
raid456               167936  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    20480  2 async_xor,btrfs
uas                    24576  0
usb_storage            69632  1 uas
raid6_pq              106496  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  2 btrfs,raid456
raid1                  40960  0
raid0                  20480  0
multipath              20480  0
linear                 16384  0
mlx5_ib               237568  0
ib_uverbs             106496  1 mlx5_ib
ib_core               266240  6 rdma_cm,iw_cm,ib_iser,ib_uverbs,mlx5_ib,ib_cm
dwc3                  151552  0
ulpi                   16384  1 dwc3
udc_core               57344  1 dwc3
ast                    61440  1
mlx5_core             671744  1 mlx5_ib
ttm                   118784  1 ast
aes_ce_blk             28672  0
aes_ce_cipher          16384  1 aes_ce_blk
drm_kms_helper        196608  1 ast
crc32_ce               16384  3
crct10dif_ce           16384  0
syscopyarea            16384  1 drm_kms_helper
ghash_ce               20480  0
sysfillrect            16384  1 drm_kms_helper
sha2_ce                16384  0
sysimgblt              16384  1 drm_kms_helper
tls                    57344  1 mlx5_core
sha256_arm64           24576  1 sha2_ce
fb_sys_fops            16384  1 drm_kms_helper
igb                   229376  0
sha1_ce                16384  0
mlxfw                  20480  1 mlx5_core
drm                   471040  4 drm_kms_helper,ast,ttm
i2c_algo_bit           16384  2 igb,ast
devlink                53248  1 mlx5_core
ahci_platform          16384  2
libahci_platform       20480  1 ahci_platform
libahci                40960  2 libahci_platform,ahci_platform
i2c_xgene_slimpro      16384  0
gpio_dwapb             20480  0
xhci_plat_hcd          20480  0
aes_neon_bs            24576  1
aes_neon_blk           28672  1 aes_neon_bs
crypto_simd            16384  3 aes_neon_bs,aes_ce_blk,aes_neon_blk
cryptd                 28672  1 crypto_simd
aes_arm64              16384  5 
aes_neon_bs,aes_ce_cipher,ghash_ce,aes_ce_blk,aes_neon_blk

====================================================================


kernel 4.15 does NOT support Coalesce adaptive TX
====================================================================
uname -a
Linux x8168 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 
x86_64 x86_64 GNU/Linux

lspci -vvv
65:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
        Subsystem: Mellanox Technologies MT27800 Family [ConnectX-5]

ethtool -i enp101s0f0
driver: mlx5_core
version: 5.0-0
firmware-version: 16.24.1000 (MT_0000000090)
expansion-rom-version:
bus-info: 0000:65:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

ethtool -c enp101s0f0
Coalesce parameters for enp101s0f0:
Adaptive RX: on  TX: off
stats-block-usecs: 0
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0

rx-usecs: 8
rx-frames: 128
rx-usecs-irq: 0
rx-frames-irq: 0

tx-usecs: 16
tx-frames: 32
tx-usecs-irq: 0
tx-frames-irq: 0

rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0

rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0

lsmod
Module                  Size  Used by
ipmi_ssif              32768  0
nls_iso8859_1          16384  1
intel_rapl             20480  0
skx_edac               16384  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             212992  0
kvm                   598016  1 kvm_intel
irqbypass              16384  1 kvm
dcdbas                 16384  0
intel_cstate           20480  0
intel_rapl_perf        16384  0
lpc_ich                24576  0
mei_me                 40960  0
shpchp                 36864  0
mei                    90112  1 mei_me
ipmi_si                61440  0
ipmi_devintf           20480  0
ipmi_msghandler        53248  3 ipmi_devintf,ipmi_si,ipmi_ssif
acpi_power_meter       20480  0
mac_hid                16384  0
sch_fq_codel           20480  49
ib_iser                49152  0
rdma_cm                61440  1 ib_iser
iw_cm                  45056  1 rdma_cm
ib_cm                  53248  1 rdma_cm
iscsi_tcp              20480  0
libiscsi_tcp           20480  1 iscsi_tcp
libiscsi               53248  3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi    98304  3 iscsi_tcp,ib_iser,libiscsi
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1122304  0
zstd_compress         163840  1 btrfs
raid10                 53248  0
raid456               143360  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  1 raid456
raid1                  40960  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
mlx5_ib               196608  0
ib_core               225280  5 rdma_cm,iw_cm,ib_iser,mlx5_ib,ib_cm
mgag200                45056  1
i2c_algo_bit           16384  1 mgag200
ttm                   106496  1 mgag200
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
drm_kms_helper        172032  1 mgag200
ghash_clmulni_intel    16384  0
pcbc                   16384  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
aesni_intel           188416  0
mlx5_core             544768  1 mlx5_ib
sysimgblt              16384  1 drm_kms_helper
mlxfw                  20480  1 mlx5_core
fb_sys_fops            16384  1 drm_kms_helper
aes_x86_64             20480  1 aesni_intel
devlink                45056  1 mlx5_core
mpt3sas               241664  2
crypto_simd            16384  1 aesni_intel
ptp                    20480  1 mlx5_core
raid_class             16384  1 mpt3sas
glue_helper            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
pps_core               20480  1 ptp
drm                   401408  4 drm_kms_helper,mgag200,ttm
scsi_transport_sas     40960  1 mpt3sas
ahci                   40960  0
libahci                32768  1 ahci

====================================================================

-- 
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/1832641

Title:
  4.15.0-46-generic doesn't support ethtool adaptive-tx for mlx5 card

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu Bionic 18.04 LTS:
  We found that default bionic kernel 4.15.0-46-generic doesn't support ethtool 
-C adaptive-tx
  Our ethernet card is Mellanox Connect4-Lx and Connect5, and this will affect 
performance of latency sensitive workloads like memcached.
  Maybe we should backport adaptive-tx support to kernel 4.15 LTS?

  
  Xeon Skylake 8168 x86_64:
  ubuntu kernel 4.15.0-46-generic
  eth: mlx5 connect-5
  ethtool doesn't support adaptive-tx (ethernet TX interrupt coalesce)

  X-Gene3 aarch64:
  ubuntu kernel 4.18.0-16-generic, eth: mlx5 connect-4lx
  ethtool supports adaptive-tx (ethernet TX interrupt coalesce)

  Same Xeon Skylake 8168 x86_64
  latest kernel 5.2.0-rc2
  eth: mlx5 connect-5
  ethtool supports adaptive-tx (ethernet TX interrupt coalesce)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1832641/+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

Reply via email to