Home
last modified time | relevance | path

Searched defs:mtu (Results 1 – 25 of 176) sorted by relevance

12345678

/drivers/infiniband/sw/rxe/
Drxe.c302 enum ib_mtu mtu; in rxe_set_mtu() local
319 int rxe_add(struct rxe_dev *rxe, unsigned int mtu) in rxe_add()
Drxe_param.h37 static inline enum ib_mtu rxe_mtu_int_to_enum(int mtu) in rxe_mtu_int_to_enum()
54 static inline enum ib_mtu eth_mtu_int_to_enum(int mtu) in eth_mtu_int_to_enum()
Drxe_resp.c426 int mtu = qp->mtu; in check_rkey() local
657 int mtu = qp->mtu; in read_reply() local
Drxe_qp.c467 enum ib_mtu mtu = attr->path_mtu; in rxe_qp_chk_attr() local
/drivers/clocksource/
Dsh_mtu2.c37 struct sh_mtu2_device *mtu; member
340 struct sh_mtu2_device *mtu) in sh_mtu2_setup_channel()
373 static int sh_mtu2_map_memory(struct sh_mtu2_device *mtu) in sh_mtu2_map_memory()
390 static int sh_mtu2_setup(struct sh_mtu2_device *mtu, in sh_mtu2_setup()
450 struct sh_mtu2_device *mtu = platform_get_drvdata(pdev); in sh_mtu2_probe() local
/drivers/infiniband/hw/hfi1/
Dqp.c210 static inline int opa_mtu_enum_to_int(int mtu) in opa_mtu_enum_to_int()
224 static inline int verbs_mtu_enum_to_int(struct ib_device *dev, enum ib_mtu mtu) in verbs_mtu_enum_to_int()
911 int mtu_to_path_mtu(u32 mtu) in mtu_to_path_mtu()
918 u32 mtu; in mtu_from_qp() local
941 int mtu, pidx = qp->port_num - 1; in get_pmtu_from_attr() local
/drivers/infiniband/hw/qib/
Dqib_qp.c303 static int mtu_to_enum(u32 mtu) in mtu_to_enum()
332 int mtu, pmtu, pidx = qp->port_num - 1; in qib_get_pmtu_from_attr() local
347 int qib_mtu_to_path_mtu(u32 mtu) in qib_mtu_to_path_mtu()
/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c139 static int stmmac_set_16kib_bfsize(int mtu) in stmmac_set_16kib_bfsize()
Ddwmac100_core.c35 static void dwmac100_core_init(struct mac_device_info *hw, int mtu) in dwmac100_core_init()
Ddwmac4_core.c23 static void dwmac4_core_init(struct mac_device_info *hw, int mtu) in dwmac4_core_init()
/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c337 static int rx_fifo_hwm(int mtu) in rx_fifo_hwm()
345 int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu) in t3_mac_set_mtu()
/drivers/infiniband/hw/usnic/
Dusnic_fwd.h57 unsigned int mtu; member
Dusnic_fwd.c150 void usnic_fwd_set_mtu(struct usnic_fwd_dev *ufdev, unsigned int mtu) in usnic_fwd_set_mtu()
/drivers/net/ethernet/cisco/enic/
Dvnic_enet.h28 u16 mtu; member
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.h65 cxgb_best_mtu(const unsigned short *mtus, unsigned short mtu, in cxgb_best_mtu()
/drivers/net/slip/
Dslip.c129 static int sl_alloc_bufs(struct slip *sl, int mtu) in sl_alloc_bufs()
220 static int sl_realloc_bufs(struct slip *sl, int mtu)
Dslip.h69 int mtu; /* Our mtu (to spot changes!) */ member
/drivers/infiniband/hw/hns/
Dhns_roce_main.c138 static void hns_roce_set_mtu(struct hns_roce_dev *hr_dev, u8 port, int mtu) in hns_roce_set_mtu()
400 enum ib_mtu mtu; in hns_roce_query_port() local
/drivers/net/ethernet/ibm/emac/
Dcore.h63 static inline int emac_rx_size(int mtu) in emac_rx_size()
77 static inline int emac_rx_skb_size(int mtu) in emac_rx_skb_size()
84 static inline int emac_rx_sync_size(int mtu) in emac_rx_sync_size()
/drivers/net/fjes/
Dfjes_hw.c154 void fjes_hw_setup_epbuf(struct epbuf_handler *epbh, u8 *mac_addr, u32 mtu) in fjes_hw_setup_epbuf()
818 bool fjes_hw_check_mtu(struct epbuf_handler *epbh, u32 mtu) in fjes_hw_check_mtu()
Dfjes_hw.h76 #define FJES_MTU_TO_BUFFER_SIZE(mtu) \ argument
78 #define FJES_MTU_TO_FRAME_SIZE(mtu) \ argument
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c308 static int mlxsw_sp_span_mtu_to_buffsize(int mtu) in mlxsw_sp_span_mtu_to_buffsize()
313 static int mlxsw_sp_span_port_mtu_update(struct mlxsw_sp_port *port, u16 mtu) in mlxsw_sp_span_port_mtu_update()
506 static int mlxsw_sp_port_mtu_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 mtu) in mlxsw_sp_port_mtu_set()
740 static void mlxsw_sp_pg_buf_pack(char *pbmc_pl, int pg_index, int mtu, in mlxsw_sp_pg_buf_pack()
755 int __mlxsw_sp_port_headroom_set(struct mlxsw_sp_port *mlxsw_sp_port, int mtu, in __mlxsw_sp_port_headroom_set()
791 int mtu, bool pause_en) in mlxsw_sp_port_headroom_set()
805 static int mlxsw_sp_port_change_mtu(struct net_device *dev, int mtu) in mlxsw_sp_port_change_mtu()
3631 const char *mac, int mtu) in mlxsw_sp_rif_edit()
/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c209 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu) in mlx5_query_nic_vport_mtu()
229 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu) in mlx5_modify_nic_vport_mtu()
/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c44 int buf_num, enum hns_desc_type type, int mtu) in fill_v2_desc()
144 int buf_num, enum hns_desc_type type, int mtu) in fill_desc()
279 int buf_num, enum hns_desc_type type, int mtu) in fill_tso_desc()
/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1414 unsigned mtu = priv->mcast_mtu; in ipoib_cm_skb_reap() local
1440 unsigned int mtu) in ipoib_cm_skb_too_long()

12345678