summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_lwt_ip_encap.sh
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-09-16 10:04:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-09-16 09:22:24 +0200
commit5f109d45a4768a4bf8b5d6a8f305039bcd4f3e87 (patch)
tree205eddc631f267cf895512125419531654583721 /tools/testing/selftests/bpf/test_lwt_ip_encap.sh
parent95cf66747fc29e6be457e938f89d13e25cea8da3 (diff)
net: stmmac: socfpga: re-use the `interface` parameter from platform data
The socfpga sub-driver defines an `interface` field in the `socfpga_dwmac` struct and parses it on init. The shared `stmmac_probe_config_dt()` function also parses this from the device-tree and makes it available on the returned `plat_data` (which is the same data available via `netdev_priv()`). All that's needed now is to dig that information out, via some `dev_get_drvdata()` && `netdev_priv()` calls and re-use it. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_lwt_ip_encap.sh')
0 files changed, 0 insertions, 0 deletions