mirror-linux/drivers/net
Shay Agroskin da580ca8de net: ena: add device distinct log prefix to files
ENA logs are adjusted to display the full ENA representation to
distinct each ENA device in case of multiple interfaces.
Using netdev_err/warn and dev_info functions for logging provides
uniform printing with clear distinction of the device and interface.

This patch changes all printing in ena_com files to use netev_* logging
functions except for messages of info level. Log functions of that level
would be printed with dev_info because of the early stage they are
called in when net_device struct isn't yet registered.

To allow using netdev_* functions in all ena_com functions, a pointer to
the net_device was added to ena_com_dev struct.

The patch also adds some log messages to make driver debugging easier.

Signed-off-by: Amit Bernstein <amitbern@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-09 15:26:40 -08:00
..
appletalk
arcnet
bonding bonding: set xfrm feature flags more sanely 2020-12-07 18:21:29 -08:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-03 15:44:09 -08:00
dsa net: dsa: mt7530: support setting ageing time 2020-12-08 16:18:26 -08:00
ethernet net: ena: add device distinct log prefix to files 2020-12-09 15:26:40 -08:00
fddi
fjes
hamradio
hippi
hyperv Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-12-04 07:48:12 -08:00
ieee802154
ipa net: ipa: fix build-time bug in ipa_hardware_config_qsb() 2020-12-02 17:11:21 -08:00
ipvlan
mdio
netdevsim
pcs
phy net: phy: marvell: replace phy_modify() 2020-12-01 17:08:07 -08:00
plip
ppp
slip
team
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-11-27 18:25:27 -08:00
vmxnet3
wan net: wan: remove trailing semicolon in macro definition 2020-11-30 18:58:31 -08:00
wireguard
wireless wireless-drivers-next patches for v5.11 2020-12-04 10:56:37 -08:00
xen-netback
Kconfig net: fix spelling mistake "wil" -> "will" in Kconfig 2020-12-05 15:17:19 -08:00
LICENSE.SRC
Makefile
Space.c
bareudp.c bareudp: constify device_type declaration 2020-12-02 18:00:18 -08:00
dummy.c
eql.c
geneve.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-03 15:44:09 -08:00
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c macvlan: Support for high multicast packet rate 2020-12-03 08:21:29 -08:00
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
thunderbolt.c
tun.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-12-04 07:48:12 -08:00
veth.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-12-04 07:48:12 -08:00
virtio_net.c xsk: Propagate napi_id to XDP socket Rx path 2020-12-01 00:09:25 +01:00
vrf.c vrf: handle CONFIG_IPV6 not set for vrf_add_mac_header_if_unset() 2020-12-09 12:00:40 -08:00
vsockmon.c
vxlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-12-03 15:44:09 -08:00
xen-netfront.c xsk: Propagate napi_id to XDP socket Rx path 2020-12-01 00:09:25 +01:00