OpenCloudOS-Kernel/drivers/net
Parav Pandit d067111586 virtio-net: Reduce debug name field size to 16 bytes
virtio queue index can be maximum of 65535. 16 bytes are enough to store
the vq name with the existing string prefix.

With this change, send queue struct saves 24 bytes and receive
queue saves whole cache line worth 64 bytes per structure
due to saving in alignment bytes.

Pahole results before:

pahole -s drivers/net/virtio_net.o | \
    grep -e "send_queue" -e "receive_queue"
send_queue      1112    0
receive_queue   1280    1

Pahole results after:
pahole -s drivers/net/virtio_net.o | \
    grep -e "send_queue" -e "receive_queue"
send_queue      1088    0
receive_queue   1216    1

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-25 09:27:13 +00:00
..
appletalk
arcnet
bonding drivers/net/bonding/bond_3ad: return when there's no aggregator 2023-01-03 09:17:12 +00:00
caif
can
dsa net: dsa: microchip: add support for credit based shaper 2023-01-23 22:12:35 -08:00
ethernet net: mscc: ocelot: fix incorrect verify_enabled reporting in ethtool get_mm() 2023-01-24 18:34:20 -08:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-01-20 12:28:23 -08:00
ipvlan
mctp
mdio net: mdio: mux-meson-g12a: use devm_clk_get_enabled to simplify the code 2023-01-23 14:46:51 +00:00
netdevsim devlink: protect health reporter operation with instance lock 2023-01-19 19:08:37 -08:00
pcs net: pcs: pcs-lynx: use phylink_get_link_timer_ns() helper 2023-01-13 21:52:50 -08:00
phy net: phy: microchip: run phy initialization during each link update 2023-01-23 22:34:19 -08:00
plip
ppp
pse-pd
slip
team Revert "net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf" 2023-01-18 20:32:44 -08:00
thunderbolt net: thunderbolt: Add tracepoints 2023-01-12 21:19:30 -08:00
usb r8152: reduce the control transfer of rtl8152_get_version() 2023-01-20 18:06:09 -08:00
vmxnet3
vxlan vxlan: Fix memory leaks in error path 2023-01-02 13:37:33 +00:00
wan net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs 2023-01-13 21:34:31 -08:00
wireguard
wireless wifi: mac80211: drop extra 'e' from ieeee80211... name 2023-01-19 14:57:51 +01:00
wwan
xen-netback xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00
Kconfig net: thunderbolt: Move into own directory 2023-01-12 21:19:30 -08:00
LICENSE.SRC
Makefile net: thunderbolt: Move into own directory 2023-01-12 21:19:30 -08:00
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c macsec: dump IFLA_MACSEC_OFFLOAD attribute as part of macsec dump 2023-01-12 21:43:37 -08:00
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c virtio-net: Reduce debug name field size to 16 bytes 2023-01-25 09:27:13 +00:00
vrf.c
vsockmon.c
xen-netfront.c xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00