Florian Fainelli
a86d8becc3
net: dsa: Factor bottom tag receive functions
...
All DSA tag receive functions do strictly the same thing after they have located
the originating source port from their tag specific protocol:
- push ETH_HLEN bytes
- set pkt_type to PACKET_HOST
- call eth_type_trans()
- bump up counters
- call netif_receive_skb()
Factor all of that into dsa_switch_rcv(). This also makes us return a pointer to
a sk_buff, which makes us symetric with the xmit function.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-08 13:49:36 -07:00
..
2017-01-22 16:46:13 -05:00
2017-03-03 21:44:35 -08:00
2016-12-24 11:46:01 -08:00
2017-03-21 15:26:26 -07:00
2017-02-27 18:43:47 -08:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 14:37:50 -07:00
2017-03-09 18:23:27 -08:00
2017-04-01 12:45:57 -07:00
2017-03-28 22:46:04 -07:00
2017-03-02 08:42:29 +01:00
2017-04-04 17:35:58 +02:00
2017-03-23 12:03:36 +01:00
2017-04-08 08:07:01 -07:00
2017-03-13 22:00:42 -07:00
2017-03-15 11:59:10 -07:00
2017-03-03 10:16:38 -08:00
2017-04-08 13:49:36 -07:00
2017-02-16 21:25:49 -05:00
2017-02-21 13:25:22 -05:00
2017-02-27 18:43:47 -08:00
2017-02-03 15:16:45 -05:00
2017-04-07 07:56:14 -07:00
2017-03-28 22:32:42 -07:00
2016-12-25 17:21:22 +01:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-24 13:13:53 -07:00
2017-04-06 13:43:31 -07:00
2016-12-24 11:46:01 -08:00
2017-03-09 18:23:27 -08:00
2017-03-29 14:20:40 +02:00
2017-03-30 11:05:34 -07:00
2017-04-01 20:21:44 -07:00
2017-04-06 08:24:51 -07:00
2017-01-06 22:20:45 -05:00
2017-04-05 07:13:56 -07:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-04-06 08:24:51 -07:00
2017-03-30 11:04:00 -07:00
2017-03-09 18:23:27 -08:00
2017-01-24 13:44:28 -05:00
2017-03-28 17:58:07 -07:00
2017-04-02 19:41:00 -07:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-04-06 11:10:41 +01:00
2017-04-05 06:53:42 -07:00
2017-04-06 08:24:51 -07:00
2017-03-30 11:05:34 -07:00
2017-03-03 20:43:26 -08:00
2017-04-01 10:43:37 -07:00
2017-03-29 14:10:11 -07:00
2017-04-06 12:43:04 -07:00
2017-03-30 11:07:08 -07:00
2017-03-29 09:11:29 +02:00
2017-03-09 18:23:27 -08:00
2017-03-29 13:26:22 -07:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-04-01 12:45:57 -07:00
2017-04-06 13:43:31 -07:00