History

Merge tag 'mlx5-updates-2017-01-24' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux

Saeed Mahameed says: ==================== mlx5-updates-2017-24-01 The first seven patches from Or Gerlitz in this series further enhances the mlx5 SRIOV switchdev mode to support offloading IPv6 tunnels using the TC tunnel key set (encap) and unset (decap) actions. Or Gerlitz says: ======================== As part of doing this change, few cleanups are done in the IPv4 code, later we move to use the full tunnel key info provided to the driver as the key for our internal hashing which is used to identify cases where the same tunnel is used for encapsulating multiple flows. As done in the IPv4 case, the control path for offloading IPv6 tunnels uses route/neigh lookups and construction of the IPv6 tunnel headers on the encap path and matching on the outer hears in the decap path. The last patch of the series enlarges the HW FDB size for the switchdev mode, so it has now room to contain offloaded flows as many as min(max number of HW flow counters supported, max HW table size supported). ======================== Next to Or's series you can find several patches handling several topics. From Mohamad, add support for SRIOV VF min rate guarantee by using the TSAR BW share weights mechanism. From Or, Two patches to enable Eth VFs to query their min-inline value for user-space. for that we move a mlx5 low level min inline helper function from mlx5 ethernet driver into the core driver and then use it in mlx5_ib to expose the inline mode to rdma applications through libmlx5. From Kamal Heib, Reduce memory consumption on kdump kernel. From Shaker Daibes, code reuse in CQE compression control logic ====================

David S. Miller committed 9 years ago

Commit 716dcae2 parents a08ef47 5eb024915 files · +389 −120Browse files

Showing the changes to include/uapi (1 of 15 files). Show all

Unified · Split

include/uapi/rdma/mlx5-abi.h+13−1
@@ -90,6 +90,17 @@ enum mlx5_user_cmds_supp_uhw { · 89 unmodified lines
90 MLX5_USER_CMDS_SUPP_UHW_CREATE_AH = 1 << 1,90 MLX5_USER_CMDS_SUPP_UHW_CREATE_AH = 1 << 1,
91};91};
92 92
93/* The eth_min_inline response value is set to off-by-one vs the FW
94 * returned value to allow user-space to deal with older kernels.
95 */
96enum mlx5_user_inline_mode {
97 MLX5_USER_INLINE_MODE_NA,
98 MLX5_USER_INLINE_MODE_NONE,
99 MLX5_USER_INLINE_MODE_L2,
100 MLX5_USER_INLINE_MODE_IP,
101 MLX5_USER_INLINE_MODE_TCP_UDP,
102};
103
93struct mlx5_ib_alloc_ucontext_resp {104struct mlx5_ib_alloc_ucontext_resp {
94 __u32 qp_tab_size;105 __u32 qp_tab_size;
95 __u32 bf_reg_size;106 __u32 bf_reg_size;
@@ -106,7 +117,8 @@ struct mlx5_ib_alloc_ucontext_resp { · 10 unmodified lines
106 __u32 response_length;117 __u32 response_length;
107 __u8 cqe_version;118 __u8 cqe_version;
108 __u8 cmds_supp_uhw;119 __u8 cmds_supp_uhw;
109 __u16 reserved2;120 __u8 eth_min_inline;
121 __u8 reserved2;
110 __u64 hca_core_clock_offset;122 __u64 hca_core_clock_offset;
111 __u32 log_uar_size;123 __u32 log_uar_size;
112 __u32 num_uars_per_page;124 __u32 num_uars_per_page;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t