{"push_id":1896778453,"size":1,"distinct_size":1,"ref":"refs/heads/sta72","head":"045793501e073c43b3539dca1a3020ae0c5e7832","before":"912e7c2ed6f2677877c5521e2af01a46442f0b7b","commits":[{"sha":"045793501e073c43b3539dca1a3020ae0c5e7832","author":{"name":"Pavel Kubelun","email":"eddd2ec1dd26fd58ae129bc331217825fae52018@gmail.com"},"message":"package: add Shortcut Forwarding Engine driver\n\nAdd an opensource Qualcomm Shortcut FE driver.\n\nThe driver consists of:\n- sfe (core modules): shortcut-fe (ipv4) and shortcut-fe-ipv6 -\nmodules that actually do the offloading\n- shortcut-fe-cm - simple shortcut-fe connection manager - a\nmodule that creates offloading rules and passes to sfe\n- fast-classifier - advanced connection manager - a module that\ncreates offloading rules and passes to sfe. Comparing to sfe-cm\nhas additional checks, connection statistics and creates an\noffloading rule only when a connection hits 128 packets flowed\n(can be adjusted through /sys/fast_classifier/offload_at_pkts)\n- userspace-fast-classifier - a fast-classifier user-space tool\nto manually add connections one want to offload\nBoth sfe-cm and fast-classifier get information about connections\nthrough netfilter. And after some checks it creates an offloading\nrule that is passed to sfe. After that sfe marks a connection as\nfast-forwarded and routes the flow.\n\nKernel parses this mark and bypasses its network stack taps for\na specific connection in favor of sfe.\n\nthere are 3 patches added with this commit:\n950 - adds a hook into network stack, sets no tcp window check\nto 0 (according to sfe readme).\n951 - because fast-classifier also supports bridge offloading\n(echo 1 > /sys/fast_classifier/skip_to_bridge_ingress) and\noffloaded connections do not naturally update bridge statistics,\nfast-classifier will do that.\n952 - allow multiple listeners for conntrack events, it is\nrequied for netlink and sfe coexistance (for example)\n\nAll these patches are filled with ifdefs so the sfe code path\nis engaged only when these modules are compiled. It allows to\nkeep kernel code untouched in case of no sfe compiled in.\n\nBecause sfe-cm and fast-classifier are competing modules, It's\nrecommended to keep loaded only one of them. If both are loaded\nthen in a race condition sfe-cm always comes first.\n\nThe driver is a merger of\nhttps://source.codeaurora.org/quic/qsdk/oss/lklm/shortcut-fe/log/?h=release/endive_cc\nwith\nhttps://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.18/drivers/net/ethernet/qualcomm/sfe/\n\nI've also added missing function to update udp statistics by\nfast-classifier and some more small fixes.\n\nPatches are taken from QSDK and that chromeos-3.18 repo and a bit\nadjusted.\n\nSigned-off-by: Pavel Kubelun <be.dissent@gmail.com>","distinct":true,"url":"https://api.github.com/repos/dissent1/r7800/commits/045793501e073c43b3539dca1a3020ae0c5e7832"}]}
{"actor":{"display_login":"dissent1"}}