ontent='cgit v1.2.3-54-g00ecf'/> <meta name='robots' content='noindex, nofollow'/> <link rel='stylesheet' type='text/css' href='/cgit.css'/> <script type='text/javascript' src='/cgit.js'></script> <link rel='shortcut icon' href='http://distanz.ch/favicon.ico'/> <link rel='alternate' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/tools/arch/mips/include/asm/barrier.h?h=master' type='application/atom+xml'/> <link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/> <link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='2946fde9fd7f6c38beaaf581514b706d07c7aec0'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include/asm/barrier.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/arch/mips/include/asm/barrier.h?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/arch/mips/include/asm/barrier.h?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/arch/mips/include/asm/barrier.h?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include/asm/barrier.h'> <input type='hidden' name='id' value='2946fde9fd7f6c38beaaf581514b706d07c7aec0'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/arch?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>arch</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>mips</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include/asm?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>asm</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include/asm/barrier.h?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0'>barrier.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/arch/mips/include/asm/barrier.h?id=2946fde9fd7f6c38beaaf581514b706d07c7aec0&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> 'commit-info'> <tr><th>author</th><td>John Fastabend <john.fastabend@gmail.com></td><td class='right'>2017-02-02 19:15:01 -0800</td></tr> <tr><th>committer</th><td>David S. Miller <davem@davemloft.net></td><td class='right'>2017-02-07 10:05:11 -0500</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9'>0354e4d19cd5de51d6096a07ba44eda0ee61a6e9</a> (<a href='/cgit.cgi/linux/net-next.git/patch/?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9'>24dd608b4581c431e471a5365c49c831cbefd16d</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/?id=473153291b8a131c86787fd9b076a529573e2c19'>473153291b8a131c86787fd9b076a529573e2c19</a> (<a href='/cgit.cgi/linux/net-next.git/diff/?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9&id2=473153291b8a131c86787fd9b076a529573e2c19'>diff</a>)</td></tr></table> <div class='commit-subject'>virtio_net: factor out xdp handler for readability</div><div class='commit-msg'>At this point the do_xdp_prog is mostly if/else branches handling the different modes of virtio_net. So remove it and handle running the program in the per mode handlers. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9'>Diffstat</a></div><table summary='diffstat' class='diffstat'><tr><td class='mode'>-rw-r--r--</td><td class='upd'><a href='/cgit.cgi/linux/net-next.git/diff/drivers/net/virtio_net.c?id=0354e4d19cd5de51d6096a07ba44eda0ee61a6e9'>drivers/net/virtio_net.c</a></td><td class='right'>86</td><td class='graph'><table summary='file diffstat' width='86%'><tr><td class='add' style='width: 40.7%;'/><td class='rem' style='width: 59.3%;'/><td class='none' style='width: 0.0%;'/></tr></table></td></tr> </table><div class='diffstat-summary'>1 files changed, 35 insertions, 51 deletions</div><table summary='diff' class='diff'><tr><td><div class='head'>diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c