diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-14 20:08:45 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-03-19 10:47:47 +0100 |
commit | f6e0a4984c2e7244689ea87b62b433bed9d07e94 (patch) | |
tree | 7bed2f63a9f81721d74ca16d13c7c27ddf877906 /drivers/net/wireguard | |
parent | 35c3e27917568192927c785fc380f139255468b4 (diff) |
net: move dev->state into net_device_read_txrx group
dev->state can be read in rx and tx fast paths.
netif_running() which needs dev->state is called from
- enqueue_to_backlog() [RX path]
- __dev_direct_xmit() [TX path]
Fixes: 43a71cd66b9c ("net-device: reorganize net_device fast path variables")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Coco Li <lixiaoyan@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240314200845.3050179-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/wireguard')
0 files changed, 0 insertions, 0 deletions