Loading drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h +0 −9 Original line number Diff line number Diff line Loading @@ -139,15 +139,6 @@ static inline bool mlx5e_accel_tx_begin(struct net_device *dev, return true; } static inline bool mlx5e_accel_tx_is_ipsec_flow(struct mlx5e_accel_tx_state *state) { #ifdef CONFIG_MLX5_EN_IPSEC return mlx5e_ipsec_is_tx_flow(&state->ipsec); #else return false; #endif } static inline unsigned int mlx5e_accel_tx_ids_len(struct mlx5e_txqsq *sq, struct mlx5e_accel_tx_state *state) { Loading drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.h +0 −7 Original line number Diff line number Diff line Loading @@ -92,13 +92,6 @@ mlx5_hv_vhca_agent_create(struct mlx5_hv_vhca *hv_vhca, static inline void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent) { } static inline int mlx5_hv_vhca_write_agent(struct mlx5_hv_vhca_agent *agent, void *buf, int len) { return 0; } #endif #endif /* __LIB_HV_VHCA_H__ */ include/linux/mlx5/driver.h +0 −10 Original line number Diff line number Diff line Loading @@ -863,20 +863,10 @@ struct mlx5_hca_vport_context { bool grh_required; }; static inline void *mlx5_buf_offset(struct mlx5_frag_buf *buf, int offset) { return buf->frags->buf + offset; } #define STRUCT_FIELD(header, field) \ .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ .struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) { return pci_get_drvdata(pdev); } extern struct dentry *mlx5_debugfs_root; static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) Loading Loading
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h +0 −9 Original line number Diff line number Diff line Loading @@ -139,15 +139,6 @@ static inline bool mlx5e_accel_tx_begin(struct net_device *dev, return true; } static inline bool mlx5e_accel_tx_is_ipsec_flow(struct mlx5e_accel_tx_state *state) { #ifdef CONFIG_MLX5_EN_IPSEC return mlx5e_ipsec_is_tx_flow(&state->ipsec); #else return false; #endif } static inline unsigned int mlx5e_accel_tx_ids_len(struct mlx5e_txqsq *sq, struct mlx5e_accel_tx_state *state) { Loading
drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.h +0 −7 Original line number Diff line number Diff line Loading @@ -92,13 +92,6 @@ mlx5_hv_vhca_agent_create(struct mlx5_hv_vhca *hv_vhca, static inline void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent) { } static inline int mlx5_hv_vhca_write_agent(struct mlx5_hv_vhca_agent *agent, void *buf, int len) { return 0; } #endif #endif /* __LIB_HV_VHCA_H__ */
include/linux/mlx5/driver.h +0 −10 Original line number Diff line number Diff line Loading @@ -863,20 +863,10 @@ struct mlx5_hca_vport_context { bool grh_required; }; static inline void *mlx5_buf_offset(struct mlx5_frag_buf *buf, int offset) { return buf->frags->buf + offset; } #define STRUCT_FIELD(header, field) \ .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ .struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) { return pci_get_drvdata(pdev); } extern struct dentry *mlx5_debugfs_root; static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) Loading