diff options
author | Vasundhara Volam <[email protected]> | 2020-01-27 04:56:22 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-27 11:33:28 +0100 |
commit | cda2cab0771183932d6ba73c5ac63bb63decdadf (patch) | |
tree | f1c181211bd04c43760ab36fadcd030cb8d56bac /scripts/bpf_helpers_doc.py | |
parent | 002870ebdabb75809d753e3c171c68c4e70a0e91 (diff) |
bnxt_en: Move devlink_register before registering netdev
Latest kernels get the phys_port_name via devlink, if
ndo_get_phys_port_name is not defined. To provide the phys_port_name
correctly, register devlink before registering netdev.
Also call devlink_port_type_eth_set() after registering netdev as
devlink port updates the netdev structure and notifies user.
Cc: Jiri Pirko <[email protected]>
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions