aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2024-06-20 15:53:41 +0200
committerTony Nguyen <[email protected]>2024-07-10 10:41:06 -0700
commit14f662b43bf8c765114f73d184af2702b2280436 (patch)
treee9ed7354b125a7d0478882449fbac02156f80234 /drivers/usb/cdns3/cdns3-debug.h
parent5a816aae2d463d74882e21672ac5366573b0c511 (diff)
idpf: merge singleq and splitq &net_device_ops
It makes no sense to have a second &net_device_ops struct (800 bytes of rodata) with only one difference in .ndo_start_xmit, which can easily be just one `if`. This `if` is a drop in the ocean and you won't see any difference. Define unified idpf_xmit_start(). The preparation for sending is the same, just call either idpf_tx_splitq_frame() or idpf_tx_singleq_frame() depending on the active model to actually map and send the skb. Reviewed-by: Przemek Kitszel <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Alexander Lobakin <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions