/***************************************************************************** * * SkGeSetTxCsum - set the TxCsum parameters * * Description: * This function sets the TxCsum parameters * * Returns: * ==0: everything fine, no error * !=0: the return value is the error code of the failure */ int SkGeSetTxCsum(struct net_device *dev, u32 data) { DEV_NET *pNet = (DEV_NET*)netdev_priv(dev); SK_AC *pAC = pNet->pAC; if (pAC->GIni.GIGenesis) return -EOPNOTSUPP; return ethtool_op_set_tx_csum(dev, data); }
/***************************************************************************** * * SkGeSetTxCsum - set the TxCsum parameters * * Description: * This function sets the TxCsum parameters * * Returns: * ==0: everything fine, no error * !=0: the return value is the error code of the failure */ int SkGeSetTxCsum(struct net_device *dev, u32 data) { return ethtool_op_set_tx_csum(dev, data); }