linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Jiri Pirko 3b734ff604 nfp: flower: fix error path during representor creation
Don't store repr pointer to reprs array until the representor is
successfully created. This avoids message about "representor
destruction" even when it was never created. Also it cleans-up the flow.
Also, check return value after port alloc.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-17 16:23:29 -04:00
..
bpf nfp: bpf: support setting the RX queue index 2018-05-09 18:04:37 +02:00
flower nfp: flower: fix error path during representor creation 2018-05-17 16:23:29 -04:00
nfpcore nfp: print PCIe link bandwidth on probe 2018-04-25 14:07:04 -04:00
nic nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
Makefile nfp: add TLV capabilities to the BAR 2018-01-19 15:44:18 -05:00
nfp_app_nic.c nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_app.c nfp: bpf: record offload neutral maps in the driver 2018-05-04 23:41:03 +02:00
nfp_app.h nfp: modify app MTU setting callbacks 2018-03-30 10:18:54 -04:00
nfp_asm.c nfp: bpf: add support for atomic add of unknown values 2018-03-28 19:36:14 -07:00
nfp_asm.h nfp: bpf: support setting the RX queue index 2018-05-09 18:04:37 +02:00
nfp_devlink.c nfp: register devlink after app is created 2018-01-19 15:44:18 -05:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: reset local locks on init 2018-04-25 14:07:04 -04:00
nfp_main.h nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_net_common.c bpf: make netronome nfp compatible w/ bpf_xdp_adjust_tail 2018-04-18 23:34:16 +02:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: standardize FW header whitespace 2018-02-16 16:24:24 -05:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
nfp_net_ethtool.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_main.c nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_net_repr.c nfp: flower: fix error path during representor creation 2018-05-17 16:23:29 -04:00
nfp_net_repr.h nfp: flower: fix error path during representor creation 2018-05-17 16:23:29 -04:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net.h nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_netvf_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_port.c nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_port.h nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00