summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim/bus.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-08-06 10:26:55 +0100
committerDavid S. Miller <davem@davemloft.net>2021-08-06 10:26:55 +0100
commita5516053cd442f58929590349809ca0b6f154fdb (patch)
tree612beb2605dd8cd3264bd682b0782a0031ec3cc6 /drivers/net/netdevsim/bus.c
parent0ca8d3ca4561535f97b31e7b8de569c69bc3b27b (diff)
parent9ffc513f95eea67bbdee615637c24d131a2b3186 (diff)
Merge branch 'cpsw-emac-skb_put_padto'
Grygorii Strashko says: ==================== net: ethernet: ti: cpsw/emac: switch to use skb_put_padto() Now frame padding in TI TI CPSW/EMAC is implemented in a bit of entangled way as frame SKB padded in drivers (without skb->len) while frame length fixed in CPDMA. Things became even more confusing hence CPSW switcdev driver need to perform min TX frame length correction in switch mode [1]. To avoid further confusion, make xmit path more clear and linear, and avoid updating CPDMA configuration interface for min TX frame length correction (which is not CPDMA job in general) this series switches TI CPSW/EMAC drivers to skb_put_padto() instead of skb_padto() in their xmit path, so skb->len also got updated properly and then removes TX frame length fixup from CPDMA code. [1] https://patchwork.kernel.org/project/netdevbpf/patch/20210611132732.10690-1-grygorii.strashko@ti.com/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/bus.c')
0 files changed, 0 insertions, 0 deletions