{"push_id":2954933307,"size":9,"distinct_size":9,"ref":"refs/heads/l2_rework","head":"a5114c3114d882227434fc1ddbf7e9a6bb9c087a","before":"d591f50f26a485984d82925581a3d1ba745a6d0c","commits":[{"sha":"f0a9e55513b248aa76887ee51c0c066447d82ec6","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/ethernet: Centralize where and when header is filled in\n\nCurrent code generating Ethernet header is scattered all over the place,\nsometimes in functions that are supposed to check something (and not\nfilling the header). Not to say about innefficiency.\n\nSrc ll address does not need to be set in L2 as net_if.c handles that\nalready.\n\nBroadcast dst ll address is the same in ipv4 or ipv6, thus factorizing.\nIn each case, multicast is filled in only at the relevant place.\n\nThis is the first step towards changing L2 sending logic, when L2 send\nAPI function will be the only point of sending. The redirection from\ndriver to L2 again (which finally uses the right device API function to\nsend) it a temporary hack.\n\nThis simplifies the code but will also enable using statically\nallocated net_buf and ethernet header payload buffer afterwards.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/f0a9e55513b248aa76887ee51c0c066447d82ec6"},{"sha":"a7b2327d2f4ec14e902772752a29311a4f71abc5","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/ethernet: Move sending to a one-pass logic\n\nCurrently, first part is done in L2's send, then the next one in\nethernet device driver net_if send function. That last one was already\nmoved to a L2 based implementation. Let's just move forward and place\nthe whole logic of the L2's send in that second function.\n\nThis is the first step, ethernet centric only, to move towards a\none-pass sending logic in net stack. In future, net_if's send will\ndisappear.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/a7b2327d2f4ec14e902772752a29311a4f71abc5"},{"sha":"0637ed2ef8315a71022f2a6559150ed9099e8717","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/arp: ARP packet can be queued right away\n\nNow that sending is done at last time, in one pass, no need to go\nthrough net_if_send_data here.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/0637ed2ef8315a71022f2a6559150ed9099e8717"},{"sha":"3f45076b367358d2623715b34f0a58c66486c366","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/iface: Switch fully to a one-pass sending logic in net_if\n\nNow instead of such path:\n\nnet_if_send_data -> L2's send -> net_if tx_queue -> net_if_tx -> driver\nnet_if's send\n\nIt will be:\n\nnet_if_send_data -> net_if tx_queue -> net_if_tx -> L2's send -> driver\nnet_if's send\n\nOnly Ethernet is adapted, but 15.4 and bt will follow up.\nAll Ethernet drivers are made compatible with that new scheme also.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/3f45076b367358d2623715b34f0a58c66486c366"},{"sha":"b8e581bba2122dcab136500868cbc378c656200a","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/dummy: Switch to L2 sending path\n\nAnd adapt loopback and slip drivers relevantly\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/b8e581bba2122dcab136500868cbc378c656200a"},{"sha":"5bbba63f89514be3f5d46a88397264faf7095f01","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/ieee802154: Switch to L2 sending path\n\nAs for Ethernet, up to ieee802154 L2's send to actually sent the packet.\nIt's currently unoptimized as 6lo compression, 15.4 fragmentation and so\non will reallocate net_buf etc... but it's the first step towards\nremoving ll reserve space and more.\n\nApplying changes to Openthread L2 as well.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/5bbba63f89514be3f5d46a88397264faf7095f01"},{"sha":"e23dfc6ea60d6b0eef4547217e8e41e162eb4357","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/bluetooth: Switch to L2 sending path\n\nThis is a much more trivial move than in Ethernet or ieee802154 L2s.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/e23dfc6ea60d6b0eef4547217e8e41e162eb4357"},{"sha":"eb4cb78f860c73f2679a31cc9708506e718752a0","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"tests/net: Apply L2 change everywhere where relevant\n\nMany tests use either Ethernet or Dummy L2 and as such require\nmodifications towards the driver API on their fake devices.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/eb4cb78f860c73f2679a31cc9708506e718752a0"},{"sha":"a5114c3114d882227434fc1ddbf7e9a6bb9c087a","author":{"name":"Tomasz Bursztyka","email":"ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com"},"message":"net/iface: Finally remove the send function from net_if_api\n\nAnd apply that to modem driver setting that pointer to NULL.\n\nSigned-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/tbursztyka/zephyr/commits/a5114c3114d882227434fc1ddbf7e9a6bb9c087a"}]}
{"actor":{"display_login":"tbursztyka"}}