linux/drivers/net/ethernet/broadcom/bnxt
Sathya Perla e9ecc731a8 bnxt_en: fix dst/src fid for vxlan encap/decap actions
For flows that involve a vxlan encap action, the vxlan sock
interface may be specified as the outgoing interface. The driver
must resolve the outgoing PF interface used by this socket and
use the dst_fid of the PF in the hwrm_cfa_encap_record_alloc cmd.

Similarily for flows that have a vxlan decap action, the
fid of the incoming PF interface must be used as the src_fid in
the hwrm_cfa_decap_filter_alloc cmd.

Fixes: 8c95f773b4 ("bnxt_en: add support for Flower based vxlan encap/decap offload")
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-02 21:25:38 -05:00
..
bnxt_dcb.c bnxt_en: Fix possible corruption in DCB parameters from firmware. 2017-10-14 18:51:51 -07:00
bnxt_dcb.h bnxt_en: Set ETS min_bw parameter for older firmware. 2017-07-24 17:29:58 -07:00
bnxt_devlink.c bnxt_en: add support for Flower based vxlan encap/decap offload 2017-10-28 00:02:45 +09:00
bnxt_devlink.h bnxt: Move generic devlink code to new file 2017-10-21 12:28:39 +01:00
bnxt_ethtool.c bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()' 2017-11-28 10:55:22 -05:00
bnxt_ethtool.h bnxt_en: Add ethtool reset method 2017-10-28 00:02:45 +09:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.8.3.1 2017-10-28 00:02:44 +09:00
bnxt_nvm_defs.h
bnxt_sriov.c bnxt_en: Fix VF resource checking. 2017-10-14 18:51:51 -07:00
bnxt_sriov.h bnxt_en: Update firmware interface spec to 1.7.6.2. 2017-04-05 06:24:26 -07:00
bnxt_tc.c bnxt_en: fix dst/src fid for vxlan encap/decap actions 2017-12-02 21:25:38 -05:00
bnxt_tc.h bnxt_en: alloc tc_info{} struct only when tc flower is enabled 2017-10-28 00:02:45 +09:00
bnxt_ulp.c bnxt_en: Free MSIX vectors when unregistering the device from bnxt_re. 2017-08-23 22:42:42 -07:00
bnxt_ulp.h bnxt_en: Add a callback to inform RDMA driver during PCI shutdown. 2017-05-30 18:14:07 -04:00
bnxt_vfr.c bnxt: delete some unreachable code 2017-11-08 13:30:37 +09:00
bnxt_vfr.h bnxt: Move generic devlink code to new file 2017-10-21 12:28:39 +01:00
bnxt_xdp.c net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
bnxt_xdp.h net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
bnxt.c bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown 2017-12-02 21:25:38 -05:00
bnxt.h bnxt_en: alloc tc_info{} struct only when tc flower is enabled 2017-10-28 00:02:45 +09:00
Makefile bnxt: Move generic devlink code to new file 2017-10-21 12:28:39 +01:00