Petr Machata bb89680561 staging: fsl-dpaa2: ethsw: Introduce ethsw_port_dev_check()
ethsw currently uses an open-coded comparison of netdev_ops to determine
whether whether a device represents a front panel port. Wrap this into a
named function to simplify reuse.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-23 18:02:24 -08:00
..
2018-11-18 12:21:09 -08:00
2018-11-01 18:34:46 -07:00
2018-11-16 09:31:59 -06:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-25 06:50:48 -07:00
2018-10-16 11:13:50 +02:00
2018-10-25 06:50:48 -07:00
2018-10-11 12:12:55 +02:00
2018-11-09 17:56:44 +01:00
2018-10-29 10:38:10 -07:00
2018-10-31 08:54:16 -07:00
2018-11-08 17:49:04 -06:00
2018-11-02 11:25:48 -07:00
2018-10-31 10:53:29 -07:00
2018-10-31 16:47:55 -07:00
2018-10-25 06:31:56 -07:00
2018-11-09 16:31:51 -06:00
2018-11-09 16:41:58 -06:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-10-26 08:14:13 -07:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-10-31 08:54:16 -07:00
2018-10-25 06:19:15 -07:00
2018-10-11 09:16:44 -07:00
2018-11-10 13:32:14 -06:00
2018-10-31 11:01:38 -07:00
2018-10-31 11:41:37 -07:00
2018-11-10 08:58:48 -06:00